[Android] Issue with opening RTSP stream with username and password

Paulo Vitor Magacho da Silva pvmagacho at gmail.com
Fri Nov 7 19:24:07 CET 2014


Hi,

I have a video URL with the following structure (ip omitted for security
reasons):

rtsp://user:1234@XXX.XXX.XXX.XXX:554/media/Live/1

But, from time to time, I get the following error:

11-07 16:44:07.789: D/VLC(1458): core access: net: connecting to user port
1234
11-07 16:44:07.793: E/VLC(1458): core access: cannot resolve user port 1234
: No address associated with hostname
11-07 16:44:07.793: E/VLC(1458): access_realrtsp access: cannot connect to
user:1234
11-07 16:44:07.793: E/VLC(1458): core access: Connection failed
11-07 16:44:07.793: E/VLC(1458): core access: VLC could not connect to
"user:1234".

It seems that VLC thinks user is the ip and port is 1234. But, if I try for
a second time it works fine. Anyone seen this as well?

Thanks,
Paulo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/android/attachments/20141107/6b148abb/attachment.html>


More information about the Android mailing list