Re: [Live-devel] [PATCH 4/4] StreamReplicator: add frame delivery timeout

2015-05-25 Thread Ross Finlayson
>> If all of your clients are unicast RTSP clients, all using just one >> “OnDemandServerMediaSubsession” subclass, then you shouldn’t need to use >> “StreamReplicator” at all. Instead, just ensure that your >> “OnDemandServerMediaSubsession” subclass’s constructor sets the >> “reuseFirstSourc

Re: [Live-devel] [PATCH 4/4] StreamReplicator: add frame delivery timeout

2015-05-25 Thread Stas Tsymbalov
>> In our application replicas are being used by RTPSinks, to multiply one >> source (from encoder) to multiple clients using class derived from >> OnDemandServerMediaSubsession (we need to support unicast). > > If all of your clients are unicast RTSP clients, all using just one > “OnDemandServ

Re: [Live-devel] [PATCH 4/4] StreamReplicator: add frame delivery timeout

2015-05-25 Thread Ross Finlayson
> In our application replicas are being used by RTPSinks, to multiply one > source (from encoder) to multiple clients using class derived from > OnDemandServerMediaSubsession (we need to support unicast). If all of your clients are unicast RTSP clients, all using just one “OnDemandServerMediaSu

Re: [Live-devel] [PATCH 4/4] StreamReplicator: add frame delivery timeout

2015-05-25 Thread Stas Tsymbalov
> Code that uses the “StreamReplicator” class is expected to be ‘well-behaved’. > I.e., it is expected that any code that uses a “StreamReplica” will continue > requesting frames from that replica - or else explicitly indicate that it no > longer wants to receive data from this replica, either

Re: [Live-devel] [PATCH 4/4] StreamReplicator: add frame delivery timeout

2015-05-25 Thread Ross Finlayson
> On May 19, 2015, at 8:07 AM, Stas Tsymbalov > wrote: > > > Right now if for some reason one replica stops requesting frames from > replicator but dows not deactivates whole delivery process stops as > replicator patiently waits for this replica to request frames.

[Live-devel] [PATCH 4/4] StreamReplicator: add frame delivery timeout

2015-05-19 Thread Stas Tsymbalov
Right now if for some reason one replica stops requesting frames from replicator but dows not deactivates whole delivery process stops as replicator patiently waits for this replica to request frames. This patch adds optional frame delivery timeout to StreamReplicator which functions as follows: