Commit a3311dd3 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

SAP: add new payload types

parent 58469fda
......@@ -602,6 +602,7 @@ int rtp_autodetect (demux_t *demux, rtp_session_t *session,
.number = ptype,
};
/* Remember to keep this in sync with modules/services_discovery/sap.c */
switch (ptype)
{
case 0:
......
......@@ -290,9 +290,11 @@ static bool IsWellKnownPayload (int type)
switch (type)
{ /* Should be in sync with modules/demux/rtp.c */
case 0: /* PCMU/8000 */
case 3:
case 8: /* PCMA/8000 */
case 10: /* L16/44100/2 */
case 11: /* L16/44100 */
case 12:
case 14: /* MPA/90000 */
case 32: /* MPV/90000 */
case 33: /* MP2/90000 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment