Skip to content
This repository was archived by the owner on Nov 25, 2022. It is now read-only.
This repository was archived by the owner on Nov 25, 2022. It is now read-only.

How can we show network disconnected message to both connected users? #219

@miteshtagadiya

Description

@miteshtagadiya

We have implemented opentok react and added publisher and subscriber events,
When current users disable the network(internet) then they can see the message Connection lost, reconnecting(We have added a code to show this using subscriber disconnected event), but another user should also be shown a message that the opposite user's connection is lost they are trying to connect.

The issue is we have 2 connected users, the second user has a strong internet connection, and the first user is connected on the session and his network is disconnected due to some reason, So using subscriber disconnect event for the first user we can show a message Connection lost, reconnecting, but on second user side we are not getting any event that is dispatched on first user's network disconnect, the second user should also see the message that there is an issue on first user's side not on their own side.
Which event can I use to show the message on the second user's side and how?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions