Re: [Live-devel] Multiple File Sinks Issue

2019-02-25 Thread Ross Finlayson
> The issue I was trying to convey is that I have a rolling file buffer of .ts > files that seem filled with corrupted data even though the rolling file > buffer of QuickTime files work perfectly fine. > > Do I need to add more filters to the h264 stream? I was expecting TS headers > with the 0

Re: [Live-devel] Multiple File Sinks Issue

2019-02-25 Thread Chris Paucar
Hi Ross, My apologies, that was a bad attempt at trying to minimize the code snippet. I actually do have it all in separate functions and scheduled tasks, I was just trying to keep this email short but descriptive. The issue I was trying to convey is that I have a rolling file buffer of .ts files

Re: [Live-devel] Multiple File Sinks Issue

2019-02-25 Thread Ross Finlayson
> while(true) { > TS_Sink = FileSink::createNew(*env, uniqueFileName); > TS_Sink->startPlaying(*streamTS, NULL, NULL); > sleep(2) // Continuous output of files with 2 seconds of video each > TS_Sink->stopPlaying() > Medium::close(TS_Sink) > } You MUST NOT call “sleep()” within a LIVE555

Re: [Live-devel] Is data parsed before being sent by live555

2019-02-25 Thread Ross Finlayson
> On Feb 26, 2019, at 10:21 AM, Kevin Bailey wrote: > > I've noticed that if I made specific modification to my NAL units before > passing them over to live555 (including totally randomizing the bits) the NAL > unit will not be sent at all to the client. Does live555 parse NAL units > prior

[Live-devel] Is data parsed before being sent by live555

2019-02-25 Thread Kevin Bailey
I've noticed that if I made specific modification to my NAL units before passing them over to live555 (including totally randomizing the bits) the NAL unit will not be sent at all to the client. Does live555 parse NAL units prior to sending them out to clients? And if so how can I get live555 to st

Re: [Live-devel] Multiple File Sinks Issue

2019-02-25 Thread Chris Paucar
Hi Ross, I now have 2 file sinks, one QuickTime (using MP4 format) and one MPEG2-TS, working with the source of both being the video subsession of my MediaSession object. The QuickTime files are playing on VLC just fine, but the MPEG2-TS files seem to be missing the TS header, especially the sync