We are trying to setup the RTSP Authentication.
I’ve setup the public.password file for RTP authentication also we’ve configured the application RTP/Authentication/PlayMethod to digest in the application.xml. Everything goes well after configuration, the stream is protected with the username.
Except when I am trying to use VLC to connect, it ask me twice for username and password on every request. any idea? By the way, I am using the mediacache in this application.
The log in console shows the following, it seems that the VLC player is trying to connect twice…:-
INFO stream stop c1/1/iphone_sample.mp4 -
INFO stream destroy c1/1/iphone_sample.mp4 -
INFO rtsp disconnect 1152285236 -
INFO rtsp connect 316413612 -
INFO stream create - -
INFO rtsp describe 316413612 -
INFO server comment - RTPUDPTransport.bind[bbvdoapps/definst]: in:0.0.0.0/0.0.0.0:6974 out:/10.10.10.8:54720
INFO server comment - RTPUDPTransport.bind[bbvdoapps/definst]: in:0.0.0.0/0.0.0.0:6975 out:/10.10.10.8:54721
INFO server comment - RTPUDPTransport.bind[bbvdoapps/definst]: in:0.0.0.0/0.0.0.0:6976 out:/10.10.10.8:54722
INFO server comment - RTPUDPTransport.bind[bbvdoapps/definst]: in:0.0.0.0/0.0.0.0:6977 out:/10.10.10.8:54723
INFO stream play c1/1/iphone_sample.mp4 -
INFO rtsp play 316413612 -
INFO server comment - RTPUDPTransport.unbind[bbvdoapps/definst]: 0.0.0.0/0.0.0.0:6974 sent:180 recv:0
INFO server comment - RTPUDPTransport.unbind[bbvdoapps/definst]: 0.0.0.0/0.0.0.0:6975 sent:4 recv:0
INFO server comment - RTPUDPTransport.unbind[bbvdoapps/definst]: 0.0.0.0/0.0.0.0:6976 sent:598 recv:0
INFO server comment - RTPUDPTransport.unbind[bbvdoapps/definst]: 0.0.0.0/0.0.0.0:6977 sent:4 recv:0
INFO stream stop c1/1/iphone_sample.mp4 -
INFO stream destroy c1/1/iphone_sample.mp4 -
INFO rtsp disconnect 316413612 -
INFO rtsp connect 727524933 -
INFO stream create - -
INFO rtsp describe 727524933 -
INFO stream play c1/1/iphone_sample.mp4 -
INFO rtsp play 727524933 -
INFO stream stop c1/1/iphone_sample.mp4 -
INFO stream destroy c1/1/iphone_sample.mp4 -
INFO rtsp disconnect 727524933 -