[Live-devel] How to dispatch media data to multiple sinks?

Ross Finlayson finlayson at live555.com
Fri Oct 14 02:04:29 PDT 2011


> Now, I can use this filter as the source of my custom subsession object, then pass True as reuseFirstSource argument of the subsession constructor, so I can just use one filter to serve multiple remote player, right?

Yes, that should work.

However, your filter class is not quite right.  In your "afterGettingCallback()" function, you need to set the filter's "fFrameSize", "fNumTruncatedBytes", "fPresentationTime", and "fDurationInMicroseconds" member variables from the corresponding function parameters: "frameSize", "numTruncatedBytes", "presentationTime", and "durationInMicroseconds".


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20111014/3d5b027f/attachment-0001.html>


More information about the live-devel mailing list