Пример #1
0
 protected void OnMessageFromPeer(Peer peer, string message)
 {
     MessageFromPeer?.Invoke(this, new HttpSignalerMessageEvent(peer, message));
 }
Пример #2
0
 protected void OnPeerHangup(Peer peer)
 {
     PeerHangup?.Invoke(this, peer);
 }
Пример #3
0
 protected void OnPeerDisconnected(Peer peer)
 {
     PeerDisconnected?.Invoke(this, peer);
 }
Пример #4
0
 protected void OnPeerConnected(Peer peer)
 {
     PeerConnected?.Invoke(this, (peer));
 }
Пример #5
0
 public HttpSignalerMessageEvent(Peer peer, string message)
 {
     Peer    = peer;
     Message = message;
 }
Пример #6
0
 public OrtcController(Peer remotePeer, bool isInitiator)
 {
     // make a clone of the remote peer contents in cause original values get modified
     _remotePeer  = new Peer(remotePeer);
     _isInitiator = isInitiator;
 }