Skip to content

Commit 850138a

Browse files
committed
set ug_options.audio.codec_cfg=nullptr
The commit b785c3d from 2024-08-05 changed the default unconditionally to PCM, but this has been true just for UltraGrid RTP, not RTSP or SDP that used MP3, so this change reverts it back.
1 parent 06bb519 commit 850138a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ struct ug_options {
493493
// will be adjusted later
494494
audio.recv_port = -1;
495495
audio.send_port = -1;
496-
audio.codec_cfg = "PCM";
496+
audio.codec_cfg = nullptr;
497497
common.mtu = 0;
498498
}
499499
~ug_options() {

0 commit comments

Comments
 (0)