I am sending a live stream via Flash webcam that uses H.264 / Speex codecs to Wowza. On the live stream, the audio and video are perfectly in sync. However, on the recorded MP4, the audio is out of sync with the video. it appears that the video is frozen for the first second or two while the audio plays, and the audio becomes out of sync for the rest of the recorded video.
I am recording the real-time transcoded version of the stream (transcoding Speex to AAC down to an MP4 container). I have the property recordWaitForVideoKeyframe set to true and have tried manipulating video quality and mic quality settings from Flash and still having issues.
My Flash Webcam codec settings are:
- H.264 - Baseline, Level 3.2
- Speex, silenceLevel 0
- 640x360, fps 25
Could you please help me with this? I am absolutely stuck at this point.