[Live-devel] question RTSP server

g.jaegy g.jaegy at imagine3d.fr
Mon Jan 9 02:57:32 PST 2023


Hi,

I have a RTSP server that can stream a H265 stream from a custom H265 packet source, used by a "H265VideoStreamDiscreteFramer" object (basically a live screen capture of a Vulkan application sent down to NVenc which generated the H265 packets). It uses a "PassiveServerMediaSubsession" object and thus relies on multicast UDP packets.

This works great, however, I would like to add support for an optional TCP transport for RTP/RTCP (so user can configure the service to stream over TCP rather than multicast UDP).

I've managed to figure out I must replace the "PassiveServerMediaSubsession" subsession with an "OnDemandServerMediaSubsession" one. Is that correct ?

"OnDemandServerMediaSubsession" being a base class, I've then tried to find a class that inherit from it, however, all I've found was the "H265VideoFileServerMediaSubsession", which uses a file as input.

So, I'm not sure how to move forward. Should I write a custom class, that inherits from "OnDemandServerMediaSubsession" ?

I guess I might have to create a new RTP/RTCP sink for each client connecting ?

To be honest I'm a bit lost, so any help or link to some related documentation would be really appreciated.

Thanks a lot !

Regards,
Greg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20230109/0845b843/attachment.htm>


More information about the live-devel mailing list