How often does Wowza use RTCP sender report packets to synchronize audio and video RTP source streams? From my observation, only the first RTCP seems to be getting used to sync up the streams. Later reports don’t seem to have any effect.
I am using Wowza Wowza Media Server 2.2.3 build26454. AVSyncMethod is set to senderreport.
Can you also give me some details on how the rtptimecode sync mechanism works? How should the timestamps in the RTP header be encoded for this method to work?
Full problem statement:
I am streaming live content from an RTP source using Wowza. The RTP timestamps in the source audio and video drift at times causing the streams to go out of sync. To overcome this, I have set AVSyncMethod to senderreport in the rtplive app configuration file and I generate periodic RTCP SR packets to synchronize the streams. Wowza seems to be synchronizing the streams at the beginning, but it doesn’t seem to use the RTCP reports that I send later when the RTP timestamps have drifted.
I checked the logs in DEBUG mode and I find that Wowza is printing out the NTP timestamp and RTP timestamp that I send in the RTCP SR correctly.