Skip to content

Commit

Permalink
Add constructors
Browse files Browse the repository at this point in the history
  • Loading branch information
aboba committed Mar 8, 2024
1 parent d1ea5cc commit d83f966
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions explainer.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ WebRTC-RtpTransport enables these use cases by enabling applications to:

```javascript
interface RtpPacket {
constructor(required RtpPacketInit);
readonly attribute bool marker;
readonly attribute octet payloadType;
readonly attribute unsigned short sequenceNumber;
Expand Down Expand Up @@ -121,6 +122,7 @@ dictionary RtpPacketInit {
}

interface RtcpPacket {
constructor(required RtcpPacketInit);
readonly attribute octet type;
readonly attribute octet subType;
readonly attribute ArrayBuffer value;
Expand All @@ -140,6 +142,7 @@ interface RtxPacket {
}

interface RtpHeaderExtension {
constructor(required RtpHeaderExtensionInit);
readonly attribute DOMString uri;
readonly attribute ArrayBuffer value;
}
Expand Down

0 comments on commit d83f966

Please sign in to comment.