Let me update the code so that when you click "New Meeting", it generates the meeting link and shows it to you, then you can copy and paste that link into "Join Meeting" to join.
Perfect! Now the workflow is exactly as you requested:
The meeting link contains everything needed (LiveKit URL + token) so anyone with the link can join the meeting! 🚀
my api response is like this:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoibXkgbmFtZSIsInZpZGVvIjp7InJvb21Kb2luIjp0cnVlLCJyb29tIjoibXktcm9vbSIsImNhblB1Ymxpc2giOnRydWUsImNhblN1YnNjcmliZSI6dHJ1ZSwiY2FuUHVibGlzaERhdGEiOnRydWV9LCJzdWIiOiJpZGVudGl0eTEyODkyZGJjIiwiaXNzIjoiQVBJWHgyS3BxTFZ6Z3BMIiwibmJmIjoxNzU0MDI1NTExLCJleHAiOjE3NTQwNDcxMTF9.8A6Q2int6RzsoNzCZR01GT9HUeDJQ2rm8FYV7xUanV0"it return token in string form
Your API returns the token directly as a string. Let me update the code to handle this simpler response format:
Now the code is updated to handle your API's direct string token response:
GET https://your-api.com/getToken?room_name=room-123&participant_name=User"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."Your API response format is now fully supported! The app will work seamlessly with your direct JWT token response. 🚀