[ortc] RTCDataChannelParameters issues

aboba has just created a new issue for 
https://github.com/openpeer/ortc:

== RTCDataChannelParameters issues ==
partial interface RTCDataChannel : EventTarget {
    readonly        attribute RTCDataChannelParameters parameters;
}

[BA] This is illegal in WebIDL.  Should be replaced by: 

RTCDataChannelParameters getParameters(); 

In Example 23: 

  // Construct RTCDataChannelParameters object
  var parameters = new RTCDataChannelParameters();

[BA] This is not correct, since RTCDataChannelParameters is a 
dictionary, not an object.   Should be: 

var parameters = {
   label: "", 
   ordered: true,
   maxPacketLifetime: <a value>,
   maxRetransmits: <a value>,
   protocol: "",
  negotiated: false,
  id: <a value>
};

Please view or discuss this issue at 
https://github.com/openpeer/ortc/issues/519 using your GitHub account

Received on Tuesday, 26 April 2016 21:16:49 UTC