Update mcu_janus.go

moved h265 before vp9, because currently nextcloud talk app on ios doesn't work with vp9 (safari does, though)
This commit is contained in:
Gunnar 2023-04-26 17:15:38 +02:00 committed by GitHub
parent f54a83e082
commit c3fdd44d7f
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,h264,h265,vp8,av1",
"videocodec": "h265,vp9,h264,vp8,av1",
}
var maxBitrate int
if streamType == streamTypeScreen {