-
Notifications
You must be signed in to change notification settings - Fork 26
describe (some) fields #155
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
Merged
Merged
Changes from 2 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
97ab444
describe (some) fields
fippo a998526
tweak
fippo 867ac8f
Update index.bs
fippo 32a7786
Update index.bs
fippo 565a209
describe some more...
fippo 912fa3e
use RTCEncodedVideoFrameType
fippo 04e9ab0
fix the idl error
fippo 43e493b
avoid linking failures
fippo ace256c
retrigger ci
fippo 30ec9bb
fix html errors too
fippo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -294,13 +294,49 @@ interface RTCEncodedVideoFrame { | |
attribute ArrayBuffer data; | ||
RTCEncodedVideoFrameMetadata getMetadata(); | ||
}; | ||
</pre> | ||
|
||
## <dfn>RTCEncodedAudioFrameMetadata</dfn> dictionary # {#RTCEncodedAudioFrameMetadata} | ||
<pre class="idl"> | ||
dictionary RTCEncodedAudioFrameMetadata { | ||
unsigned long synchronizationSource; | ||
octet payloadType; | ||
sequence<unsigned long> contributingSources; | ||
}; | ||
|
||
</pre> | ||
### Dictionary {{RTCEncodedAudioFrameMetadata}} Members # {#RTCEncodedAudioFrameMetadata-members} | ||
fippo marked this conversation as resolved.
Show resolved
Hide resolved
|
||
<dl data-link-for="RTCEncodedAudioFrameMetadata" | ||
data-dfn-for="RTCEncodedAudioFrameMetadata" | ||
class="dictionary-members"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If we anticipate to add more metadata common to video and audio, we might want to introduce a RTCEncodedFrameMetata dictionary that audio and video metadata dictionaries would extend. |
||
<dt> | ||
<dfn>synchronizationSource</dfn> of type <span class="idlMemberType">unsigned long</span> | ||
</dt> | ||
<dd> | ||
<p> | ||
The synchronization source (ssrc) identifier is an unsigned integer value per [[RFC3550]] | ||
used to identify the stream of RTP packets that the encoded frame object is describing. | ||
</p> | ||
</dd> | ||
<dt> | ||
<dfn>payloadType</dfn> of type <span class="idlMemberType">octet</span> | ||
</dt> | ||
<dd> | ||
<p> | ||
The payload type is an unsigned integer value in the range from 0 to 127 per [[RFC3550]] | ||
that is used to describe the format of the RTP payload. | ||
</p> | ||
</dd> | ||
<dt> | ||
<dfn>contributingSources</dfn> of type <span class= | ||
"idlMemberType">sequence<unsigned long></span> | ||
</dt> | ||
<dd> | ||
<p> | ||
The list of contribution sources (csrc list) as defined in [[RFC3550]]. | ||
</p> | ||
</dd> | ||
</dl> | ||
<pre class="idl"> | ||
[Exposed=(Window,DedicatedWorker)] | ||
interface RTCEncodedAudioFrame { | ||
readonly attribute unsigned long timestamp; // RTP timestamp. | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.