# xmedialib v0.3.0 - Table of Contents > Media library for the XTurn server. ## Pages - [XMediaLib](readme.md) - [LICENSE](license.md) - [Changelog](changelog.md) ## Modules - [XMediaLib](XMediaLib.md): XMediaLib is a media and signaling toolkit for VoIP and WebRTC applications. - [XMediaLib.CRC32C](XMediaLib.CRC32C.md): Castagnoli CRC-32 (CRC32C) over binary data. - [XMediaLib.Codec](XMediaLib.Codec.md): Audio codec encode/decode via Erlang port drivers. - [XMediaLib.Codec.OpusFmtp](XMediaLib.Codec.OpusFmtp.md): Parse Opus `a=fmtp` parameter strings for codec setup. - [XMediaLib.Rtcp](XMediaLib.Rtcp.md): Encode and decode RTP Control Protocol (RTCP) packets. - [XMediaLib.Rtcp.Alfb](XMediaLib.Rtcp.Alfb.md): RFC 4585 Application Layer Feedback (AFB) message. - [XMediaLib.Rtcp.App](XMediaLib.Rtcp.App.md): RFC 3550 Application-defined (APP) packet. - [XMediaLib.Rtcp.Avb](XMediaLib.Rtcp.Avb.md): IEEE 1733 Audio Video Bridging (AVB) RTCP payload. - [XMediaLib.Rtcp.Bye](XMediaLib.Rtcp.Bye.md): RFC 3550 Goodbye (BYE) when one or more SSRCs leave the session. - [XMediaLib.Rtcp.Fir](XMediaLib.Rtcp.Fir.md): RFC 2032 Full INTRA-frame Request (FIR) for H.261. - [XMediaLib.Rtcp.Gnack](XMediaLib.Rtcp.Gnack.md): RFC 4585 Generic NACK (transport-layer feedback). - [XMediaLib.Rtcp.Nack](XMediaLib.Rtcp.Nack.md): RFC 2032 Negative Acknowledgement (legacy H.261 NACK). - [XMediaLib.Rtcp.Pli](XMediaLib.Rtcp.Pli.md): RFC 4585 Picture Loss Indication (PLI). - [XMediaLib.Rtcp.Rblock](XMediaLib.Rtcp.Rblock.md): RFC 3550 reception report block embedded in SR or RR. - [XMediaLib.Rtcp.Remb](XMediaLib.Rtcp.Remb.md): Receiver Estimated Maximum Bitrate (draft-alvestrand-rmcat-remb). - [XMediaLib.Rtcp.Rpsi](XMediaLib.Rtcp.Rpsi.md): RFC 4585 Reference Picture Selection Indication (RPSI). - [XMediaLib.Rtcp.Rr](XMediaLib.Rtcp.Rr.md): RFC 3550 Receiver Report (RR) with optional RFC 5450 inter-arrival jitter in `:ijs`. - [XMediaLib.Rtcp.Sdes](XMediaLib.Rtcp.Sdes.md): RFC 3550 Source Description (SDES) with CNAME and optional items. - [XMediaLib.Rtcp.Sli](XMediaLib.Rtcp.Sli.md): RFC 4585 Slice Loss Indication (SLI). - [XMediaLib.Rtcp.Smptetc](XMediaLib.Rtcp.Smptetc.md): RFC 5484 SMPTE timecode (short or long form). - [XMediaLib.Rtcp.Sr](XMediaLib.Rtcp.Sr.md): RFC 3550 Sender Report (SR). - [XMediaLib.Rtcp.Twcc](XMediaLib.Rtcp.Twcc.md): Transport-wide congestion control feedback (draft-holmer transport-cc). - [XMediaLib.Rtcp.TwccFci](XMediaLib.Rtcp.TwccFci.md): Parses and packs transport-wide CC feedback FCI (status chunks + recv deltas). - [XMediaLib.Rtcp.Xr](XMediaLib.Rtcp.Xr.md): RFC 3611 Extended Report (XR) with typed report blocks. - [XMediaLib.Rtcp.Xrblock](XMediaLib.Rtcp.Xrblock.md): RFC 3611 XR report block body. - [XMediaLib.Rtp](XMediaLib.Rtp.md): Encode and decode Real-time Transport Protocol (RTP) packets. - [XMediaLib.Rtp.DependencyDescriptor](XMediaLib.Rtp.DependencyDescriptor.md): Dependency Descriptor (DD) RTP header-extension helpers for SFU layer select. - [XMediaLib.Rtp.DependencyDescriptor.BitBuffer](XMediaLib.Rtp.DependencyDescriptor.BitBuffer.md): Bitstream reader/writer for WebRTC Dependency Descriptor packing. - [XMediaLib.Rtp.DependencyDescriptor.Chrome](XMediaLib.Rtp.DependencyDescriptor.Chrome.md): Chrome/WebRTC Dependency Descriptor bit packing (parse + encode). - [XMediaLib.Rtp.Dtmf](XMediaLib.Rtp.Dtmf.md): RFC 4733 telephone-event (DTMF) payload after decode. - [XMediaLib.Rtp.Extension](XMediaLib.Rtp.Extension.md): RFC 3550 RTP header extension block. - [XMediaLib.Rtp.HeaderExtension](XMediaLib.Rtp.HeaderExtension.md): Parses RTP header extension elements inside an RFC 3550 extension block. - [XMediaLib.Rtp.Tone](XMediaLib.Rtp.Tone.md): RFC 4733 tone payload (modulated or multi-frequency tones). - [XMediaLib.SAS](XMediaLib.SAS.md): Short Authentication String (SAS) rendering for ZRTP. - [XMediaLib.SDP](XMediaLib.SDP.md): Session Description Protocol (SDP) parse and encode for real-time sessions. - [XMediaLib.SDP.Candidate](XMediaLib.SDP.Candidate.md): ICE candidate attribute (`a=candidate:`) advertising a reachable transport address. - [XMediaLib.SDP.Codec](XMediaLib.SDP.Codec.md): RTP dynamic payload mapping (`a=rtpmap:`). - [XMediaLib.SDP.Connection](XMediaLib.SDP.Connection.md): SDP connection data (`c=`) giving the default network address for media. - [XMediaLib.SDP.Dcmap](XMediaLib.SDP.Dcmap.md): SCTP data channel map (`a=dcmap:`) describing a WebRTC data channel. - [XMediaLib.SDP.Encoder](XMediaLib.SDP.Encoder.md): Encodes `%XMediaLib.SDP{}` to wire-format SDP. - [XMediaLib.SDP.Extmap](XMediaLib.SDP.Extmap.md): RTP header extension map (`a=extmap:`). - [XMediaLib.SDP.Fingerprint](XMediaLib.SDP.Fingerprint.md): DTLS certificate fingerprint (`a=fingerprint:`) for SRTP keying. - [XMediaLib.SDP.Fmtp](XMediaLib.SDP.Fmtp.md): Format parameters (`a=fmtp:`) carrying codec-specific configuration. - [XMediaLib.SDP.Group](XMediaLib.SDP.Group.md): SDP grouping attribute (`a=group:`) for related media sections. - [XMediaLib.SDP.Media](XMediaLib.SDP.Media.md): One SDP media section (`m=` line) and its media-level attributes. - [XMediaLib.SDP.Origin](XMediaLib.SDP.Origin.md): SDP origin line (`o=`) identifying the session creator and session id. - [XMediaLib.SDP.Parser](XMediaLib.SDP.Parser.md): Line-oriented SDP parser. - [XMediaLib.SDP.Parser.Helpers](XMediaLib.SDP.Parser.Helpers.md): Field parsers for individual SDP line values. - [XMediaLib.SDP.RtcpFb](XMediaLib.SDP.RtcpFb.md): RTP/AVPF feedback (`a=rtcp-fb:`) declaring RTCP feedback capabilities. - [XMediaLib.SDP.Ssrc](XMediaLib.SDP.Ssrc.md): SSRC-level attribute (`a=ssrc:`) binding metadata to an RTP synchronization source. - [XMediaLib.SDP.Time](XMediaLib.SDP.Time.md): SDP timing (`t=`) describing when the session is active. - [XMediaLib.SIP](XMediaLib.SIP.md): Session Initiation Protocol (SIP) message parse and encode. - [XMediaLib.SIP.Elixir](XMediaLib.SIP.Elixir.md): Pure-Elixir SIP message parser and encoder. - [XMediaLib.Srtp](XMediaLib.Srtp.md): Secure RTP (SRTP) and Secure RTCP (SRTCP) encryption and authentication. - [XMediaLib.Srtp.Srtp_Crypto_Ctx](XMediaLib.Srtp.Srtp_Crypto_Ctx.md): Per-SSRC SRTP cryptographic state (RFC 3711). - [XMediaLib.Stun](XMediaLib.Stun.md): Encode and decode STUN and TURN messages. - [XMediaLib.TestUtils](XMediaLib.TestUtils.md): Test and lab helpers for codec golden-file verification. - [XMediaLib.Zrtp](XMediaLib.Zrtp.md): ZRTP packet encode and decode (RFC 6189). - [XMediaLib.ZrtpCrypto](XMediaLib.ZrtpCrypto.md): Cryptographic primitives for ZRTP key agreement and key derivation. - [XMediaLib.ZrtpFsm](XMediaLib.ZrtpFsm.md): ZRTP handshake state machine (RFC 6189). - [XMediaLib.ZrtpSchema](XMediaLib.ZrtpSchema.md): Struct definitions for ZRTP protocol messages. - [XMediaLib.ZrtpSchema.Commit](XMediaLib.ZrtpSchema.Commit.md): COMMIT message: chosen algorithms and Hash Commitment (HVI) or non-DH nonce. - [XMediaLib.ZrtpSchema.Confirm1](XMediaLib.ZrtpSchema.Confirm1.md): Confirm1 message: initiator confirms keys (encrypted or cleartext H0 block). - [XMediaLib.ZrtpSchema.Confirm2](XMediaLib.ZrtpSchema.Confirm2.md): Confirm2 message: responder confirms keys (same layout as Confirm1). - [XMediaLib.ZrtpSchema.DHPart1](XMediaLib.ZrtpSchema.DHPart1.md): DHPart1 message: responder DH public value and retained-secret ids. - [XMediaLib.ZrtpSchema.DHPart2](XMediaLib.ZrtpSchema.DHPart2.md): DHPart2 message: initiator DH public value and retained-secret ids. - [XMediaLib.ZrtpSchema.Error](XMediaLib.ZrtpSchema.Error.md): ERROR message: protocol failure code (see `XMediaLib.Zrtp.zrtp_error_*` helpers). - [XMediaLib.ZrtpSchema.GoClear](XMediaLib.ZrtpSchema.GoClear.md): GoClear message: request to drop SRTP protection (requires peer consent). - [XMediaLib.ZrtpSchema.Hello](XMediaLib.ZrtpSchema.Hello.md): HELLO message: capability advertisement and hash image H3. - [XMediaLib.ZrtpSchema.Ping](XMediaLib.ZrtpSchema.Ping.md): Ping message: endpoint liveness / hash probe (RFC 6189). - [XMediaLib.ZrtpSchema.PingAck](XMediaLib.ZrtpSchema.PingAck.md): PingACK message: response to Ping with both endpoint hashes and SSRC. - [XMediaLib.ZrtpSchema.SASRelay](XMediaLib.ZrtpSchema.SASRelay.md): SASrelay message: relay SAS verification status through a trusted MiTM. - [XMediaLib.ZrtpSchema.Signature](XMediaLib.ZrtpSchema.Signature.md): Optional signature block attached to Confirm or SASrelay messages. - [XMediaLib.ZrtpSchema.State](XMediaLib.ZrtpSchema.State.md): Internal FSM state for `XMediaLib.ZrtpFsm` (not sent on the wire).