Skip to content

Commit 89179e9

Browse files
authored
Remove experimental tag on some stabilized features (#1777)
1 parent fe2851f commit 89179e9

File tree

6 files changed

+8
-14
lines changed

6 files changed

+8
-14
lines changed

.changeset/large-cooks-peel.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"livekit-client": patch
3+
---
4+
5+
Remove experimental tag on some stabilized features

src/room/Room.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1922,15 +1922,15 @@ class Room extends (EventEmitter as new () => TypedEmitter<RoomEventCallbacks>)
19221922
});
19231923
if (byteLength(response) > MAX_PAYLOAD_BYTES) {
19241924
responseError = RpcError.builtIn('RESPONSE_PAYLOAD_TOO_LARGE');
1925-
console.warn(`RPC Response payload too large for ${method}`);
1925+
this.log.warn(`RPC Response payload too large for ${method}`);
19261926
} else {
19271927
responsePayload = response;
19281928
}
19291929
} catch (error) {
19301930
if (error instanceof RpcError) {
19311931
responseError = error;
19321932
} else {
1933-
console.warn(
1933+
this.log.warn(
19341934
`Uncaught error returned by RPC handler for ${method}. Returning APPLICATION_ERROR instead.`,
19351935
error,
19361936
);

src/room/data-stream/outgoing/OutgoingDataStreamManager.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ export default class OutgoingDataStreamManager {
9393

9494
/**
9595
* @internal
96-
* @experimental CAUTION, might get removed in a minor release
9796
*/
9897
async streamText(options?: StreamTextOptions): Promise<TextStreamWriter> {
9998
const streamId = options?.streamId ?? crypto.randomUUID();

src/room/participant/LocalParticipant.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1824,7 +1824,7 @@ export default class LocalParticipant extends Participant {
18241824
resolve: (responsePayload: string | null, responseError: RpcError | null) => {
18251825
clearTimeout(responseTimeoutId);
18261826
if (this.pendingAcks.has(id)) {
1827-
console.warn('RPC response received before ack', id);
1827+
this.log.warn('RPC response received before ack', id);
18281828
this.pendingAcks.delete(id);
18291829
clearTimeout(ackTimeoutId);
18301830
}

src/room/track/LocalTrack.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -518,8 +518,6 @@ export default abstract class LocalTrack<
518518
* Sets a processor on this track.
519519
* See https://github.com/livekit/track-processors-js for example usage
520520
*
521-
* @experimental
522-
*
523521
* @param processor
524522
* @param showProcessedStreamLocally
525523
* @returns
@@ -592,8 +590,6 @@ export default abstract class LocalTrack<
592590
* Stops the track processor
593591
* See https://github.com/livekit/track-processors-js for example usage
594592
*
595-
* @experimental
596-
* @returns
597593
*/
598594
async stopProcessor(keepElement = true) {
599595
const unlock = await this.trackChangeLock.lock();

src/room/track/processor/types.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ export type ProcessorOptions<T extends Track.Kind> = {
1111
audioContext?: AudioContext;
1212
};
1313

14-
/**
15-
* @experimental
16-
*/
1714
export interface AudioProcessorOptions extends ProcessorOptions<Track.Kind.Audio> {
1815
audioContext: AudioContext;
1916
}
@@ -23,9 +20,6 @@ export interface AudioProcessorOptions extends ProcessorOptions<Track.Kind.Audio
2320
*/
2421
export interface VideoProcessorOptions extends ProcessorOptions<Track.Kind.Video> {}
2522

26-
/**
27-
* @experimental
28-
*/
2923
export interface TrackProcessor<
3024
T extends Track.Kind,
3125
U extends ProcessorOptions<T> = ProcessorOptions<T>,

0 commit comments

Comments
 (0)