/// <summary> /// Send a re-INVITE request to put the remote call party on hold. /// </summary> public void PutOnHold() { LocalOnHold = true; // The action we take to put a call on hold is to switch the media status // to sendonly and change the audio input from a capture device to on hold // music. AdjustSdpForMediaState(LocalSDP); SessionMediaChanged?.Invoke(LocalSDP.ToString()); }
/// <summary> /// Send a re-INVITE request to take the remote call party on hold. /// </summary> public void TakeOffHold() { LocalOnHold = false; SessionMediaChanged?.Invoke(CreateOfferInternal()); }
/// <summary> /// Send a re-INVITE request to put the remote call party on hold. /// </summary> public void PutOnHold() { LocalOnHold = true; SessionMediaChanged?.Invoke(CreateOfferInternal()); }
/// <summary> /// Send a re-INVITE request to take the remote call party on hold. /// </summary> public void TakeOffHold() { LocalOnHold = false; AdjustSdpForMediaState(LocalSDP); SessionMediaChanged?.Invoke(LocalSDP.ToString()); }