RTCRtpTransceiver

Overview

The WebRTC interface RTCRtpTransceiver describes a permanent pairing of an RTCRtpSender and an RTCRtpReceiver, along with some shared state.

Location

 

currentDirection

 

property currentDirection: String read;

 

String currentDirection { get; }

 

var currentDirection: String { get{} }

 

String currentDirection { __get; }

 

ReadOnly Property currentDirection() As String

direction

 

property direction: String read write;

 

String direction { get; set; }

 

var direction: String { get{} set{} }

 

String direction { __get; __set; }

 

Property direction() As String

mid

 

property mid: Int32 read;

 

Int32 mid { get; }

 

var mid: Int32 { get{} }

 

Int32 mid { __get; }

 

ReadOnly Property mid() As Int32

receiver

 

property receiver: dynamic read;

 

dynamic receiver { get; }

 

var receiver: dynamic { get{} }

 

dynamic receiver { __get; }

 

ReadOnly Property receiver() As dynamic

sender

 

property sender: dynamic read;

 

dynamic sender { get; }

 

var sender: dynamic { get{} }

 

dynamic sender { __get; }

 

ReadOnly Property sender() As dynamic

setCodecPreferences

A list of RTCRtpCodecParameters objects which override the default preferences used by the user agent for the transceiver's codecs.

 

method setCodecPreferences(parcodecs: dynamic): array of RTCRtpCodecParameters

 

RTCRtpCodecParameters[] setCodecPreferences(dynamic parcodecs)

 

func setCodecPreferences(_ parcodecs: dynamic) -> RTCRtpCodecParameters...

 

RTCRtpCodecParameters[] setCodecPreferences(dynamic parcodecs)

 

Function setCodecPreferences(parcodecs As dynamic) As RTCRtpCodecParameters()

Parameters:

  • parcodecs:

stop

Permanently stops the RTCRtpTransceiver. The associated sender stops sending data, and the associated receiver likewise stops receiving and decoding incoming data.

 

method stop

 

void stop()

 

func stop()

 

void stop()

 

Sub stop()

stopped

 

property stopped: Boolean read write;

 

Boolean stopped { get; set; }

 

var stopped: Boolean { get{} set{} }

 

Boolean stopped { __get; __set; }

 

Property stopped() As Boolean

 

currentDirection

 

property currentDirection: String read;

 

String currentDirection { get; }

 

var currentDirection: String { get{} }

 

String currentDirection { __get; }

 

ReadOnly Property currentDirection() As String

direction

 

property direction: String read write;

 

String direction { get; set; }

 

var direction: String { get{} set{} }

 

String direction { __get; __set; }

 

Property direction() As String

mid

 

property mid: Int32 read;

 

Int32 mid { get; }

 

var mid: Int32 { get{} }

 

Int32 mid { __get; }

 

ReadOnly Property mid() As Int32

receiver

 

property receiver: dynamic read;

 

dynamic receiver { get; }

 

var receiver: dynamic { get{} }

 

dynamic receiver { __get; }

 

ReadOnly Property receiver() As dynamic

sender

 

property sender: dynamic read;

 

dynamic sender { get; }

 

var sender: dynamic { get{} }

 

dynamic sender { __get; }

 

ReadOnly Property sender() As dynamic

stopped

 

property stopped: Boolean read write;

 

Boolean stopped { get; set; }

 

var stopped: Boolean { get{} set{} }

 

Boolean stopped { __get; __set; }

 

Property stopped() As Boolean

 

setCodecPreferences

A list of RTCRtpCodecParameters objects which override the default preferences used by the user agent for the transceiver's codecs.

 

method setCodecPreferences(parcodecs: dynamic): array of RTCRtpCodecParameters

 

RTCRtpCodecParameters[] setCodecPreferences(dynamic parcodecs)

 

func setCodecPreferences(_ parcodecs: dynamic) -> RTCRtpCodecParameters...

 

RTCRtpCodecParameters[] setCodecPreferences(dynamic parcodecs)

 

Function setCodecPreferences(parcodecs As dynamic) As RTCRtpCodecParameters()

Parameters:

  • parcodecs:

stop

Permanently stops the RTCRtpTransceiver. The associated sender stops sending data, and the associated receiver likewise stops receiving and decoding incoming data.

 

method stop

 

void stop()

 

func stop()

 

void stop()

 

Sub stop()