Skip to content

[Question] kvsWebrtcClientMasterGstSample timestamp #2109

Answered by unicornss
CarlosYeverino asked this question in Q&A
Discussion options

You must be logged in to vote

Is there any reason no to set frame.presentationTs as frame.presentationTs = buffer->pts instead of incremental value of constant SAMPLE_VIDEO_FRAME_DURATION? It seems the current approach can be problematic in case of FPS mismatch or skipped frame on rtp reception.

In a typical media pipeline, especially when integrating with GStreamer, the buffer->pts value represents the actual presentation timestamp of the decoded/encoded frame. This frame timestamp reflects the actual timing of the media.

The use of an incremental SAMPLE_VIDEO_FRAME_DURATION in the SDK sample is intended for controlled demos and ensures predictable frame pacing. However, for production pipelines, setting frame.pres…

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@sirknightj
Comment options

@CarlosYeverino
Comment options

Answer selected by unicornss
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
3 participants