libosmo-cc/src
Andreas Eversberg 6ab8dc1dea SDP: Fix interpretation of number of channels within rtpmap
The standard says (RFC 4566 / 8866):

"For audio streams, encoding-params indicates the number of audio
channels. This parameter is OPTIONAL and may be omitted if the number
of channels is one, provided that no additional parameters
are needed."

This means that the number of channels is 1, if not specified within
rtpmap. It does not state that the codec's default value shall be used,
nor static payload definition.

Addionally the encoder always defines the number of channel. As the
encoding-params MAY be omitted, they are added to the rtpmap line, even
if the number of channels is 1.
2024-02-18 18:49:31 +01:00
..
Makefile.am Initial import from osmocom-analog 2024-01-27 11:30:08 +01:00
cause.c Initial import from osmocom-analog 2024-01-27 11:30:08 +01:00
endpoint.c Initial import from osmocom-analog 2024-01-27 11:30:08 +01:00
g711.c Initial import from osmocom-analog 2024-01-27 11:30:08 +01:00
helper.c Initial import from osmocom-analog 2024-01-27 11:30:08 +01:00
message.c Change IE_METERING timing information from deciseconds to seconds and milliseconds 2024-01-29 10:31:48 +01:00
misc.c Initial import from osmocom-analog 2024-01-27 11:30:08 +01:00
rtp.c Initial import from osmocom-analog 2024-01-27 11:30:08 +01:00
screen.c Initial import from osmocom-analog 2024-01-27 11:30:08 +01:00
sdp.c SDP: Fix interpretation of number of channels within rtpmap 2024-02-18 18:49:31 +01:00
session.c Initial import from osmocom-analog 2024-01-27 11:30:08 +01:00
socket.c Initial import from osmocom-analog 2024-01-27 11:30:08 +01:00