Skip to content

Commit c7d3660

Browse files
new powerful stats api for common use cases like network quality and bitrate and so on
1 parent 58d0b52 commit c7d3660

6 files changed

Lines changed: 934 additions & 228 deletions

File tree

.flutter-plugins-dependencies

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"flutter_webrtc","path":"/Users/utopia/.pub-cache/hosted/pub.dev/flutter_webrtc-1.2.1/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"path_provider_foundation","path":"/Users/utopia/.pub-cache/hosted/pub.dev/path_provider_foundation-2.5.1/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false}],"android":[{"name":"flutter_webrtc","path":"/Users/utopia/.pub-cache/hosted/pub.dev/flutter_webrtc-1.2.1/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"path_provider_android","path":"/Users/utopia/.pub-cache/hosted/pub.dev/path_provider_android-2.2.22/","native_build":true,"dependencies":[],"dev_dependency":false}],"macos":[{"name":"flutter_webrtc","path":"/Users/utopia/.pub-cache/hosted/pub.dev/flutter_webrtc-1.2.1/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"path_provider_foundation","path":"/Users/utopia/.pub-cache/hosted/pub.dev/path_provider_foundation-2.5.1/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false}],"linux":[{"name":"flutter_webrtc","path":"/Users/utopia/.pub-cache/hosted/pub.dev/flutter_webrtc-1.2.1/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"path_provider_linux","path":"/Users/utopia/.pub-cache/hosted/pub.dev/path_provider_linux-2.2.1/","native_build":false,"dependencies":[],"dev_dependency":false}],"windows":[{"name":"flutter_webrtc","path":"/Users/utopia/.pub-cache/hosted/pub.dev/flutter_webrtc-1.2.1/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"path_provider_windows","path":"/Users/utopia/.pub-cache/hosted/pub.dev/path_provider_windows-2.3.0/","native_build":false,"dependencies":[],"dev_dependency":false}],"web":[]},"dependencyGraph":[{"name":"flutter_webrtc","dependencies":["path_provider"]},{"name":"path_provider","dependencies":["path_provider_android","path_provider_foundation","path_provider_linux","path_provider_windows"]},{"name":"path_provider_android","dependencies":[]},{"name":"path_provider_foundation","dependencies":[]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_windows","dependencies":[]}],"date_created":"2025-12-05 21:54:43.852333","version":"3.38.2","swift_package_manager_enabled":{"ios":false,"macos":false}}
1+
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"flutter_webrtc","path":"/Users/utopia/.pub-cache/hosted/pub.dev/flutter_webrtc-1.2.1/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"path_provider_foundation","path":"/Users/utopia/.pub-cache/hosted/pub.dev/path_provider_foundation-2.5.1/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false}],"android":[{"name":"flutter_webrtc","path":"/Users/utopia/.pub-cache/hosted/pub.dev/flutter_webrtc-1.2.1/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"path_provider_android","path":"/Users/utopia/.pub-cache/hosted/pub.dev/path_provider_android-2.2.22/","native_build":true,"dependencies":[],"dev_dependency":false}],"macos":[{"name":"flutter_webrtc","path":"/Users/utopia/.pub-cache/hosted/pub.dev/flutter_webrtc-1.2.1/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"path_provider_foundation","path":"/Users/utopia/.pub-cache/hosted/pub.dev/path_provider_foundation-2.5.1/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false}],"linux":[{"name":"flutter_webrtc","path":"/Users/utopia/.pub-cache/hosted/pub.dev/flutter_webrtc-1.2.1/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"path_provider_linux","path":"/Users/utopia/.pub-cache/hosted/pub.dev/path_provider_linux-2.2.1/","native_build":false,"dependencies":[],"dev_dependency":false}],"windows":[{"name":"flutter_webrtc","path":"/Users/utopia/.pub-cache/hosted/pub.dev/flutter_webrtc-1.2.1/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"path_provider_windows","path":"/Users/utopia/.pub-cache/hosted/pub.dev/path_provider_windows-2.3.0/","native_build":false,"dependencies":[],"dev_dependency":false}],"web":[]},"dependencyGraph":[{"name":"flutter_webrtc","dependencies":["path_provider"]},{"name":"path_provider","dependencies":["path_provider_android","path_provider_foundation","path_provider_linux","path_provider_windows"]},{"name":"path_provider_android","dependencies":[]},{"name":"path_provider_foundation","dependencies":[]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_windows","dependencies":[]}],"date_created":"2025-12-19 21:03:55.899338","version":"3.38.4","swift_package_manager_enabled":{"ios":false,"macos":false}}

