Resolve RTX pair via OnTrack also. (#4190)
* Resolve RTX pair via OnTrack also. In simulcast probing path, the interceptor chain is not invoked for primary stream. Not sure if this is a recent change. Due to this, the RTX pair does not get resolved. Use the onTrack callback to resolve the pair. * remove debug
This commit is contained in:
@@ -1023,3 +1023,11 @@ func (t *TransportManager) SetSubscriberChannelCapacity(channelCapacity int64) {
|
||||
func (t *TransportManager) hasRecentSignalLocked() bool {
|
||||
return time.Since(t.lastSignalAt) < PingTimeoutSeconds*time.Second
|
||||
}
|
||||
|
||||
func (t *TransportManager) RTPStreamPublished(ssrc uint32, mid, rid string) {
|
||||
if t.params.UseOneShotSignallingMode || t.params.UseSinglePeerConnection {
|
||||
t.publisher.RTPStreamPublished(ssrc, mid, rid)
|
||||
} else {
|
||||
t.subscriber.RTPStreamPublished(ssrc, mid, rid)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user