View Source ExRTP.Packet.Extension.AudioLevel (ex_rtp v0.4.0)

Audio Level Extension described in RFC 6464.

Summary

Types

t()

Struct representing Audio Level Extension.

Types

@type level() :: 0..127
@type t() :: %ExRTP.Packet.Extension.AudioLevel{level: level(), voice: boolean()}

Struct representing Audio Level Extension.

Functions

Callback implementation for ExRTP.Packet.Extension.from_raw/1.

@spec new(boolean(), level()) :: t()

Create new ExRTP.Packet.Extension.AudioLevel.t/0 struct.

Callback implementation for ExRTP.Packet.Extension.to_raw/2.