Re: [Live-devel] Adding secondary audio track to existing H264 RTP stream

2018-03-29 Thread Ross Finlayson
> In DummySink::afterGettingFrame i just fwrite buffer to file, nothing more. Alternatively, you could have just used the existing “FileSink” class. > Didnt want to cross post but this is a debug info from afterGettingFrame - > microseconds delay between each calls of this function: > fDuration

Re: [Live-devel] Adding secondary audio track to existing H264 RTP stream

2018-03-29 Thread Marcin
Didnt want to cross post but this is a debug info from afterGettingFrame - microseconds delay between each calls of this function: fDurationInMicroseconds 23219 Time diff 25142 fDurationInMicroseconds 23219 Time diff 44613 fDurationInMicroseconds 23219 Time diff 25751 fDurationInMicroseconds 2321

Re: [Live-devel] Adding secondary audio track to existing H264 RTP stream

2018-03-29 Thread Marcin
Thanks Ross, I did that as you said with ADTSFileSource but i have a problem. After your change it start to works but not as good as it shold. In example - below code was running for 30 seconds and produced 20s AAC audio file. If it try to stream the same file using RTPSink and RTSP Server - st