Skip to content

Commit 9460eb1

Browse files
committed
Merge branch 'main' into hiroshi/participant-collection
2 parents 87250d5 + ceed1ab commit 9460eb1

16 files changed

+38
-22
lines changed

.changes/audio-buffer

Lines changed: 0 additions & 1 deletion
This file was deleted.

.changes/dc-reliability

Lines changed: 0 additions & 1 deletion
This file was deleted.

.changes/event-logging-trace

Lines changed: 0 additions & 1 deletion
This file was deleted.

.changes/flutter-lint-warnings

Lines changed: 0 additions & 1 deletion
This file was deleted.

.changes/json-serializable

Lines changed: 0 additions & 1 deletion
This file was deleted.

.changes/token-source

Lines changed: 0 additions & 1 deletion
This file was deleted.

.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.5.3
1+
2.5.4

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# CHANGELOG
22

3+
## 2.5.4
4+
5+
* Added pre-connect audio buffering
6+
* Added token source API with caching and endpoint helpers
7+
* Enabled software AEC/NS/AGC for Linux
8+
* Added event logging with public/internal tagging
9+
* Migrated manual JSON serialization to json_serializable code generation
10+
* Re-enabled Flutter lint warnings and fixed existing issues
11+
* Improved reliable data channel buffering, sequencing, and added integration tests
12+
* Fixed race condition with pending tracks
13+
314
## 2.5.3
415

516
* Feat: Data Packet Cryptor (#873)

ios/livekit_client.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'livekit_client'
3-
s.version = '2.5.3'
3+
s.version = '2.5.4'
44
s.summary = 'Open source platform for real-time audio and video.'
55
s.description = 'Open source platform for real-time audio and video.'
66
s.homepage = 'https://livekit.io/'

lib/src/core/pending_track_queue.dart

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ typedef TrackExceptionEmitter = void Function(TrackSubscriptionExceptionEvent ev
2626
@internal
2727
class PendingTrackQueue {
2828
final int maxSize;
29-
final Duration ttl;
29+
Duration ttl;
3030
final TrackExceptionEmitter emitException;
3131

3232
// keyed by participant sid
@@ -38,6 +38,14 @@ class PendingTrackQueue {
3838
this.maxSize = 100,
3939
});
4040

41+
void updateTtl(Duration ttl) {
42+
this.ttl = ttl;
43+
}
44+
45+
void clear() {
46+
_pending.clear();
47+
}
48+
4149
void enqueue({
4250
required rtc.MediaStreamTrack track,
4351
required rtc.MediaStream stream,

0 commit comments

Comments
 (0)