Membrane Protocol SDP v0.1.1 Membrane.Protocol.SDP.Encryption View Source

This module represents Encryption field of SDP that stores encryption key or acquisition method of such key.

Session key should be present IFF the transport medium is secure.

For more details please see RFC4566 Section 5.12

Link to this section Summary

Link to this section Types

Link to this type

methods() View Source
methods() :: :prompt | :base64 | :clear | :prompt

Link to this type

t() View Source
t() :: %Membrane.Protocol.SDP.Encryption{key: binary() | nil, method: methods()}

Link to this section Functions

Link to this function

parse(definition) View Source
parse(binary()) :: {:ok, t()} | {:error, :unsupported_method}