openvidu-testapp: remove lossy data message burst test button

pull/894/head
pabloFuente 2026-04-21 19:07:14 +02:00
parent 7907fc40e5
commit 43267700fb
2 changed files with 0 additions and 11 deletions

View File

@ -64,9 +64,6 @@
<button class="message-lossy-btn" (click)="sendDataLossy()" title="Broadcast lossy message to room">
<mat-icon aria-label="Send lossy message button">chat_dashed</mat-icon>
</button>
<button class="message-lossy-burst-btn" (click)="sendDataLossyBurst()" title="Broadcast 500 lossy messages in burst">
<mat-icon aria-label="Send lossy burst button">fast_forward</mat-icon>
</button>
<button class="disconnect-btn" (click)="disconnectRoom()" title="Disconnect room">
<mat-icon aria-label="Disconnect button">clear</mat-icon>
</button>

View File

@ -1219,14 +1219,6 @@ export class OpenviduInstanceComponent {
this.sendData(destinationIdentity, false);
}
sendDataLossyBurst(count: number = 500) {
for (let i = 0; i < count; i++) {
const strData = `Lossy burst ${i + 1}/${count} from ${this.room?.localParticipant.identity}`;
const data = new TextEncoder().encode(strData);
this.room?.localParticipant.publishData(data, { reliable: false });
}
}
openInfoDialog() {
const updateFunction = async (): Promise<string> => {
const pub: PCTransport = this.getPublisherPC()!;