chore: fix analyzer error.

This commit is contained in:
cloudwebrtc 2022-09-17 00:19:21 +08:00
parent e1ccda3cb1
commit 62cd4e78fb
2 changed files with 3 additions and 2 deletions

View File

@ -830,7 +830,7 @@ class CallSession {
}
if (callFeed.purpose == SDPStreamMetadataPurpose.Screenshare) {
stopMediaStream(callFeed.stream);
await stopMediaStream(callFeed.stream);
}
// Empty the array

View File

@ -967,7 +967,8 @@ void main() {
await call.sendCallCandidates(room, '1234', '4567', [], txid: '1234');
await call.sendSelectCallAnswer(room, '1234', 1234, '4567', '6789',
txid: '1234');
await call.sendCallReject(room, '1234', 1234, '4567', txid: '1234');
await call.sendCallReject(room, '1234', 1234, '4567', 'busy',
txid: '1234');
await call.sendCallNegotiate(room, '1234', 1234, '4567', 'sdp',
txid: '1234');
await call.sendHangupCall(room, '1234', '4567', 'user_hangup',