-
Summaryis it possible to have both audio and video tracks? MotivationCurrently the example https://github.com/pion/webrtc/tree/master/examples/rtp-to-webrtc seems to only send video tracks. If I add another track, do we have to worry about synchronization between audio and video? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
You should also forward the Sender Reports if you want to synchronize. a Sender Report allows you to map two different RTP streams together by using |
Beta Was this translation helpful? Give feedback.
You should also forward the Sender Reports if you want to synchronize.
a Sender Report allows you to map two different RTP streams together by using
RTPTime
+NTPTime
. This lets you know at what absolute time something occured, then in your playback application you can buffer/playout to ensure they are synced.