Skip to content

Latest commit

 

History

History
162 lines (93 loc) · 4.16 KB

ersip_sdp_media.md

File metadata and controls

162 lines (93 loc) · 4.16 KB

Module ersip_sdp_media

Data Types


maybe_binary() = binary() | undefined

media() = #media{type = media_type(), port = inet:port_number(), port_num = non_neg_integer() | undefined, protocol = [binary(), ...], fmts = [binary()], title = maybe_binary(), conn = ersip_sdp_conn:conn() | undefined, bandwidth = ersip_sdp_bandwidth:bandwidth(), key = maybe_binary(), attrs = ersip_sdp_attr:attr_list()}

media_type() = binary()

Function Index

assemble/1
attrs/1
conn/1
formats/1
parse/1
port/1
port_num/1
protocol/1
set_attrs/2
set_conn/2
type/1

Function Details

assemble/1


assemble(Medias::[media()]) -> iolist()

attrs/1


conn/1


conn(Media::media()) -> ersip_sdp_conn:conn() | undefined

formats/1


formats(Media::media()) -> [binary()]

parse/1


parse(Bin::binary()) -> parse_result()

port/1


port(Media::media()) -> inet:port_number()

port_num/1


port_num(Media::media()) -> non_neg_integer() | undefined

protocol/1


protocol(Media::media()) -> [binary(), ...]

set_attrs/2


set_attrs(A::ersip_sdp_attr:attr_list(), Media::media()) -> media()

set_conn/2


set_conn(Conn::ersip_sdp_conn:conn(), Media::media()) -> media()

type/1


type(Media::media()) -> binary()