-
Notifications
You must be signed in to change notification settings - Fork 18
Add WebRTC-specific interactions with capture/receive/RTP timestamps #224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
<p> | ||
<!-- TODO: use the xref mechanism when mediacapture-extensions spec status is cleared up. | ||
See https://github.com/w3c/mediacapture-extensions/issues/132 --> | ||
The following terms are defined in <a href="https://w3c.github.io/mediacapture-extensions">mediacapture-extensions</a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Due to the unclear state of the mediacapture-extensions spec (not listed in browser-specs) I had to make some temporary reference structure as per below, when referring to concepts defined there.
Ping @handellm |
…rmative as things should be observable.
@alvestrand please take another look! |
Looked at in editors meeting Feb 27; will discuss again next week. |
<h2>RTCRtpSender video track frame timestamp effects on outgoing packet NTP and RTP timestamps</h2> | ||
<p> | ||
The user agent defines a <dfn class="export">frame timestamp</dfn> being the same as the [=capture timestamp=] | ||
of the frame being produced on the {{RTCRtpSender}} {{MediaStreamTrack}} if it is set. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I'm not following what this timestamp is by the name "frame timestamp". Not all track sources will insert capture timestamps in the tracks they produce. Is this what you mean by "if it is set"?
If it is unset the user agent MUST estimate a timestamp from the sent frame's [=presentation timestamp=] together with the | ||
time it was received by the {{RTCRtpSender}}. This estimate MUST NOT be based on [= RTP timestamp =]. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does "received by the RTCRtpSender" mean? Do you mean RTCRtpReceiver?
replaced by #233 |
This PR changes the spec to describe how WebRTC interacts with timestamps added by w3c/mediacapture-extensions#156.
Related to changes needed by w3c/webcodecs#813
Preview | Diff