|
Functions | |
| int | rtp_announce_pt (rtp_session *rtp_sess, unsigned pt, rtp_media_type media_type) |
| int | rtp_dynpt_reg (rtp_session *rtp_sess, unsigned pt, char *mime) |
| rtp_pt * | rtp_get_pt_info (rtp_session *rtp_sess, unsigned pt) |
| int rtp_announce_pt | ( | rtp_session * | rtp_sess, | |
| unsigned | pt, | |||
| rtp_media_type | media_type | |||
| ) |
Creates and registers a new payload type for a session and appends it to the announced formats list.
| rtp_sess | The session owning the payload type array where to register the new payload type. | |
| pt | The id to assign to the payload type | |
| media_type | The type of media for the given payload type. |
Definition at line 402 of file rtp_payload_type.c.
| int rtp_dynpt_reg | ( | rtp_session * | rtp_sess, | |
| unsigned | pt, | |||
| char * | mime | |||
| ) |
Registers a MIME type for the given payload type id (a payload type must already be registered at the given ID)
| rtp_sess | The session owning the payload type array where to look up the given ID. | |
| pt | The id to look up | |
| mime | The MIME type to register |
Definition at line 377 of file rtp_payload_type.c.
| rtp_pt* rtp_get_pt_info | ( | rtp_session * | rtp_sess, | |
| unsigned | pt | |||
| ) |
Returns the payload type informations for the given ID
| rtp_sess | The session owning the payload type array where to look up the given ID. | |
| pt | The id to look up |
Definition at line 361 of file rtp_payload_type.c.
1.5.4