diff --git a/openvidu-testapp/src/app/components/openvidu-instance/openvidu-instance.component.ts b/openvidu-testapp/src/app/components/openvidu-instance/openvidu-instance.component.ts index f926bd78..955fa1f4 100644 --- a/openvidu-testapp/src/app/components/openvidu-instance/openvidu-instance.component.ts +++ b/openvidu-testapp/src/app/components/openvidu-instance/openvidu-instance.component.ts @@ -297,7 +297,7 @@ export class OpenviduInstanceComponent implements OnInit, OnChanges, OnDestroy { updateEventList(eventName: string, eventContent: string, event: Event) { const eventInterface: OpenViduEvent = { eventName, eventContent, event }; this.events.push(eventInterface); - this.testFeedService.pushNewEvent(this.sessionName, this.session.connection.connectionId, event); + this.testFeedService.pushNewEvent(event); } toggleSubscribeTo(): void { diff --git a/openvidu-testapp/src/app/services/test-feed.service.ts b/openvidu-testapp/src/app/services/test-feed.service.ts index d164c1db..7579547a 100644 --- a/openvidu-testapp/src/app/services/test-feed.service.ts +++ b/openvidu-testapp/src/app/services/test-feed.service.ts @@ -15,7 +15,7 @@ export class TestFeedService { return this.lastEvent; } - pushNewEvent(session: string, connection: string, event: Event) { + pushNewEvent(event: Event) { this.lastEvent = event; this.newLastEvent$.next(this.lastEvent); }