OpenVidu / openvidu

OpenVidu Platform main repository

Home Page:https://openvidu.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Angular Components custom-layout not working properly

VaporMontey opened this issue · comments

Describe the bug
When using the ParticipantService needed with *ovLayout directive the remoteParticipantObs won't receive any event

Expected behavior
When subscribed to remoteParticipantObs and after a remote participant is connected a new array of ParticipantAbstractModel[] is received

Wrong current behavior
No event are fired when subscribed to remoteParticipantObs and a remote participant is connected

OpenVidu tutorial where to replicate the error

  • Just run the openvidu-custom-layout
    tutorial.
  • To simulate multiple users I've opened some tabs on my Chrome browser
  • The remote participants populates on the component when not utilizing the *ovLayout directive
  • The same behaviour happens on my server and on yours (https://demos.openvidu.io)

OpenVidu deployment info
Openvidu deployed on premises using the installation script

  • Openvidu 2.22.0
  • Kurento 6.16.0

Client device info (if applicable)

  • Chrome 104.5.5112.102 (Official Build) (64-bit) on Windows 11.
  • Angular 13 with openvidu-angular 2.22.0

Screenshots
/

Additional context
/

I think that bug have been fixed on master branch. Have you tested cloning the repo from master?

Hello @CSantosM

Just tried, I've updated the tutorials repo and even build the openvidu-angular npm module from master as you said but the problem persist

I've just tested the tutorial pointing to https://demos.openvidu.io and it is working perfectly. The remote participants events are being received properly.

image

Hello @CSantosM,

You are right, the new example seems to be working.

Best regards