RTSP Unicast and Multicast on the same pipeline using different mountpoints
Mert Can Ergun
mert.ergun at mikro-tasarim.com.tr
Fri Nov 11 07:09:21 UTC 2016
I ran the same test with 1.10 today and the results haven't changed.
*server side:*
GST_DEBUG=2 ./test-multicast2
stream ready at rtsp://127.0.0.1:8554/test
0:00:10.605464791 24520 0x15ffcf0 WARN rtspmedia
rtsp-media.c:3606:gst_rtsp_media_suspend: media 0x7f1f2403e180 was not
prepared
*client side:*
GST_DEBUG=2 gst-launch-1.0 rtspsrc
location=rtsp://10.0.0.10:8554/test protocols=GST_RTSP_LOWER_TRANS_UDP !
fakesink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://10.0.0.10:8554/test
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
Progress: (request) SETUP stream 0
Progress: (request) SETUP stream 1
Progress: (open) Opened Stream
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Progress: (request) Sending PLAY request
Progress: (request) Sending PLAY request
Progress: (request) Sent PLAY request
0:00:00.346565985 27470 0x7fa89803e9e0 WARN basesrc
gstbasesrc.c:2943:gst_base_src_loop:<udpsrc3> error: Internal data flow
error.
0:00:00.346604018 27470 0x7fa89803e9e0 WARN basesrc
gstbasesrc.c:2943:gst_base_src_loop:<udpsrc3> error: streaming task
paused, reason not-linked (-1)
Screenshot_from_2016-11-11_10_12_03.png
<http://gstreamer-devel.966125.n4.nabble.com/file/n4680610/Screenshot_from_2016-11-11_10_12_03.png>
I also uploaded a screenshot from wireshark. I don't have any decoders
installed on the second computer so I had to use fakesink and it gave me
not-linked warning. If I use a computer with correct decoder and parsers I
can get a video stream out of the packets.
By the way, 10.0.0.10 is my server and 10.0.0.50 is the client.
Sebastian Dröge-3 wrote
> On Tue, 2016-11-08 at 06:04 -0800, Mert Can Ergun wrote:
>> I did the tests on 1.9.90 and yes there were direct packets as well as
>> multicast messages coming from the server.
>> Yesterday I ran the same test with 1.6.0 on my SBC and it produced
>> expected
>> results. When clients don't request multicast, it doesn't broadcast
>> multicast packets.
>>
>> I will try the test on 1.10 when I can
>
> There were no relevant changes between 1.9.90 and 1.10.0, only during
> 1.9.x before.
>
> So you're saying that the server *always* sends multicast packets and
> additionally it sends unicast if the client requested that? And it
> sends multicast even if no client requested that? That would be a bug.
>
> Can you provide a short testcase for that, especially the server-part?
>
> --
> Sebastian Dröge, Centricular Ltd · http://www.centricular.com
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at .freedesktop
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
> signature.asc (949 bytes)
> <http://gstreamer-devel.966125.n4.nabble.com/attachment/4680567/0/signature.asc>
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/RTSP-Unicast-and-Multicast-on-the-same-pipeline-using-different-mountpoints-tp4680320p4680610.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list