mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-20 06:40:03 +00:00
rtsp server: fix media type print on err
this fixes the commit 6d5c6fe1 (2024-08-04)
This commit is contained in:
@@ -139,7 +139,7 @@ void BasicRTSPOnlySubsession::setSDPLines(int addressFamily) {
|
||||
rtsp_params.adesc.ch_count, rtpmapLine)
|
||||
: get_video_rtp_pt_rtpmap(rtsp_params.video_codec, rtpmapLine);
|
||||
if (rtpPayloadType < 0) {
|
||||
MSG(ERROR, "Unsupported %s codec %s!\n", mspec[avType].mname,
|
||||
MSG(ERROR, "Unsupported %s codec %s!\n", mspec->mname,
|
||||
avType == rtsp_type_audio
|
||||
? get_name_to_audio_codec(rtsp_params.adesc.codec)
|
||||
: get_codec_name(rtsp_params.video_codec));
|
||||
|
||||
Reference in New Issue
Block a user