Skip to content

Commit

Permalink
Upgrade version 0.3.8.
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudwebrtc committed Sep 26, 2021
1 parent fcf476c commit 95e3711
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
# Changelog

--------------------------------------------
[0.3.8] - 2021.09.26

* Fix ice delay.
* Don't run ready if session has been terminated (#226)
* Support IceRestart when IceStateDisconnected (#218)
* Add options to the hangup (#224)
* Adaptive when answering audio or video calls.

[0.3.7] - 2021.08.24

* Fix the issue that unified-plan's onTrack does not call back AudioTrack.
Expand Down
3 changes: 2 additions & 1 deletion lib/src/transports/websocket_interface.dart
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ class WebSocketInterface implements Socket {
logger.error('invalid WebSocket URI scheme: ${parsed_url.scheme}');
throw AssertionError('Invalid argument: $url');
} else {
String transport_scheme = webSocketSettings != null && webSocketSettings.transport_scheme != null
String transport_scheme = webSocketSettings != null &&
webSocketSettings.transport_scheme != null
? webSocketSettings.transport_scheme.toLowerCase()
: parsed_url.scheme;

Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: sip_ua
version: 0.3.7
version: 0.3.8
description: A SIP UA stack for Flutter/Dart, based on flutter-webrtc, support iOS/Android/Destkop/Web.
homepage: https://github.com/cloudwebrtc/dart-sip-ua
environment:
Expand Down
5 changes: 3 additions & 2 deletions test/test_parser.dart
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,9 @@ List<void Function()> testFunctions = <void Function()>[
expect(auth.opaque, '00000188');
}),
() => test('Parser: authentication challenge2.', () {
String data = 'Digest algorithm="MD5",qop="auth",realm="some.sip.domain.com",nonce="217384172034871293047102934",otherk1="other_v1"';
dynamic auth = Grammar.parse(data, 'challenge');
String data =
'Digest algorithm="MD5",qop="auth",realm="some.sip.domain.com",nonce="217384172034871293047102934",otherk1="other_v1"';
dynamic auth = Grammar.parse(data, 'challenge');
print('auth => ' + auth.toString());
expect(auth.realm, 'some.sip.domain.com');
expect(auth.nonce, '217384172034871293047102934');
Expand Down

0 comments on commit 95e3711

Please sign in to comment.