openvidu-testapp: compatibility with livekit-client 2.18.0

pull/892/head
pabloFuente 2026-04-16 14:45:05 +02:00
parent 9b850756dd
commit a3e0443dd1
1 changed files with 1 additions and 2 deletions

View File

@ -17,7 +17,6 @@ import {
ConnectionQuality, ConnectionQuality,
ConnectionState, ConnectionState,
CreateLocalTracksOptions, CreateLocalTracksOptions,
DataChannelKind,
DataPacket_Kind, DataPacket_Kind,
DataPublishOptions, DataPublishOptions,
DisconnectReason, DisconnectReason,
@ -997,7 +996,7 @@ export class OpenviduInstanceComponent {
if (this.roomEvents.get(RoomEvent.DCBufferStatusChanged)) { if (this.roomEvents.get(RoomEvent.DCBufferStatusChanged)) {
this.room!.on( this.room!.on(
RoomEvent.DCBufferStatusChanged, RoomEvent.DCBufferStatusChanged,
(isLow: boolean, kind: DataChannelKind) => { (isLow: boolean, kind: any) => {
this.updateEventList( this.updateEventList(
RoomEvent.DCBufferStatusChanged, RoomEvent.DCBufferStatusChanged,
{ isLow, kind }, { isLow, kind },