public override void ViewDidLoad() { base.ViewDidLoad(); // Hide top Nav bar this.NavigationController.SetNavigationBarHidden(true, false); // Configure the Video Chat View _videoChatView = new VideoChatView() { Frame = View.Frame, ApiKey = API_KEY, SessionId = SESSION_ID, Token = TOKEN, SubscribeToSelf = true }; // Add The View View.AddSubview(_videoChatView); // Subscribe to Events _videoChatView.OnHangup += (sender, e) => { Debug.WriteLine("OnHangup: User tapped the hangup button."); }; _videoChatView.OnError += (sender, e) => { Debug.WriteLine(e.Message); this.ShowAlert(e.Message); }; // Connect to Session _videoChatView.Connect(); }
public PublisherDelegate(VideoChatView This) { _this = This; }
public SubscriberDelegate(VideoChatView This) { _this = This; }
public SessionDelegate(VideoChatView This) { _this = This; }