fix(video): determine svc/simulcast from SDP for advanced codecs (#3549)
* fix(video): determine svc/simulcast from SDP for advanced codecs * fix(explicit-svc): cleanup * fix(explicit-svc): remove from list on close/remove * fix(explicit-svc): reorder VLS selection, cleanup * fix(explicit-svc): todo comments for temporal layer selector * fix(explicit-svc): remove from simulcastTrackIds even if client does not support unpublish
This commit is contained in:
@@ -240,10 +240,6 @@ func IsMimeTypeVideo(mimeType MimeType) bool {
|
||||
return strings.HasPrefix(mimeType.String(), MimeTypePrefixVideo)
|
||||
}
|
||||
|
||||
// SVC-TODO: Have to use more conditions to differentiate between
|
||||
// SVC-TODO: SVC and non-SVC (could be single layer or simulcast).
|
||||
// SVC-TODO: May only need to differentiate between simulcast and non-simulcast
|
||||
// SVC-TODO: i. e. may be possible to treat single layer as SVC to get proper/intended functionality.
|
||||
func IsMimeTypeSVC(mimeType MimeType) bool {
|
||||
switch mimeType {
|
||||
case MimeTypeAV1, MimeTypeVP9:
|
||||
|
||||
Reference in New Issue
Block a user