public override void DidFailWithError(OTPublisher publisher, OTError error) { var msg = String.Format("PublisherDelegate:DidFailWithError: Error: {0}", error.Description); _this.RaiseOnError(msg); _this.CleanupPublisher(); }
public override void DidFail(OTSubscriber subscriber, OTError error) { Debug.WriteLine("Subscriber {0} DidFailWithError {1}", subscriber.Stream.StreamId, error); var msg = string.Format("There was an error subscribing to stream {0}", subscriber.Stream.StreamId); _this.ShowAlert(msg); }
public override void DidFail(OTSession session, OTError error) { Debug.WriteLine("SessionDidFail"); var msg = string.Format("There was an error connecting to session {0}", session.SessionId); _this.ShowAlert(msg); }
public override void DidFailWithError(OTSession session, OTError error) { var msg = "SessionDelegate:DidFailWithError: " + session.SessionId; Debug.WriteLine(msg); this.provider.RaiseOnError(msg); }
public override void DidFailWithError(OTSubscriber subscriber, OTError error) { var msg = String.Format("SubscriberDelegate:DidFailWithError: Stream {0}, Error: {1}", subscriber.Stream.StreamId, error.Description); Debug.WriteLine(msg); _this.RaiseOnError(msg); }
public override void DidFailWithError(OTSession session, OTError error) { var msg = "SessionDelegate:DidFailWithError: " + session.SessionId; System.Diagnostics.Debug.WriteLine(msg); _this.RaiseOnError(msg); }
public override void DidFailWithError(OTPublisher publisher, OTError error) { var msg = String.Format("PublisherDelegate:DidFailWithError: Error: {0}", error.Description); Debug.WriteLine(msg); provider.RaiseOnError(msg); provider.CleanupPublisher(); }
public override Task <bool> SendMessageAsync(string message, string type, bool to = false) { OTError error = null; if (to) { Session.SignalWithType(type, message, InvitedConnection, out error); } else { Session.SignalWithType(type, message, null, out error); } return(Task.FromResult(error == null)); }
public override void DidFailWithError(OTSession session, OTError error) { var msg = "SessionDelegate:DidFailWithError: " + session.SessionId; _this.RaiseOnError(msg); }
public override void DidFailWithError(OTSubscriber subscriber, OTError error) { var msg = String.Format("SubscriberDelegate:DidFailWithError: Stream {0}, Error: {1}", subscriber.Stream.StreamId, error.Description); _this.RaiseOnError(msg); }
public override void DidFail(OTPublisher publisher, OTError error) { Debug.WriteLine("Publisher DidFail {0}", error); _this.ShowAlert("There was an error publishing"); }