# void forceHangUpVoip ([string roomId])

Forced end call

# parameter

# String roomId

Optional. 2.3.2 Start supporting.

  • When not incoming, hang up the call currently in progress
  • When incoming, only during the current call roomId When the same as incoming, hang up the call that is currently in progress. (Recommendation)

# Return value

nothing

# sample code

const wmpfVoip = requirePlugin('wmpf-voip' ).default

wmpfVoip.forceHangUpVoip('some group id')