Removing commented out short cut path, don't need more debug data. (#1822)

This commit is contained in:
Raja Subramanian
2023-06-23 14:18:55 +05:30
committed by GitHub
parent c21f275ab2
commit 8ac394c5bb
-2
View File
@@ -548,11 +548,9 @@ func (s *StreamTrackerManager) GetReferenceLayerRTPTimestamp(ts uint32, layer in
return 0, fmt.Errorf("invalid layer, target: %d, reference: %d", layer, referenceLayer)
}
/* TODO-RESTORE-AFTER-DEBUG - this is just fast path, below calculations should yield same
if layer == referenceLayer {
return ts, nil
}
*/
var srLayer *buffer.RTCPSenderReportData
if int(layer) < len(s.senderReports) {