I have a little (about 1 sec) audio / video delay when streaming with FMLE or Wirecast to Wowza and play stream in Flash player.
Wowza installed locally so there is no latancy or BW issue.
Flash Player have bufferTime = 0.
Video codec: VP6, H264
Audio Codec: mp3, NellyMoser, AAC
all possible bitrates - nothing helps.
But with disabled audio (only video stream) everything works real-time.
and with publishing from another flash player everything works fine.
Problem exists only with publishing from FMLE/Wirecast or VCL (rtp/rtsp) with audio enabled.
Please show me direction where I have to dig.
UPD.
Forgot to mention.
When stream plays with delay, then netStream.liveDelay always = 0.3-0.8 sec, but bufferTime = 0. In other cases (everything real-time) this variables both always = 0.
Try a bufferTime 1 second instead of 0. Zero buffer can cause playback problems.
netStream.liveDelay is not supported in Wowza 2. I doubt it has any bad effect.
FMLE is known to have a/v sync problems with some capture card. We don’t hear about this as much involving Wirecast, but it is usually an encoder side problem. You can debug in Wowza to see if that is the problem.
https://www.wowza.com/docs/how-to-debug-aac-or-mp3-timecode-issues-with-apple-hls-packetization
Richard
Sorry, I misread the original post. You said, “I have a little (about 1 sec) audio / video delay”. I thought it was a syn issue.
I don’t think 1 second latency from h.264 encoder to Flash client is a problem, sounds good to me. We do have an article on the subject here:
https://www.wowza.com/docs/how-to-set-up-low-latency-applications-in-wowza-streaming-engine-for-rtmp-streaming
Richard
Try a bufferTime 1 second instead of 0. Zero buffer can cause playback problems.
With bufferTime=1 or bufferTime=0.01 , 0.5 , 2, etc… delay just increase…
FMLE is known to have a/v sync problems with some capture card.
I have tried few other PCs - everywhere the same result.
We don’t hear about this as much involving Wirecast, but it is usually an encoder side problem. You can debug in Wowza to see if that is the problem.
Debug shows everything is fine. There is no any shift in AAC or MP3.