1
<!-- ##### SECTION Title ##### -->
2
RTP payloads and profiles
4
<!-- ##### SECTION Short_Description ##### -->
5
This section describes the way that the oRTP stack manages RTP profiles and payload types.
7
<!-- ##### SECTION Long_Description ##### -->
9
A rtp payload type is a number between 0 and 127 that identifies a particular payload
10
(GSM, PCMU, MPEG,...) within a given rtp profile. The #PayloadType object in oRTP describes
13
An RTP profile is a table that assigns particular payloads (GSM, MPEG...) to a payload type
14
number within the range 0..127. In oRTP, profiles are represented by the #RtpProfile object.
16
For example in the AV profile (Audio Video profile, defined in RFC1890), often used
17
by telephony applications, the payload type number 8 is assigned to PCMA
18
(A-law compressed audio) at sampling frequency 8000 Hz, mono.
20
By default, all RTP sessions created by oRTP use the AV profile, but you can change the profile
21
of an RTP session using rtp_session_set_profile().
24
<!-- ##### SECTION See_Also ##### -->
26
rtp_session_set_profile()
29
<!-- ##### STRUCT PayloadType ##### -->
43
<!-- ##### STRUCT RtpProfile ##### -->
51
<!-- ##### VARIABLE av_profile ##### -->
53
This is the Audio Video profile defined in RFC1890.
57
<!-- ##### MACRO rtp_profile_clear_all ##### -->
65
<!-- ##### MACRO rtp_profile_get_name ##### -->
73
<!-- ##### MACRO rtp_profile_set_name ##### -->
82
<!-- ##### MACRO rtp_profile_set_payload ##### -->
92
<!-- ##### MACRO rtp_profile_get_payload ##### -->
101
<!-- ##### MACRO rtp_profile_clear_payload ##### -->
110
<!-- ##### MACRO rtp_profile_clear_all ##### -->