Beispiel #1
0
 public static extern void PeerConnectionCreateAnswer(IntPtr ptr, ref RTCAnswerOptions options);
 /// <summary>
 /// Create an SDP (Session Description Protocol) answer to start a new connection
 /// to a remote peer.
 /// </summary>
 /// <param name="options"></param>
 /// <returns></returns>
 public RTCSessionDescriptionAsyncOperation CreateAnswer(ref RTCAnswerOptions options)
 {
     m_opSessionDesc = new RTCSessionDescriptionAsyncOperation();
     NativeMethods.PeerConnectionCreateAnswer(GetSelfOrThrow(), ref options);
     return(m_opSessionDesc);
 }