Adding an Origin Field to the SDP Session Structure

int sdp_add_origin(sdp_session_t *session, const char *name,
            uint64_t id, uint64_t ver, const char *nettype,
            const char *addrtype, const char *address);

The sdp_add_origin() function adds the ORIGIN (o=) SDP field to the session structure that is specified by the value of the session parameter (sdp_session_t) using the name, id, ver, nettype, addrtype, and address parameters.

For more information, see the sdp_add_origin(3COMMPUTIL) man page.