code: def get_stream_url(self, session_id, stream_id=None):
          
          url = self.api_url + '/v2/project/' + self.api_key + '/session/' + session_id + '/stream'
          if stream_id:
              url = url + '/' + stream_id
          return url
docs: this method returns the url to get streams information