Hi Asim,
Thank you for your reply.
Based on that link, we can calculate token from
STREAM_ID: The id of stream, generated in Ant Media Server.
ROLE: “play” or "publish"
SECRET: Shared secret key (should be defined in the setting file)
Afterwards, that
token should be sent to my application server in order to associate userID and streamID.
But instead of token, I can also send streamID directly. Is my understanding correct?
{
command : "joinRoom",
room : "room1",
display_name: userIdOrUsername
}
Is it supported?
Best regards,
Hermawan.