Skip to content

Commit ed75f3e

Browse files
zi6xuancloudwebrtc
andauthored
hangup add the options (#224)
* hangup add the options hangup function increase self-determination option number of participants, expedient unity communication time notification * fix: Fix breaking changes. Co-authored-by: cloudwebrtc <[email protected]>
1 parent a19f338 commit ed75f3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/src/sip_ua_helper.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,9 +412,9 @@ class Call {
412412
refer.on(EventReferFailed(), (EventReferFailed data) {});
413413
}
414414

415-
void hangup() {
415+
void hangup([Map<String, dynamic> options]) {
416416
assert(_session != null, 'ERROR(hangup): rtc session is invalid!');
417-
_session.terminate();
417+
_session.terminate(options);
418418
}
419419

420420
void hold() {

0 commit comments

Comments
 (0)