streamId in joinRoom method does not exist

In my android Application i connect to the the session by calling the “joinRoom” method on server. After the response comes from Socket, sometimes i have the “value” → “streams” → “id” in the JSON but sometimes not. I need my local Stream id. How can i have it for sure?