fyhertz / libstreaming-examples

Some examples of how to use libstreaming
283 stars 231 forks source link

Connection lost when i start live streaming video #47

Open Fenilsmiley opened 5 years ago

Fenilsmiley commented 5 years ago

i used this library but when i start video come error connection lost (java.net.socketexception) , and response give 401 Unauthorization,

URL: rtsp://139.59.33.206:1937/mystream/live

following line was request sent: SETUP rtsp://139.59.33.206:1937/mystream/live/trackID=0 RTSP/1.0 Transport: RTP/AVP/UDP;unicast;client_port=5000-5001;mode=receive CSeq: 3 Content-Length: 0 Session: 2 Authorization: Digest username="i2ilive",realm="Nimble/3.2.8-2",nonce="Kp2NDMWyztggH7CMlQkwH8bKg5P6d0ZO",uri="rtsp://139.59.33.206:1937/mystream/live",response="2eadba8f27e7e689cee7e0c415f23566"

any solution?