CHANGELOG.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,78 +1,119 @@
1+
## 2.4.2
2+
3+
- Introduced `JanusStreamStats` with customizable bitrate and network quality helpers (inbound and outbound).
4+
- Added `getNetworkQuality`/`watchNetworkQuality` APIs plus richer Dartdoc covering the new stats surface.
5+
- Enhanced `typed_examples/google_meet.dart` with live bitrate overlays and signal icons powered by the new stats utilities.
6+
17
## 2.4.1
8+
29
- add maxMessageMissedRetries parameter to WebSocketTransport to configure number of retries for handling missed messages
310

411
## 2.4.0
12+
513
- Desktop builds can now select display capture sources via `initializeMediaDevices`.
614
- Expanded Dartdoc across core and wrapper plugins for clearer API guidance.
715
- Added `sendCompleterTimeout` knob on WebSocket transport to tune Janus transaction timeouts.
816

917
## 2.3.15
18+
1019
- Upgraded flutter_webrtc to version 1.2.0
1120
- Added support for H.265/HEVC video codec
21+
1222
## 2.3.14
23+
1324
- Added `getBitrate()` method for real-time bitrate monitoring (similar to janus.js getBitrate function)
1425
- Support for bitrate monitoring with and without mid parameter
1526
- Independent bitrate history tracking per stream
27+
1628
## 2.3.13
29+
1730
- downgrade to flutter_webrtc to version: 0.14.2 since 1.0.0 has issues with android seemingly unstable see [crashing on android](https://github.com/flutter-webrtc/flutter-webrtc/issues/1906)
31+
1832
## 2.3.12
33+
1934
- upgrade flutter_webrtc to version: 1.0.0
2035

2136
## 2.3.11
37+
2238
- feature: media constraints changes
39+
2340
## 2.3.10
41+
2442
- bugfix: change type of id to dynamic instead of int to support string ids
2543
- update:url for org
2644

2745
## 2.3.9
46+
2847
- bugfix: websocket session send refactored to use Completer instead of error prone firstWhere
2948

3049
## 2.3.8
50+
3151
- bugfix: Data isn't serialized [#178](https://github.com/flutterjanus/flutter_janus_client/pull/178)
3252

3353
## 2.3.7
54+
3455
- flutter_webrtc upgraded to version: 0.14.0
3556
- better logs and bugfixes on safely disposing webrtc stack
57+
3658
## 2.3.6
59+
3760
- flutter_webrtc upgraded to version: 0.13.0
3861
- refactor method `stopAllTracksAndDispose` to `stopAllTracks`
62+
3963
## 2.3.5
64+
4065
- bug fixes in RTCIceServer without crdentials [#164](https://github.com/flutterjanus/flutter_janus_client/pull/164)
4166
- flutter_webrtc upgraded to version: 0.10.6
67+
4268
## 2.3.4
69+
4370
- bug fixes in sip and http_polling [#159](https://github.com/flutterjanus/flutter_janus_client/pull/159)
4471
- flutter_webrtc upgraded to version: ^0.9.48+hotfix.1
72+
4573
## 2.3.3
74+
4675
- bug fixes (#151,#152,#153)
4776
- webrtc deps upgraded
77+
4878
## 2.3.2
79+
4980
- flutter_webrtc=> 0.9.46
5081
- #145 make prebuffer as int
82+
5183
## 2.3.1
84+
5285
- dependency upgrade and improvements
86+
5387
## 2.3.0
88+
5489
- breaking changes in createOffer and createAnswer (removed dead code prepareTransReceiver)
5590
- fixed audio and video mute events not working due to #120 raised by @liemfs
5691

5792
## 2.2.15
93+
5894
- added support for simulcasting in `initMediaDevice`
5995
- flutter webrtc 0.9.34
96+
6097
## 2.2.14
98+
6199
- fix Searching transceivers returns wrong result [#120](https://github.com/flutterjanus/flutter_janus_client/pull/120)
100+
62101
## 2.2.13
63102

64103
- support for custom logger
65104

66105
## 2.2.12
67106

68107
- version downgrade for flutter_webrtc:0.9.22
108+
69109
## 2.2.11
70110

71111
- version downgrade for flutter_webrtc:0.9.22
72112

73113
## 2.2.10
74114

75115
- version bump for flutter_webrtc:0.9.24
116+
76117
## 2.2.9
77118

78119
- type fix in AudioBridgeLeavingEvent (leaving)

0 commit comments

Comments
 (0)