[Live-devel] multiple H265 streams

g.jaegy g.jaegy at imagine3d.fr
Tue Feb 15 05:06:55 PST 2022


Nevermind, I found the solution, the last objects enumerated (GroupSock RTP & RTCP / H265VideoRTPSink / RTCPInstance) should be instanciated per stream.

From: live-devel <live-devel-bounces at us.live555.com> On Behalf Of g.jaegy
Sent: Tuesday, February 15, 2022 12:04 PM
To: live-devel at lists.live555.com <live-devel at us.live555.com>
Subject: [Live-devel] multiple H265 streams

Hi,

I have a working RTSP server, streaming one H265 streaming through RTP (multicast UDP). My code is mostly based on the testH265VideoStreamer example.

Now, I want to add multiple H265 streams (all having the same properties, resolution etc.).

I'm not sure I understand really how that works internally, whether the same RTP sink is used for all streams or one RTP sink is required per stream. So, basically, my question is what objects should I instanciate globally, and which ones should I instanciate per stream.

I'm sure the following must be instanciate per stream :
ServerMediaSession
PassiveServerMediaSubsession
FramedSource
H265VideoStreamDiscreteFramer

I am also pretty sure the following objects are unique (so, global and not per stream) :
BasicTaskScheduler
BasicUsageEnvironment
RTSPServer

However, I am not sure about the RTP/RTCP ones. Should those be instanciate per stream ?
GroupSock (RTP & RTCP)
H265VideoRTPSink
RTCPInstance

Thanks a lot !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20220215/7f47043b/attachment.htm>


More information about the live-devel mailing list