Simulcast audio fixes (#3925)

* Simulcast audio fixes

* clean up
This commit is contained in:
Raja Subramanian
2025-09-14 09:41:40 +05:30
committed by GitHub
parent 9f0ab8706f
commit 6489237e33
11 changed files with 70 additions and 57 deletions
+1 -1
View File
@@ -2930,7 +2930,7 @@ func (p *ParticipantImpl) addPendingTrackLocked(req *livekit.AddTrackRequest) *l
mimeType = altCodec
}
if videoLayerMode == livekit.VideoLayer_MODE_UNUSED {
if mime.IsMimeTypeStringSVC(mimeType) {
if mime.IsMimeTypeStringSVCCapable(mimeType) {
videoLayerMode = livekit.VideoLayer_MULTIPLE_SPATIAL_LAYERS_PER_STREAM
} else {
if p.params.ClientInfo.isOBS() {