[Live-devel] Ignoring an unwanted track

Deanna Earley dee.earley at icode.co.uk
Tue Dec 23 08:08:09 PST 2014


Looking further up the code, I've found the code that enumerates all subsessions and passes them to RTSPClient::sendSetupCommand().
Skipping them here (along with MediaSubsession::initiate()) leaves them untouched and won't be requested.

Have a good Christmas :)

-- 
Deanna Earley | Lead developer | icatchercctv

w: www.icode.co.uk/icatcher | t: 01329 835335 | f: 01329 835338
Registered Office : 71 The Hundred, Romsey, SO51 8BZ. Company Number : 03428325

> -----Original Message-----
> From: live-devel [mailto:live-devel-bounces at ns.live555.com] On Behalf Of
> Deanna Earley
> Sent: 23 December 2014 11:41
> To: 'live-devel at lists.live555.com'
> Subject: [Live-devel] Ignoring an unwanted track
> 
> Hello Ross.
> 
> We have some situations where we're not interested in a particular track.
> Currently we create and assign a "null sink" that does nothing in
> afterGettingFrame() except call continuePlaying().
> 
> Is there a safe way to drop this track and not try and set it up and
> receive it in the first place?
> 
> It looks like I can set no sink, and in turn not call startPlaying(), but
> is there anything I need to do instead?
> 
> Many thanks.
> 
> --
> Deanna Earley | Lead developer | icatchercctv
> 
> w: www.icode.co.uk/icatcher | t: 01329 835335 | f: 01329 835338
> Registered Office : 71 The Hundred, Romsey, SO51 8BZ. Company Number :
> 03428325
> 
> 
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel



More information about the live-devel mailing list