Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Network switch & Chat not working when user joined using canSubscribe=false #416

Open
royatanu94 opened this issue Jun 27, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@royatanu94
Copy link

royatanu94 commented Jun 27, 2024

Describe the bug
Network switch not working when joined using canSubscribe=false "canPublish": true,"canPublishData": true in ios app.
Chat msg not received at IOS app.

SDK Version
2.0.10/11

iOS/macOS Version
IOS17

Xcode Version
15.4

Steps to Reproduce
Issue1:

  1. Join user1 ( "canPublish": true,"canPublishData": true,"canSubscribe": true ) from web app.
  2. Join user2 ( "canPublish": true,"canPublishData": true,"canSubscribe": false ) from ios app.
  3. Publish video from both of the user
  4. Switch internet of IOS device from mobile data to wifi or vice versa OR turn on/off internet
  5. In IOS app its seen that user1 joined from web will leave room
  6. IOS user will be disconnected with (Timed out)
  7. Even tried with increasing reconnect retry from 3 to more. Still same error
  8. Some unexpected behaviour is also seen after disconnecting room, participant view reopens

Issue2:

  1. Join user1 ( "canPublish": true,"canPublishData": true,"canSubscribe": true ) from web app.
  2. Join user2 ( "canPublish": true,"canPublishData": true,"canSubscribe": false ) from ios app.
  3. Send msg from web to ios
  4. IOS app will not receive any data msg. Tried with sdk 2.0.11 still not worked.

Expected behavior
Network switch & chat msg should work fine for user joined using canSubscribe=false

Screenshots

File (1)

Logs
Issue1:
issue1.txt

Issue2:
issue2.txt

@royatanu94 royatanu94 added the bug Something isn't working label Jun 27, 2024
@davidzhao
Copy link
Member

Looks like there is a bug here with publisher-only mode. we'll take a look.

@royatanu94
Copy link
Author

royatanu94 commented Aug 9, 2024

@davidzhao @hiroshihorie any update on this? In this case it is also seen #434

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants