Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
ortp
Commits
d2a8cb08
Commit
d2a8cb08
authored
Aug 17, 2010
by
Simon Morlat
Browse files
add g722
parent
a0846207
Changes
2
Hide whitespace changes
Inline
Side-by-side
include/ortp/payloadtype.h
View file @
d2a8cb08
...
...
@@ -201,6 +201,7 @@ VAR_DECLSPEC PayloadType payload_type_x_snow;
VAR_DECLSPEC
PayloadType
payload_type_jpeg
;
VAR_DECLSPEC
PayloadType
payload_type_t140
;
VAR_DECLSPEC
PayloadType
payload_type_g722
;
/* non standard file transfer over UDP */
VAR_DECLSPEC
PayloadType
payload_type_x_udpftp
;
...
...
src/avprofile.c
View file @
d2a8cb08
...
...
@@ -303,6 +303,7 @@ void av_profile_init(RtpProfile *profile)
rtp_profile_set_payload
(
profile
,
7
,
&
payload_type_lpc
);
rtp_profile_set_payload
(
profile
,
4
,
&
payload_type_g7231
);
rtp_profile_set_payload
(
profile
,
8
,
&
payload_type_pcma8000
);
rtp_profile_set_payload
(
profile
,
9
,
&
payload_type_g722
);
rtp_profile_set_payload
(
profile
,
10
,
&
payload_type_l16_stereo
);
rtp_profile_set_payload
(
profile
,
11
,
&
payload_type_l16_mono
);
rtp_profile_set_payload
(
profile
,
18
,
&
payload_type_g729
);
...
...
@@ -514,3 +515,15 @@ PayloadType payload_type_x_udpftp={
0
};
PayloadType
payload_type_g722
=
{
TYPE
(
PAYLOAD_AUDIO_PACKETIZED
),
CLOCK_RATE
(
16000
),
BITS_PER_SAMPLE
(
0
),
ZERO_PATTERN
(
NULL
),
PATTERN_LENGTH
(
0
),
NORMAL_BITRATE
(
64000
),
MIME_TYPE
(
"G722"
),
CHANNELS
(
1
)
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment