Skip to content

Adding Timestamps to WebRTC Video Frames #2934

Closed Answered by Sean-Der
wjkoh asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @wjkoh

You can use insertable streams for this! On the sender side insert your timestamp in each video frame.

Have the last 8 bytes will always be a timestamp. Then on the receiver side extract (and remove) the last 8 bytes. If you don't remove the bytes the video will be corrupted.

If you need help implementing I am happy to put up a jsfiddle. Best of luck!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Sean-Der
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants