Interface RTCDataChannel

Hierarchy

Properties

binaryType: BinaryType
bufferedAmount: number
bufferedAmountLowThreshold: number
id: number
label: string
maxPacketLifeTime: number
maxRetransmits: number
negotiated: boolean
onbufferedamountlow: ((this, ev) => any)

Type declaration

onclose: ((this, ev) => any)

Type declaration

onclosing: ((this, ev) => any)

Type declaration

onerror: ((this, ev) => any)

Type declaration

onmessage: ((this, ev) => any)

Type declaration

onopen: ((this, ev) => any)

Type declaration

ordered: boolean
protocol: string

Methods

  • Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.

    MDN Reference

    Parameters

    Returns boolean

  • Parameters

    • data: string

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void