daily-co / react-native-daily-js

https://docs.daily.co/reference/rn-daily-js
BSD 2-Clause "Simplified" License
36 stars 13 forks source link

participants video is showing loading #3

Closed gopidevarapalli closed 3 years ago

gopidevarapalli commented 4 years ago

participant video is not showing when I create room as private and also my video is not showing to the participants.

It is working fine when room is created privacy as public. How can I workout when room is private.

Did any face similar issue? Could you please help?

burhanyilmaz commented 4 years ago

callObject.join({ url: 'your room', token: 'your meeting token' }); @gopidevarapalli

gopidevarapalli commented 4 years ago

callObject.join({ url: 'your room', token: 'your meeting token' });

We are doing the same like above. But no luck. still it is showing loading

kwindla commented 4 years ago

Hi. We are working on support for private rooms. That should land next week. Does everything work for you with public rooms?

vuppunaveen commented 4 years ago

public rooms working fine

kwindla commented 4 years ago

Thanks for letting us know. Most of our largest customers use public rooms, for flexibility, and control access by simply allowing the rooms to be randomly named, and not re-using rooms. (Setting exp time any time a room is created.)

We'll definitely ship support for private rooms as soon as we have tested all of the configuration combinations and corner cases.

vuppunaveen commented 4 years ago

Thank you .. Please let us know the private availability ?

rajasekhar-github commented 4 years ago

Hi. We are working on support for private rooms. That should land next week. Does everything work for you with public rooms?

Hi team, any update on this?

gopidevarapalli commented 4 years ago

Hi. We are working on support for private rooms. That should land next week. Does everything work for you with public rooms?

Hi, Public rooms are working fine. When can we expect private room support for react native?

thuutin commented 3 years ago

@gopidevarapalli

I think private rooms are working already if you:

curl --request POST \ --url https://api.daily.co/v1/rooms/HELLO \ --header 'authorization: Bearer $TOKEN' \ --header 'content-type: application/json' \ --data '{"properties":{"signaling_impl":"ws"}}'

rajasekhar-github commented 3 years ago

@thuutin Thanks for you reply. I tried the above configuration {"signaling_impl":"ws"} Still no luck. says participants video says keep loading. I read the above setting some blog.

gopidevarapalli commented 3 years ago

@gopidevarapalli

I think private rooms are working already if you:

  • passing the meeting token with callObject.join({ url: 'your room', token: 'your meeting token' });
  • use the below API to change the signaling_impl of the room to ws. Note "HELLO" is the room name, TOKEN is your API_KEY.

curl --request POST --url https://api.daily.co/v1/rooms/HELLO --header 'authorization: Bearer $TOKEN' --header 'content-type: application/json' --data '{"properties":{"signaling_impl":"ws"}}'

I already have tried this with the following private room but no luck. Still it is showing as loading..

Following are my config:- Room Name: privatemeet Token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyIjoicHJpdmF0ZW1lZXQiLCJkIjoiODViMzdlYjQtM2RhYi00NTVmLWI1MjEtZTdmYmNhMWVjYjk4IiwiaWF0IjoxNjA3NDA4ODA5fQ.XnDBaR8SCvBO6PitIiqK5WqomTrmL4pGlUOAjzbYQ64 Meeting URL: https://gopid.daily.co/privatemeet?t=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyIjoicHJpdmF0ZW1lZXQiLCJkIjoiODViMzdlYjQtM2RhYi00NTVmLWI1MjEtZTdmYmNhMWVjYjk4IiwiaWF0IjoxNjA3NDA4ODA5fQ.XnDBaR8SCvBO6PitIiqK5WqomTrmL4pGlUOAjzbYQ64 "signaling_impl":"ws"

thuutin commented 3 years ago

How many participants are you testing with? and what platforms (web or react-native) that the participants use to join the meeting? @gopidevarapalli

gopidevarapalli commented 3 years ago

A Private room was created and trying to join the same room from react native (mobile app) and web (vice versa). The issue is that they both are not syncing. Participant video is showing as loading in mobile app(react native) and In web it is showing as Waiting for participants to join.

thuutin commented 3 years ago

@gopidevarapalli i managed to use the https://github.com/daily-co/react-native-daily-js-playground (just add the meeting token) to join private meeting. maybe you want to take a look.

kwindla commented 3 years ago

Private rooms do fail to properly join all participants to the same meeting session now, with web sockets signaling.

Please do not use private rooms with web sockets signaling, yet.

We are finalizing a fix for this.

vuppunaveen commented 3 years ago

@kwindla Please confirm us private room support for mobile app ? i hope above issue is resolved .

mattieruth commented 3 years ago

Hello all... We officially hit parity in websocket signaling in our last release and so the issues with private rooms using websocket signaling should now be resolved. Thank you for your patience. I'm closing this issue but feel free to open another if you continue to have any issues. And as always, if you have questions, the best way to get in touch is via chat on daily.co.