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,6 +240,7 @@ type DowntrackParams struct {
|
||||
RTCPWriter func([]rtcp.Packet) error
|
||||
DisableSenderReportPassThrough bool
|
||||
SupportsCodecChange bool
|
||||
IsReceiverSimulcast bool
|
||||
}
|
||||
|
||||
// DownTrack implements TrackLocal, is the track used to write packets
|
||||
@@ -405,6 +406,7 @@ func NewDownTrack(params DowntrackParams) (*DownTrack, error) {
|
||||
d.params.Logger,
|
||||
false,
|
||||
d.rtpStats,
|
||||
d.params.IsReceiverSimulcast,
|
||||
)
|
||||
|
||||
d.connectionStats = connectionquality.NewConnectionStats(connectionquality.ConnectionStatsParams{
|
||||
|
||||
Reference in New Issue
Block a user