Re: [Live-devel] Help with RTP/RTCP relay implementation

2012-03-06 Thread Ross Finlayson
> I am creating an RTP/UDP relay that encrypts raw MPEG2TS streams. On the > incoming side I used an RTPSource plus an RTCPInstance in client mode and on > the outgoing side I used an RTPSink and an RTCPInstance in server mode. > > The encrypting function is implemented in a subclass of framed

[Live-devel] Help with RTP/RTCP relay implementation

2012-03-06 Thread hfsamb-...@yahoo.com.br
I am creating an RTP/UDP relay that encrypts raw MPEG2TS streams. On the incoming side I used an RTPSource plus an RTCPInstance in client mode and on the outgoing side I used an RTPSink and an RTCPInstance in server mode. The encrypting function is implemented in a subclass of framed filter wh

Re: [Live-devel] MediaSink / Memory leak

2012-03-06 Thread Brad O'Hearne
Ross, I had another thought here -- and I open this to anyone else trying to use Live555 inside the scope of Xcode. My MediaSink subclass I implemented as a .cpp file, (as a matter of fact I had to do the same with my RTSPClient subclass, used a .cpp file), because if I attempted to use a .mm

Re: [Live-devel] MediaSink / Memory leak

2012-03-06 Thread Brad O'Hearne
Ross, >> delete[] sPropRecords; >> >> with the error that the "pointer being freed was not allocated". > > I don't understand why you're getting an error here; the code looks OK. Yeah, I know the feeling! ;-) But it would seem more than an issue of style, it outright crashes the entire a

Re: [Live-devel] MediaSink / Memory leak

2012-03-06 Thread Ross Finlayson
> This particular code snippet was taken directly from the Live555 > H264VideoFileSink class implementation of its afterGettingFrame() method, so > the exact code and usage context should be identical. > > Anyway, I have taken my app run it on Xcode, and this line pretty quickly > crashes the

[Live-devel] MediaSink / Memory leak

2012-03-06 Thread Brad O'Hearne
All, I have a MediaSink subclass I have created. In the afterGettingFrame() method, I have the following code: if (!fHaveWrittenFirstFrame) { // If we have PPS/SPS NAL units encoded in a "sprop parameter string", prepend these to the file: unsigned numSPropRecords; SPropRecord*

Re: [Live-devel] Change sockets

2012-03-06 Thread Ross Finlayson
> What would it take, if possible, to swap out the current sockets used in > live555. Say I wanted to use something like amqp or zeromq. If possible > what kind of effort are we talking about? It would be an enormous undertaking, unfortunately. At some point, I plan to change the way that 'ne

Re: [Live-devel] Questions about project to dump Images frames from H264 stream using live555 and ffmpeg

2012-03-06 Thread Brad O'Hearne
Ross, Barry, and Jon, I want to thank you for your assistance with your answers on this mailing list. I am far from complete with the app I am working on, and will certainly be posting more questions as development progresses, but I now have a working prototype moving real-time video across a

[Live-devel] Change sockets

2012-03-06 Thread Rollinson, Derek
What would it take, if possible, to swap out the current sockets used in live555. Say I wanted to use something like amqp or zeromq. If possible what kind of effort are we talking about? Thanks, Derek R. ___ live-devel mailing list live-devel@lists.l