End an Audio/Video Session

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

To end an AV session, a participant client calls the Terminate method on the AV session object.

public void EndAVSession()
{
   if (this.audioSession == null)
      return;
   this.session.Terminate(UCC_REJECT_OR_TERMINATE_REASON.UCCTR_NORMAL, null);
   this.session = null;
}

See Also

Concepts

Conducting an Audio/Video Session