Adding a Repeat Field to the SDP Session Structure
int sdp_add_repeat(sdp_time_t *time, uint64_t interval, uint64_t duration, const char *offset);
The sdp_add_repeat
()
function adds the REPEAT
(r=
) SDP field to the session structure using the values of the interval
, duration
, and offset
parameters.
The value of the offset
parameter is a string that
holds one or more offset values, such as 60
or 60
1d 3h
. The value of the time
parameter is
the pointer to the time structure that the sdp_add_time
()
function
creates.
For more information, see the
sdp_add_repeat
(3COMMPUTIL) man page.