修复默认音频参数相关bug

This commit is contained in:
xia-chu
2024-11-30 10:54:35 +08:00
parent d1f3961326
commit aa56576b0e
2 changed files with 2 additions and 2 deletions

View File

@@ -65,7 +65,7 @@ public:
* [AUTO-TRANSLATED:397b982e]
*/
static Track::Ptr getTrackByCodecId(CodecId codecId, int sample_rate = 0, int channels = 0, int sample_bit = 0);
static Track::Ptr getTrackByCodecId(CodecId codecId, int sample_rate = 0, int channels = 1, int sample_bit = 16);
// //////////////////////////////rtsp相关////////////////////////////////// [AUTO-TRANSLATED:884055ec]
// //////////////////////////////rtsp相关//////////////////////////////////