mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 02:34:26 +08:00
适配webrtc AV1编码: #2091
This commit is contained in:
parent
255ccb4265
commit
fc433de9ac
@ -321,7 +321,7 @@ rembBitRate=0
|
||||
preferredCodecA=PCMU,PCMA,opus,mpeg4-generic
|
||||
#rtc支持的视频codec类型,在前面的优先级更高
|
||||
#以下范例为所有支持的视频codec
|
||||
preferredCodecV=H264,H265,AV1X,VP9,VP8
|
||||
preferredCodecV=H264,H265,AV1,VP9,VP8
|
||||
|
||||
[srt]
|
||||
#srt播放推流、播放超时时间,单位秒
|
||||
|
@ -38,7 +38,7 @@ typedef enum {
|
||||
XX(CodecL16, TrackAudio, 6, "L16", PSI_STREAM_RESERVED) \
|
||||
XX(CodecVP8, TrackVideo, 7, "VP8", PSI_STREAM_VP8) \
|
||||
XX(CodecVP9, TrackVideo, 8, "VP9", PSI_STREAM_VP9) \
|
||||
XX(CodecAV1, TrackVideo, 9, "AV1X", PSI_STREAM_AV1)
|
||||
XX(CodecAV1, TrackVideo, 9, "AV1", PSI_STREAM_AV1)
|
||||
|
||||
typedef enum {
|
||||
CodecInvalid = -1,
|
||||
|
@ -23,7 +23,7 @@ const string kPreferredCodecA = RTC_FIELD"preferredCodecA";
|
||||
const string kPreferredCodecV = RTC_FIELD"preferredCodecV";
|
||||
static onceToken token([]() {
|
||||
mINI::Instance()[kPreferredCodecA] = "PCMU,PCMA,opus,mpeg4-generic";
|
||||
mINI::Instance()[kPreferredCodecV] = "H264,H265,AV1X,VP9,VP8";
|
||||
mINI::Instance()[kPreferredCodecV] = "H264,H265,AV1,VP9,VP8";
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -128,7 +128,7 @@ a=rtcp-fb:108 nack pli
|
||||
a=fmtp:108 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=42e01f
|
||||
a=rtpmap:109 rtx/90000
|
||||
a=fmtp:109 apt=108
|
||||
a=rtpmap:35 AV1X/90000
|
||||
a=rtpmap:35 AV1/90000
|
||||
a=rtcp-fb:35 goog-remb
|
||||
a=rtcp-fb:35 transport-cc
|
||||
a=rtcp-fb:35 ccm fir
|
||||
|
Loading…
Reference in New Issue
Block a user