Update mcu_janus.go

This commit is contained in:
Gunnar 2023-04-26 17:51:37 +02:00 committed by GitHub
parent 32eaaa48b3
commit 6a2b79a940
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -737,7 +737,7 @@ func (m *mcuJanus) getOrCreatePublisherHandle(ctx context.Context, id string, st
"videoorient_ext": false,
// Offer more video & audio codecs
"audiocodec": "opus,g722,pcmu,pcma,isac32",
"videocodec": "vp9,vp8,h265,h264,av1",
"videocodec": "vp9,h265,vp8,h264,av1",
}
var maxBitrate int
if streamType == streamTypeScreen {