Skip to content

Persistent Room that once created can Start or Restart again & again anytime without recreating #294

Closed Answered by ajayalag1974
ajayalag1974 asked this question in Q&A
Discussion options

You must be logged in to vote

I used alternative flow to solve the issue -

HOST -

  1. Create Room irrespective if its already created & active, will save request of verifying if Room is active & than create.
  2. Check if cached User Access Token not expired by decoding JWT Access token ?
  3. If User Access Token is expired or not cached yet, generate new User Access Token.
  4. Generate join url with current User Access Token and redirect.

VIEWERS -

  1. Check if cached User Access Token not expired by decoding JWT Access token ?
  2. If User Access Token is expired or not cached yet, generate new User Access Token.
  3. If generating User Access Token fails with message "room is not active. create room first", don't show join link as Hosts a…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@jibon57
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ajayalag1974
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants