簡介
本檔案介紹如何在思科會議伺服器(CMS)上啟用AOMedia Video 1(AV1)編解碼器。
必要條件
需求
思科建議您瞭解CMS配置。
採用元件
本文中的資訊係根據以下軟體和硬體版本:
- CMS版本3.9服務Callbridge
- Chrome瀏覽器122.0.6261.112
- Firefox瀏覽器123.0.1(20240304104836)
本文中的資訊是根據特定實驗室環境內的裝置所建立。文中使用到的所有裝置皆從已清除(預設)的組態來啟動。如果您的網路運作中,請確保您瞭解任何指令可能造成的影響。
設定
1.以下是CMS日誌上預設AV1編解碼器狀態的示例:
2024-03-05T16:50:25.736 user.info cms01 host:server: INFO :
AV1 Video Codec Enabled for Content: 0
2.通過Secure Shell(SSH)命令在CMS的Callbridge上啟用AV1編解碼器 callbridge av1 enable
.
cms01> callbridge av1 enable
以下是在CMS日誌上啟用AV1的示例:
2024-03-06T09:34:45.395 local0.info cms01 cli: User admin from 10.140.249.233:63290 issued command <
callbridge av1 enable>: permission granted
3.通過SSH命令重新啟動CMS上的Callbridge服務,以啟用新功能AV1編解碼器。
cms01> callbridge restart
4.從CMS SSH命令列和CMS日誌中驗證Callbridge狀態以便確認AV1 Video Codec is enabled
。
以下是CMS SSH命令列狀態的示例:
cms01> callbridge
Listening interfaces : a
Preferred interface : none
Key file : cms.key
Certificate file : cms.cer
Address : none
CA Bundle file : root.cer
C2W trusted certs : cms.cer
Callbridge cluster trusted certs : cms.cer
Callbridge trust branding certs : none
UCM trusted certs : cucmtomcat.cer
UCM verification mode : enabled
IMPS trusted certs : impcup.cer
IMPS verification mode : enabled
WC3 JWT Expiry in hours : 24
AV1 Video Codec : enabled
以下是在CMS日誌上啟用AV1編解碼器狀態的示例:
2024-03-06T09:35:42.003 user.info cms01 host:server: INFO :
AV1 Video Codec Enabled for Content: 1
附註:必須在CMS群集中的所有Callbridge伺服器上啟用AV1編解碼器。
驗證
1.內容演示者的媒體運行狀況統計資訊顯示,在Chrome瀏覽器上,內容協商編解碼器為AV1。
演示者內容編解碼器是Chrome上的AV1
2.內容接收者的媒體健康統計資料顯示,當從CMS伺服器接收內容時,內容協商編解碼器在Chrome瀏覽器上為AV1。
接收方內容編解碼器為Chrome上的AV1
3.如果在CMS上啟用了AV1,但瀏覽器不支援AV1,則CMS和瀏覽器之間的內容傳輸將採用瀏覽器支援的編解碼器。
此示例顯示CMS和Firefox瀏覽器內容協商編解碼器為H.264。
Firefox上的接收器內容編解碼器為H.264
疑難排解
1.從CMS日誌中可以看到演示者開始共用內容:
2024-03-06 12:36:05.737 Info call 49: new video presentation request from user "guest3577572234"
2024-03-06 12:36:05.737 Info call 49: becoming floor
2.從Chrome瀏覽器上的演示者webrtc日誌中,可以看到CMS在會話描述協定(SDP)消息中支援AV1編解碼器,並且內容共用編解碼器為AV1。
您可以在Chrome瀏覽器上通過chrome://webrtc-internals/收集webrtc日誌。
以下是webrtc日誌中CMS SDP消息的示例。
v=0 (11 more lines)
o=Acano 0 0 IN IP4 10.124.56.212 s=-
c=IN IP4 10.124.56.212
b=CT:6000
t=0 0
a=setup:active
a=msid-semantic: WMS ef86aaf0-f732-40ca-a65a-484dd196864d 494ba500-d708-4048-80f3-2820b1503423
a=ice-ufrag:CONP
a=ice-pwd:n++OtYUn97Vt8rkqwhUhPv
a=fingerprint:sha-256 2B:84:FF:34:56:54:55:AC:3D:57:D0:27:B6:E3:F5:4F:CF:00:1B:AC:8C:9F:55:02:93:F8:45:CA:E9:58:B7:21
a=group:BUNDLE 0 1 2
m=audio 35648 RTP/SAVPF 111 9 0 8 13 126 (16 more lines) mid=0 a=rtcp-mux
a=sendrecv
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=candidate:1 1 udp 2130706431 10.124.56.212 35648 typ host
a=candidate:1 2 udp 2130706431 10.124.56.212 35648 typ host
a=rtpmap:111 opus/48000/2
a=fmtp:111 useinbandfec=1
a=rtpmap:9 G722/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:13 CN/8000
a=rtpmap:126 telephone-event/8000
a=fmtp:126 0-15
a=ssrc:849856969 cname:8db99900-7685-4b58-8df7-f6254f6679dc
a=ssrc:849856969 msid:ef86aaf0-f732-40ca-a65a-484dd196864d main_audio_track
a=mid:0
m=video 35648 RTP/SAVPF 104 102 45 96 (24 more lines) mid=1 b=TIAS:6000000
a=rtcp-mux
a=content:main
a=sendrecv
a=rtcp-fb:* nack
a=rtcp-fb:* nack pli
a=rtcp-fb:* ccm fir
a=rtcp-fb:* goog-remb
a=extmap:2 http://www.example.com/experiments/rtp-hdrext/abs-send-time
a=candidate:1 1 udp 2130706431 10.124.56.212 35648 typ host
a=candidate:1 2 udp 2130706431 10.124.56.212 35648 typ host
a=rtpmap:104 H264/90000
a=fmtp:104 profile-level-id=428015;max-mbps=244800;max-fs=8160;max-br=5000;max-fps=6000;x-google-start-bitrate=6000;x-google-max-bitrate=6000
a=rtpmap:102 H264/90000
a=fmtp:102 profile-level-id=428015;max-mbps=244800;max-fs=8160;max-br=5000;max-fps=6000;packetization-mode=1;x-google-start-bitrate=6000;x-google-max-bitrate=6000
a=rtpmap:45 AV1/90000 a=fmtp:45 profile=0;level-idx=31
a=rtpmap:96 VP8/90000
a=fmtp:96 max-fs=8160;max-fr=30
a=ssrc:2217027374 cname:8db99900-7685-4b58-8df7-f6254f6679dc
a=ssrc:2217027374 msid:ef86aaf0-f732-40ca-a65a-484dd196864d main_video_track
a=ssrc:2217027374 label:main
a=label:11
a=mid:1
m=video 35648 RTP/SAVPF 45 104 105 102 103 96 97 (42 more lines) mid=2 b=TIAS:6000000
a=rtcp-mux
a=content:slides a=sendonly
a=extmap:2/sendrecv http://www.example.com/experiments/rtp-hdrext/abs-send-time
a=candidate:1 1 udp 2130706431 10.124.56.212 35648 typ host
a=candidate:1 2 udp 2130706431 10.124.56.212 35648 typ host
a=rtpmap:45 AV1/90000 a=fmtp:45 profile=0;level-idx=31
a=rtcp-fb:45 nack
a=rtcp-fb:45 nack pli
a=rtcp-fb:45 ccm fir
a=rtcp-fb:45 goog-remb
a=rtpmap:104 H264/90000
a=fmtp:104 profile-level-id=428015;max-mbps=244800;max-fs=8160;max-br=5000;max-fps=6000;x-google-start-bitrate=6000;x-google-max-bitrate=6000
a=rtcp-fb:104 nack
a=rtcp-fb:104 nack pli
a=rtcp-fb:104 ccm fir
a=rtcp-fb:104 goog-remb
a=rtpmap:105 rtx/90000
a=fmtp:105 apt=104
a=rtpmap:102 H264/90000
a=fmtp:102 profile-level-id=428015;max-mbps=244800;max-fs=8160;max-br=5000;max-fps=6000;packetization-mode=1;x-google-start-bitrate=6000;x-google-max-bitrate=6000
a=rtcp-fb:102 nack
a=rtcp-fb:102 nack pli
a=rtcp-fb:102 ccm fir
a=rtcp-fb:102 goog-remb
a=rtpmap:103 rtx/90000
a=fmtp:103 apt=102
a=rtpmap:96 VP8/90000
a=fmtp:96 max-fs=8160;max-fr=30
a=rtcp-fb:96 nack
a=rtcp-fb:96 nack pli
a=rtcp-fb:96 ccm fir
a=rtcp-fb:96 goog-remb
a=rtpmap:97 rtx/90000
a=fmtp:97 apt=96
a=ssrc:910559423 cname:8db99900-7685-4b58-8df7-f6254f6679dc
a=ssrc:910559423 msid:494ba500-d708-4048-80f3-2820b1503423 presentation_video_track
a=ssrc:910559423 label:slides
a=label:12
a=mid:2
這是webrtc內容共用編解碼器資訊的示例。
outbound-rtp (kind=video, mid=2, ssrc=1277302382, scalabilityMode=L1T1, encoderImplementation=libaom, powerEfficientEncoder=false,
[codec]=AV1 (45, level-idx=31;profile=0), id=OT01V1277302382)
Statistics OT01V1277302382
timestamp 3/6/2024, 1:15:33 PM
ssrc 1277302382
kind video
transportId T01
codecId COT01_45_level-idx=31;profile=0
[codec] AV1 (45, level-idx=31;profile=0)
packetsSent 3964
[packetsSent/s] 48.982867749455345
bytesSent 145005
[bytesSent_in_bits/s] 399.860144893513
mediaSourceId SV20
remoteId RIV1277302382
mid 2
retransmittedPacketsSent 0
[retransmittedPacketsSent/s] 0
headerBytesSent 1027880
[headerBytesSent_in_bits/s] 105723.02230984485
retransmittedBytesSent 0
[retransmittedBytesSent_in_bits/s] 0
targetBitrate 500000
framesEncoded 151
[framesEncoded/s] 0.9996503622337826
keyFramesEncoded 1
totalEncodeTime 0.627
[totalEncodeTime/framesEncoded_in_ms] 2.0000000000000018
totalEncodedBytesTarget 0
[totalEncodedBytesTarget_in_bits/s] 0
frameWidth 1778
frameHeight 800
framesPerSecond 1
framesSent 151
[framesSent/s] 0.9996503622337826
hugeFramesSent 1
totalPacketSendDelay 1.6430509999999998
[totalPacketSendDelay/packetsSent_in_ms] 0
qualityLimitationReason none
qualityLimitationDurations {"bandwidth":0,"cpu":0,"none":87.68899999999999,"other":0}
qualityLimitationResolutionChanges 0
contentType screenshare encoderImplementation libaom
firCount 0
pliCount 0
nackCount 0
qpSum 9208
[qpSum/framesEncoded] 40
active true
powerEfficientEncoder false
scalabilityMode L1T1
相關資訊
附註:思科不保證測試功能將來會轉變為完全受支援的功能。試用版功能可能會根據反饋而更改,將來可能會更改或刪除這些功能。
附註:
- SIP終端不支援此功能。
- AV1傳輸已經過測試,僅在Chrome瀏覽器上合格。
- 如果在會議伺服器中啟用了AV1,但瀏覽器不支援它,則內容傳輸將採用瀏覽器支援的編解碼器。
- 啟用主機板管理處理器(MMP)命令後,重新啟動Callbridge以確保應用了更改。