RTSP Unicast and Multicast on the same pipeline using different mountpoints

Sebastian Dröge sebastian at centricular.com
Mon Oct 31 12:34:52 UTC 2016


On Sat, 2016-10-29 at 00:22 -0700, Mert Can Ergun wrote:
> The scenario I am trying to achieve is like this. Server has 2 mountpoints
> like:
> 
> rtsp://IP:port/unicast
> rtsp://IP:port/multicast
> while one of them servers only unicast, and the other serves only multicast.
> The source element is a bit problematic one and I have to use a single
> pipeline in order to minimize the amount of problems I might face when 2 of
> the streams are requested simultaneously.
> 
> I tried to build 2 similar mediafactories and attached different mountpoints
> to each other. Then after the first client connects, I saved the RTSPMedia
> and media pipeline using media-constructed signal and tried to force it to
> the other one but the framework doesn't allow me to do so.

The easiest here might be to either use a single mount point and let
the clients decide whether they want multicast or not, or to run your
source in a separate pipeline and only feed two appsrc inside the RTSP
media from that separate pipeline.

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 931 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20161031/053ae711/attachment.sig>


More information about the gstreamer-devel mailing list