Browse Source

MT#55283 don't pick an unsupported PT for playback

Make sure we properly return a failure if no supported payload type is
present.

Change-Id: Ia483e0819b2d8ca0c2c5184c929dfe3d05c96ca1
(cherry picked from commit 5f6609de5d)
(cherry picked from commit 357c4f1e4d)
mr12.5.1
Richard Fuchs 10 months ago
parent
commit
5db3023660
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      daemon/media_player.c

+ 1
- 0
daemon/media_player.c View File

@ -826,6 +826,7 @@ static rtp_payload_type *media_player_get_dst_pt(struct media_player *mp) {
ensure_codec_def(dst_pt, mp->media);
if (codec_def_supported(dst_pt->codec_def) && !dst_pt->codec_def->supplemental)
goto found;
dst_pt = NULL;
}
if (!dst_pt) {
ilog(LOG_ERR, "No supported output codec found in SDP");


Loading…
Cancel
Save