Bad URI If RTSP is authenticated or secured with username and password

lalit

New Member
I want to display rtsp stream to my webpage. It is working fine if the stream is not secured for example rtsp://192.168.11.11:554/stream1/channel1 but if for some camera stream is secured or protected for example
rtsp://admin:admin@192.168.11.11/stream1/channel1
" it is showing bad URI "

Can anyone help why this error occurs if rtsp stream URL has username and password ?
 
Hello
What is your server version?
Could you please provide a screenshot?
URLs with authentication should work:
Code:
rtsp://admin:admin@192.168.11.11/stream1/channel1
Make sure your URL works in VLC player.
If it works, please send us this URL to support@flashphoner.com
We will check.
 
server version is 5.0.3406
in vlc it is running fine
since the url is In Local Network I can't send the URL to support
 
Last edited:
I have sent flashphoner.properties file to support@flashphoner.com
Hope they provide me support for this ?

Last lines are :
rtsp_interleaved_mode=true
disable_streaming_proxy=true
rtsp_fail_on_error_track=false
rtsp_force_synchronization=true
 
Hello
We need direct RTSP url or testing.
You can try to open single port 554. Then we will be able to check your stream.
As an option you can make pcap file on WCS host.
Code:
tcpdump -s 4096 -w log.pcap
Please send this file to support@flashphoner.com
We will check
 
Hello
You should not use symbol '@' in username or password because this symbol is reserved and used for splitting credentials and host name.
Correct URL
Code:
rtsp://admin:admin@192.168.11.11/stream1/channel1
Incorrect URL
Code:
rtsp://admin:ad@min@192.168.11.11/stream1/channel1
As an option you can try to replace '@' with '%40'
Example:
Code:
rtsp://admin:ad%40min@192.168.11.11/stream1/channel1
 
Top