Don't wait rtp packet to fire track (#3246)
* Don't wait rtp packet to fire track Create track from sdp instead of first rtp packet, it is consistent with the browser behavior and will accelerate the track publication. * fix test
This commit is contained in:
@@ -491,6 +491,7 @@ func (r *RoomManager) StartSession(
|
||||
ForwardStats: r.forwardStats,
|
||||
MetricConfig: r.config.Metric,
|
||||
UseOneShotSignallingMode: useOneShotSignallingMode,
|
||||
FireOnTrackBySdp: true,
|
||||
})
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user