Multiple sessions of rtsp server

Sebastian Dröge sebastian at centricular.com
Fri Nov 4 15:56:12 UTC 2016


On Fri, 2016-11-04 at 06:43 -0700, kroketor wrote:
> Hi
> I have a modified version of the test-video.c in wich i implanted
> manually
> four instances of media_factory in the same program to the server and
> it
> works perfectly. I can connect with every streamed video. 
> Now i want to have various instances of my program (LaunchStream.cpp)
> each 
> one with one media_factory diferent for each of them. The first works
> ok but
> when i run the second instance it gives the "failed to attach the
> server"
> error. I tried changing the port for each of them but it crashes in
> the same
> way. I tried also to create diferente programs for each ot them
> (LaunchStream2.cpp, LaunchStream3.cpp, ...) but they remains failing
> in the
> same way and i dont´t found any information about it.
> 
> Isn't it possible to have multiple rtsp-servers running at the same
> time?

As long as they use different ports that shouldn't be a problem. Please
provide a testcase to reproduce the behaviour you see.

-- 
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/20161104/682608a8/attachment.sig>


More information about the gstreamer-devel mailing list