Membrane Protocol SDP v0.1.0 Membrane.Protocol.SDP.RepeatTimes View Source
This module represents field of SDP that specifies
rebroadcasts of a session. Works directly in conjunction
with timing t
parameter.
- active_duration - how long session will last
- repeat_interval - interval of session rebroadcast
- offsets - offset between scheduled rebroadcast
If start_time
of t
is set to today 3pm, active_duration
is set
to 3h
, repeat_interval
is set to 14d
and offsets
are 0 4d
then session will be rebroadcasted today at 3pm and on Thursday 3pm
every two week until end_time
of param t
.
For more details please see RFC4566 Section 5.10.
Link to this section Summary
Link to this section Types
Link to this type
reason()
View Source
reason()
View Source
reason() ::
:duration_nan
| :interval_nan
| :no_offsets
| :malformed_repeat
| {:invalid_offset | :invalid_unit, binary()}
reason() :: :duration_nan | :interval_nan | :no_offsets | :malformed_repeat | {:invalid_offset | :invalid_unit, binary()}
Link to this type
t()
View Source
t()
View Source
t() :: %Membrane.Protocol.SDP.RepeatTimes{
active_duration: non_neg_integer(),
offsets: [non_neg_integer()],
repeat_interval: non_neg_integer()
}
t() :: %Membrane.Protocol.SDP.RepeatTimes{ active_duration: non_neg_integer(), offsets: [non_neg_integer()], repeat_interval: non_neg_integer() }
Link to this section Functions
Link to this function