Caracola.SDP.Media (Caracola v0.1.0-rc.1)

Copy Markdown View Source

An SDP media description (m= section).

Summary

Types

t()

A media description of a session: type, port, protocol, formats and attributes.

Types

t()

@type t() :: %Caracola.SDP.Media{
  attributes: [Caracola.SDP.attribute()],
  bandwidth: [String.t()],
  connect: Caracola.SDP.address() | nil,
  fmt: [String.t()],
  info: String.t() | nil,
  key: String.t() | nil,
  media: String.t(),
  nports: pos_integer(),
  port: :inet.port_number(),
  proto: String.t()
}

A media description of a session: type, port, protocol, formats and attributes.