W3C home > Mailing lists > Public > public-ortc@w3.org > April 2016

[ortc] RTCDataChannelParameters issues

From: aboba via GitHub <sysbot+gh@w3.org>
Date: Tue, 26 Apr 2016 21:16:47 +0000
To: public-ortc@w3.org
Message-ID: <issues.opened-151241220-1461705393-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:39:59 UTC