Skip to content

Commit 6e60816

Browse files
Update worker/src/RTC/SvcProducerStreamManager.cpp
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 3e9ac66 commit 6e60816

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

worker/src/RTC/SvcProducerStreamManager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ namespace RTC
557557
goto done;
558558
}
559559

560-
for (; spatialLayer < this->producerRtpStream->GetSpatialLayers(); ++spatialLayer)
560+
for (; std::cmp_less(spatialLayer , this->producerRtpStream->GetSpatialLayers()); ++spatialLayer)
561561
{
562562
// If this is higher than current spatial layer and we moved to current
563563
// spatial layer due to BWE limitations, check how much it has elapsed

0 commit comments

Comments
 (0)