There is a problem in my recorded MP4 files on the (rtp-record) app which I've created to only record the main stream of other apps.
Video+Audio is out of sync. I have tried to change rtp and stream-caster properties on the "streaming app" but that didn't help.
On Wowza Streaming Engine 4.3.0 I think everything was okay. But on 4.4.1 the problem happens.
The only solution that worked for me was setting Audio to MP3 instead of AAC. But on smil I have to re-encode to AAC for ios devices.
Also when I manually record a rtmp (liverepeater) stream file the result is okay.
I used the default settings for the applications. I have tried both Main 4.1 & Baseline 4.1 h.264 profiles but it didn't make a difference. Also, recording it as FLV didn't solve the issue.
Recording the streams using "Record all incoming streams" on the "streaming app" works fine. But the problem in (rtp-record).
Also, I tried to re-stream a file using ffmpeg & libx264 Main 4.1 profile in order to re-generate the issue. But I think the result was fine.
I stream using vMix (FMLE 3.2 encoder) h.264 Main 4.1 2 seconds. 854x480 25fbps 500 kbps AAC 48000 112k.
The recorded files from ffmpeg using same settings there is no difference except maybe yuv420p from ffmpeg & yuv420p(tv) from FMLE.
There is no difference on Wowza Streaming Engine 4.3.1 recorded files & 4.4.1 except that the audio+video is not in sync on the later.
I have created 2 live applications 1 used for streaming & the 2nd records the rtsp stream (rtp-record) with save all incoming streams option turned on.