Use the optimal allocation function for opportunistic allocation. (#4030)
* Use the optimal allocation function for opportunistic allocation. Allocation functions set the `lastAllocation` state also. This might have been causing an e2e failure with v1 client on migration. * annotate args
This commit is contained in:
@@ -413,7 +413,8 @@ func NewDownTrack(params DownTrackParams) (*DownTrack, error) {
|
||||
d.forwarder = NewForwarder(
|
||||
d.kind,
|
||||
d.params.Logger,
|
||||
false,
|
||||
false, // skipReferenceTS
|
||||
false, // disableOpportunisticAllocation
|
||||
d.rtpStats,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user