private void OnSubscriberVideoEnabled(object sender, OTSubscriberKitDelegateVideoEventReasonEventArgs e)
 {
     lock (_locker)
     {
         IsSubscriberVideoEnabled = SubscriberKit?.Stream?.HasVideo ?? false;
     }
 }
 private void OnSubscriberVideoEnabled(object sender, OTSubscriberKitDelegateVideoEventReasonEventArgs e)
 {
     lock (_syncRoot)
     {
         if (_subscriber != null && _subscriber.Stream != null && _subscriber.Stream.HasVideo)
         {
             IsSubscriberVideoEnabled = true;
         }
     }
 }
Esempio n. 3
0
 private void OnSubscriberVideoEnabled(object sender, OTSubscriberKitDelegateVideoEventReasonEventArgs e)
 {
     //throw new NotImplementedException();
 }
 private void OnSubscriberVideoDisabled(object sender, OTSubscriberKitDelegateVideoEventReasonEventArgs e)
 => IsSubscriberVideoEnabled = false;
Esempio n. 5
0
 private void OnSubscriberVideoEnabled(object sender, OTSubscriberKitDelegateVideoEventReasonEventArgs e)
 => RaiseSubscriberUpdated();