View Source ExWebRTC.RTPSender (ex_webrtc v0.2.0)

Implementation of the RTCRtpSender.

Summary

Types

t()

Struct representing a sender.

Types

@type id() :: integer()
@type t() :: %ExWebRTC.RTPSender{
  codec: ExWebRTC.RTPCodecParameters.t() | nil,
  id: id(),
  track: ExWebRTC.MediaStreamTrack.t() | nil
}

Struct representing a sender.

The fields mostly match these of RTCRtpSender, except for:

  • id - to uniquely identify the sender.
  • codec - codec this sender is going to send.