Signalling V2 protocol implementation start (#3794)
* WIP * name * refactor validate * WIP * WIP * signal cache initial impl * HandleConnect in room manager * generate subscriber offer * handle ConnectRequest as stand alone * segmentation, reassembly * clean up * rearrange * lock scope * support metadata in connect request * prom * add SifTrailer to ConnectResponse * prom for get offer error counter * RtcInit counter * Jie feedback * signal client * consolidate v1 and v2 into SignalClient * clean up * comment * deps * mage generate * fix tests * pass around roomName and participantIdentity * mage generate
This commit is contained in:
@@ -139,8 +139,8 @@ func (m *SubscriptionManager) isClosed() bool {
|
||||
}
|
||||
}
|
||||
|
||||
func (m *SubscriptionManager) SubscribeToTrack(trackID livekit.TrackID) {
|
||||
if m.params.UseOneShotSignallingMode {
|
||||
func (m *SubscriptionManager) SubscribeToTrack(trackID livekit.TrackID, isSync bool) {
|
||||
if m.params.UseOneShotSignallingMode || isSync {
|
||||
m.subscribeSynchronous(trackID)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user