nexmo-se / real-time-stats-video

MIT License
0 stars 0 forks source link

Example logging error #5

Open wiploo opened 2 years ago

wiploo commented 2 years ago

Hi, thanks for your great work.

The example in the homepage of this repository shows some error in the log console:

Best regards

javiermolsanz commented 1 year ago

Hi @wiploo apologies for the delay on this. Can you clarify the steps to reproduce the issue?

I made a quick fix as there was a method with wrong naming.

However to tackle your questions:

-on qualityLimitedStopped the toast should be hidden. I just tried it and it worked.

stats.on('qualityLimitedStopped', (event) => {
              openToast('quality', 'The quality of your video is limited', 'hide');
              console.log(event);
            });

The simulcast layers are displayed on a table instead of on a toast