[streaming] Bug when a RSTP streaming is dirty closed ?

CACHET Nicolas Nicolas.CACHET at rfo.fr
Tue Feb 28 19:05:11 CET 2006



Hi,

I have a Linux box on which VLC acts as a RTSP server.
An extract from vlm.conf file  :

new canal0 broadcast
setup canal0 input
pvr:/dev/video0:norm=pal:size=720x576:frequency=727250:bitrate=3000000:m
axbitrate=4000000
setup canal0 output
#duplicate{dst=standard{access=http,mux=ts,url=:8008},dst=rtp{port=1301,
port-video=1303,port-audio=1305,sdp=rtsp://:8000/v.sdp}}
setup canal0 enabled

When a VLC client opens and closes normaly this stream ( stop and/or
quit), no problem.
 
But when a client opens this stream and closes VLC by killing it (end of
task , "fin de tache" on windows), 
the stream doesn't stop.


/* when playing */
# netstat -anp | grep pid_of_vlc
tcp        0      0 10.x.y.a:8000           10.x.y.z:3413
ESTABLISHED 914/vlc
udp        0      0 10.x.y.a:32925          10.x.y.z:1302
ESTABLISHED 914/vlc
udp        0      0 10.x.y.a:32926          10.x.y.z:1304
ESTABLISHED 914/vlc

/* After an end of task */
# netstat - anp | grep pid_of_vlc 
tcp        0      0 0.0.0.0:8000                0.0.0.0:*	LISTEN
914/vlc
udp        0      0 10.x.y.a:32929          10.x.y.z:1302
ESTABLISHED 914/vlc
udp        0      0 10.x.y.a:32930          10.x.y.z:1304
ESTABLISHED 914/vlc

=> The RTSP connexion (port 8000) is closed, but not the RTP stream
(1302 & 1304)

I've the same result with VLC 0.8.4a and vlc-snapshot-20060227 as
server.

Any idea ?


*************************************************************************************
Ce message et toutes les pieces jointes (ci-apres le
"message") sont etablis a l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le detruire et d'en avertir immediatement l'expediteur. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L'internet ne permettant pas d'assurer l'integrite de ce message, RFO  decline toute responsabilite au titre de ce message, dans l'hypothese  ou il aurait ete modifie.
                                                              http://www.rfo.fr
**************************************************************************************

-- 
This is the streaming mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the streaming mailing list