View Source ExWebRTC.RTPTransceiver (ex_webrtc v0.1.0)

Implementation of the RTCRtpTransceiver.

Summary

Types

@type direction() :: :sendonly | :recvonly | :sendrecv | :inactive | :stopped
@type id() :: integer()
@type kind() :: :audio | :video
@type t() :: %ExWebRTC.RTPTransceiver{
  added_by_add_track: boolean(),
  codecs: [ExWebRTC.RTPCodecParameters.t()],
  current_direction: direction() | nil,
  direction: direction(),
  fired_direction: direction() | nil,
  id: id(),
  kind: kind(),
  mid: String.t() | nil,
  mline_idx: non_neg_integer() | nil,
  receiver: ExWebRTC.RTPReceiver.t(),
  rtp_hdr_exts: [ExSDP.Attribute.Extmap.t()],
  sender: ExWebRTC.RTPSender.t(),
  stopped: boolean(),
  stopping: boolean()
}