[Live-devel] VLC needs to send the PLAY command twice
Mario Raffin
raffin at ermes-cctv.com
Tue Nov 15 04:02:56 PST 2011
Dear developer(s),
thank you for this great code. I am developing an IP camera which
streams H.264 video via rtp in UNICAST. I use VLC to receive the stream.
At the beginning I used the multicast SSM and all was fine. Then I
implemented the unicast as described in the FAQ starting from the
testOnDemandRTSPServer.cpp. Here I noticed that when using VLC under
linux the stream was quite slow to start while with the VLC windows
version it did not start at all. So looking at the session init, I
noticed that the session never start after the first PLAY but VLC needs
to close the first session and call PLAY again.
When I start playing all seems OK, I see the the OPTIONS,DESCRIBE, SETUP
and PLAY from the VLC client. After the PLAY the source always replies
with the OK. Then, immediatly after this *first *PLAY the VLC client
sends a GET_PARAMETER request, the server answers but the streams does
not starts and after about 10s the client sends a TEARDOWN and closes
the session (in the middle I see a couple of RTCP packets).
After the *second *PLAY, the GET_PARAMETER request is not sent and the
stream starts immediatly.
I attached the packet description I get with Wireshark.
Some idea or suggestion about the possible cause of this strange
behaviour will be very appeciated.
Thank you.
M. Raffin
--
*Mario Raffin *
Development Engineer
Ermes Elettronica s.r.l.
via Treviso, 36
31020 San Vendemiano (TV) Italy (Map
<http://maps.google.com/maps?f=d&source=s_d&saddr=&daddr=Strada+sconosciuta&hl=it&geocode=FeM5vAIdPQe8AA&mra=mr&sll=45.890001,12.320609&sspn=0.006019,0.013733&ie=UTF8&ll=45.890374,12.31915&spn=0.005272,0.010804&t=h&z=17>)
Mail: raffin at ermes-cctv.com <mailto:raffin at ermes-cctv.com>
Web:http://www.ermes-cctv.com/
/Tel. +39 0438 308470/
/Fax. +39 0438 492340/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20111115/21ddf4af/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MARCHIO ERMES.jpg
Type: image/jpeg
Size: 3980 bytes
Desc: not available
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20111115/21ddf4af/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rtpsessionscollapsed2.zip
Type: application/x-zip-compressed
Size: 1601 bytes
Desc: not available
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20111115/21ddf4af/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: raffin.vcf
Type: text/x-vcard
Size: 266 bytes
Desc: not available
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20111115/21ddf4af/attachment.vcf>
More information about the live-devel
mailing list