Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 1068654 of RTCSctpTransport

  • Revision slug: Web/API/RTCSctpTransport
  • Revision title: RTCSctpTransport
  • Revision id: 1068654
  • Created:
  • Creator: Sheppy
  • Is current revision? No
  • Comment New page; however, Chrome and Firefox don't implement this yet so I'm done for now. :)

Revision Content

{{APIRef("WebRTC")}}{{SeeCompatTable}}

The RTCSctpTransport interface provides information which describes a Stream Control Transmission Protocol ({{Glossary("SCTP")}}) transport. This provides information about limitations of the transport, but also provides a way to access the underlying Datagram Transport Layer Security ({{Glossary("DTLS")}}) transport over which SCTP packets for all of an {{domxref("RTCPeerConnection")}}'s data channels are sent and received.

You don't create {{domxref("RTCSctpTransport")}} objects yourself; instead, you get access to the RTCSctpTransport for a given RTCPeerConnection through its {{domxref("RTCPeerConnection.sctp", "sctp")}} property.

Possibly the most useful property on this interface is its {{domxref("RTCSctpTransport.maxMessageSize", "maxMessageSize")}} property, which you can use to determine the upper limit on the size of messages you can send over a data channel on the peer connection.

Properties

The RTCSctpTransport interface doesn't inherit any properties.

{{domxref("RTCSctpTransport.maxMessageSize")}} {{ReadOnlyInline}}
An integer value indicating the maximum size, in bytes, of a message which can be sent using the {{domxref("RTCDataChannel.send()")}} method.
{{domxref("RTCSctpTransport.transport")}} {{ReadOnlyInline}}
An {{domxref("RTCDtlsTransport")}} object representing the {{Glossary("DTLS")}} transport used for the transmission and receipt of data packets.

Methods

The RTCSessionDescription doesn't inherit any methods and has no methods of its own.

Example

TBD

Specifications

Specification Status Comment
{{ SpecName('WebRTC 1.0', '#rtcsctptransport-interface', 'RTCSctpTransport') }} {{Spec2('WebRTC 1.0')}} Initial definition.

Browser compatibility

{{ CompatibilityTable }}

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support {{ CompatUnknown }} {{ CompatNo }} {{ CompatNo }} {{ CompatUnknown }} {{ CompatUnknown }}
Feature Android Chrome for Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support {{ CompatUnknown }} {{ CompatUnknown }} {{ CompatNo }} {{ CompatNo }} {{ CompatUnknown }} {{ CompatUnknown }}

See also

  • WebRTC
  • {{domxref("RTCPeerConnection")}}
  • {{domxref("RTCPeerConnection.sctp")}}

Revision Source

<p>{{APIRef("WebRTC")}}{{SeeCompatTable}}</p>

<p>The <strong><code>RTCSctpTransport</code></strong> interface provides information which describes a Stream Control Transmission Protocol (<strong>{{Glossary("SCTP")}}</strong>) transport. This provides information about limitations of the transport, but also provides a way to access the underlying Datagram Transport Layer Security (<strong>{{Glossary("DTLS")}}</strong>) transport over which SCTP packets for all of an {{domxref("RTCPeerConnection")}}'s data channels are sent and received.</p>

<p>You don't create {{domxref("RTCSctpTransport")}} objects yourself; instead, you get access to the <code>RTCSctpTransport</code> for a given <code>RTCPeerConnection</code> through its <strong>{{domxref("RTCPeerConnection.sctp", "sctp")}}</strong> property.</p>

<p>Possibly the most useful property on this interface is its {{domxref("RTCSctpTransport.maxMessageSize", "maxMessageSize")}} property, which you can use to determine the upper limit on the size of messages you can send over a data channel on the peer connection.</p>

<h2 id="Properties">Properties</h2>

<p><em>The <code>RTCSctpTransport</code> interface doesn't inherit any properties.</em></p>

<dl>
 <dt>{{domxref("RTCSctpTransport.maxMessageSize")}} {{ReadOnlyInline}}</dt>
 <dd>An integer value indicating the maximum size, in bytes, of a message which can be sent using the {{domxref("RTCDataChannel.send()")}} method.</dd>
 <dt>{{domxref("RTCSctpTransport.transport")}} {{ReadOnlyInline}}</dt>
 <dd>An {{domxref("RTCDtlsTransport")}} object representing the {{Glossary("DTLS")}} transport used for the transmission and receipt of data packets.</dd>
</dl>

<h2 id="Methods">Methods</h2>

<p><em>The <code>RTCSessionDescription</code> doesn't inherit any methods and has no methods of its own.</em></p>

<h2 id="Example">Example<span id="cke_bm_72C" style="display:none">&nbsp;</span></h2>

<p>TBD</p>

<h2 id="Specifications">Specifications</h2>

<table class="standard-table">
 <tbody>
  <tr>
   <th scope="col">Specification</th>
   <th scope="col">Status</th>
   <th scope="col">Comment</th>
  </tr>
  <tr>
   <td>{{ SpecName('WebRTC 1.0', '#rtcsctptransport-interface', 'RTCSctpTransport') }}</td>
   <td>{{Spec2('WebRTC 1.0')}}</td>
   <td>Initial definition.</td>
  </tr>
 </tbody>
</table>

<h2 id="Browser_compatibility">Browser compatibility</h2>

<p>{{ CompatibilityTable }}</p>

<div id="compat-desktop">
<table class="compat-table">
 <tbody>
  <tr>
   <th>Feature</th>
   <th>Chrome</th>
   <th>Firefox (Gecko)</th>
   <th>Internet Explorer</th>
   <th>Opera</th>
   <th>Safari</th>
  </tr>
  <tr>
   <td>Basic support</td>
   <td>{{ CompatUnknown }}</td>
   <td>{{ CompatNo }}</td>
   <td>{{ CompatNo }}</td>
   <td>{{ CompatUnknown }}</td>
   <td>{{ CompatUnknown }}</td>
  </tr>
 </tbody>
</table>
</div>

<div id="compat-mobile">
<table class="compat-table">
 <tbody>
  <tr>
   <th>Feature</th>
   <th>Android</th>
   <th>Chrome for Android</th>
   <th>Firefox Mobile (Gecko)</th>
   <th>IE Mobile</th>
   <th>Opera Mobile</th>
   <th>Safari Mobile</th>
  </tr>
  <tr>
   <td>Basic support</td>
   <td>{{ CompatUnknown }}</td>
   <td>{{ CompatUnknown }}</td>
   <td>{{ CompatNo }}</td>
   <td>{{ CompatNo }}</td>
   <td>{{ CompatUnknown }}</td>
   <td>{{ CompatUnknown }}</td>
  </tr>
 </tbody>
</table>
</div>

<h2 id="See_also">See also</h2>

<ul>
 <li><a href="/en-US/docs/Web/Guide/API/WebRTC" title="/en-US/docs/CSS/Using_CSS_animations">WebRTC</a></li>
 <li>{{domxref("RTCPeerConnection")}}</li>
 <li>{{domxref("RTCPeerConnection.sctp")}}</li>
</ul>
Revert to this revision