livekit: Data messages not sending in subscribe only mood
In my case I wanted user can only participants without sharing microphone or webcam. It’s like subscribe only/listen only mood. But in that mood data messages aren’t sending. I’m getting this error in my JS client:
Uncaught (in promise) DOMException: An attempt was made to use an object that is not, or is no longer, usable
Am I misunderstanding somewhere? But if that user connect with webcam then messages are sending as expected.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 15 (8 by maintainers)
Just wanted to add that I see the same error being thrown pretty consistently after connecting to a room and publishing data right after the connection promise has resolved.
Seems to happen (mostly) with Firefox (Windows 10). present in 0.13.4 as well as 0.13.6
The rooms are not subscribe only however, they are rooms with canPublishData, canPublish granted.