public void SetSdpAnswer(string sdpAnswer)
 {
     if (SdpAnswer != null)
     {
         throw new InvalidOperationException("A SDP answer was already set.");
     }
     SdpAnswer = sdpAnswer;
     SdpAnswerAvailableEvent.Set();
 }
 public void Dispose()
 {
     SdpOfferAvailableEvent.Dispose();
     SdpAnswerAvailableEvent.Dispose();
 }