Android Question why my RTSP app must connect to a computer by usb? if disconncet app will stop .

hears

Active Member
Licensed User
Longtime User
i have wrapped a lib for screen stream by android Mediaprojection and Rtsp server.
it is working now. but must always connect to competer by usb.
if disconnect from computer. this app only working about 40 second.
 
Last edited:

DonManfred

Expert
Licensed User
Longtime User
Compile and run the app in Release-Mode
 
Upvote 0

hears

Active Member
Licensed User
Longtime User
here is screen RTSP lib and app. this app will listen on 9000 Port.

when you connet to wifi. use VLC player open rtsp://YOUIPADDRESS:9000 ,you will get screen video stream.

now have a bug:
your phone must conntect to a computer by usb.if didnot conneted ,the app video will stop streaming in 20 secends.
,if the computer didn't in windows system ,the app working fine too.
 
Last edited:
Upvote 0

hears

Active Member
Licensed User
Longtime User
Compile and run the app in Release-Mode
it is have in realse mode , must connet a computer too.
i have upload my app and lib . it is very strange bug.
 
Upvote 0
Top