Exemplo n.º 1
0
 /// <summary>
 /// Send a message through the data channel.
 /// </summary>
 /// <param name="message">The message to send to the remote peer.</param>
 /// <exception xref="InvalidOperationException">The peer connection is not initialized.</exception>
 /// <seealso cref="PeerConnection.InitializeAsync"/>
 /// <seealso cref="PeerConnection.Initialized"/>
 public void SendMessage(byte[] message)
 {
     PeerConnection.SendDataChannelMessage(ID, message);
 }