No proof that this helps (#1772)

This commit is contained in:
Raja Subramanian
2023-06-06 11:28:13 +05:30
committed by GitHub
parent 076d8cad73
commit 7ed3af193a
11 changed files with 26 additions and 295 deletions
-6
View File
@@ -310,11 +310,6 @@ func (r *RoomManager) StartSession(
if pi.SubscriberAllowPause != nil {
subscriberAllowPause = *pi.SubscriberAllowPause
}
// default do not allow timestamp adjustment
allowTimestampAdjustment := false
if r.config.RTC.AllowTimestampAdjustment != nil {
allowTimestampAdjustment = *r.config.RTC.AllowTimestampAdjustment
}
participant, err = rtc.NewParticipant(rtc.ParticipantParams{
Identity: pi.Identity,
Name: pi.Name,
@@ -349,7 +344,6 @@ func (r *RoomManager) StartSession(
SubscriberAllowPause: subscriberAllowPause,
SubscriptionLimitAudio: r.config.Limit.SubscriptionLimitAudio,
SubscriptionLimitVideo: r.config.Limit.SubscriptionLimitVideo,
AllowTimestampAdjustment: allowTimestampAdjustment,
})
if err != nil {
return err