[Live-devel] where to call signalNewFrameData
Roland Aigner
Roland.Aigner at aec.at
Thu Jan 26 09:20:54 PST 2017
Thanks. Seems like I'm trying to do 2b. What I'm still not getting out of this is, where and how I would call signalNewFrameData on my source object. I've now added a callback I'm calling from my encoder class, which is a bit messy, because the encoder actually wasn't supposed to be aware of the streaming code. Is there a place within the live555 classes where this would have to go?
Another question: is there a way of figuring out that the connection was lost/closed? Currently, my session keeps sending forever, as I couldn't find out how to handle this.
Best,
Roland
-----Ursprüngliche Nachricht-----
Von: live-devel [mailto:live-devel-bounces at ns.live555.com] Im Auftrag von Ross Finlayson
Gesendet: Donnerstag, 26. Januar 2017 14:42
An: LIVE555 Streaming Media - development & use <live-devel at ns.live555.com>
Betreff: Re: [Live-devel] where to call signalNewFrameData
> Now I saw in your sample code of DeviceSource.cpp a template for signalNewFrameData which I apparently have to use if this happens. Now I'm not sure where a good place to call this would be.
See http://lists.live555.com/pipermail/live-devel/2016-September/020285.html
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
_______________________________________________
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