mirror of
https://github.com/servo/servo.git
synced 2025-08-11 00:15:32 +01:00
WebRTCDataChannel initial support
This commit is contained in:
parent
5788882b16
commit
4e6d3e7cec
6 changed files with 335 additions and 1 deletions
|
@ -126,3 +126,11 @@ partial interface RTCPeerConnection {
|
|||
// optional RTCRtpTransceiverInit init);
|
||||
attribute EventHandler ontrack;
|
||||
};
|
||||
|
||||
// https://www.w3.org/TR/webrtc/#rtcpeerconnection-interface-extensions-0
|
||||
partial interface RTCPeerConnection {
|
||||
// readonly attribute RTCSctpTransport? sctp;
|
||||
RTCDataChannel createDataChannel(USVString label,
|
||||
optional RTCDataChannelInit dataChannelDict = {});
|
||||
attribute EventHandler ondatachannel;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue