mirror of
https://github.com/servo/servo
synced 2026-04-30 11:27:28 +02:00
WebRTCDataChannel initial support
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user