Skip to content

Conversation

embbnux
Copy link
Collaborator

@embbnux embbnux commented Dec 17, 2020

Core idea:

  1. Web phone connection is only connected in first opened tab.
  2. When user have a call in second tab, voice transmission is happened in first tab. Second tab only has web phone UI.
  3. When user control call in second tab, control command sent to first tab to execute (Maybe we can use call control RESTful API in future).
  4. When user close first tab, second tab becomes first opened tab. Web phone will be connected in this tab.
  5. Web phone states is shared with local storage between different tabs.
  6. Use localStorage as a message channel between different tabs.

@embbnux embbnux merged commit c2a6538 into ringcentral:master Dec 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant