Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@

# Changelog
[1.0.8] - 2025-06-20
* [Android] Fix `getLocalDescription` throwing an exception when it's `null`

[1.0.7] - 2025-06-10
* Added `handleCallInterruptionCallbacks` method to provide an option to handle system audio interruption like incoming calls, or other media playing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -863,10 +863,14 @@ public void onInterruptionEnd() {
PeerConnection peerConnection = getPeerConnection(peerConnectionId);
if (peerConnection != null) {
SessionDescription sdp = peerConnection.getLocalDescription();
ConstraintsMap params = new ConstraintsMap();
params.putString("sdp", sdp.description);
params.putString("type", sdp.type.canonicalForm());
result.success(params.toMap());
if (sdp == null) {
result.success(null);
} else {
ConstraintsMap params = new ConstraintsMap();
params.putString("sdp", sdp.description);
params.putString("type", sdp.type.canonicalForm());
result.success(params.toMap());
}
} else {
resultError("getLocalDescription", "peerConnection is null", result);
}
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: stream_webrtc_flutter
description: Flutter WebRTC plugin for iOS/Android/Destkop/Web, based on GoogleWebRTC.
version: 1.0.7
version: 1.0.8
homepage: https://github.com/GetStream/webrtc-flutter
environment:
sdk: ">=3.3.0 <4.0.0"
Expand Down
Loading