code: def get_stream(self, session_id, stream_id):
          
          endpoint = self.endpoints.get_stream_url(session_id, stream_id)
          response = requests.get(
              endpoint, headers=self.json_headers(), proxies=self.proxies, timeout=self.timeout
          )
  
          if response.status_code == 200:
              return Stream(response.json())
          elif response.status_code == 400:
              raise GetStreamError('Invalid request. This response may indicate that data in your request data is invalid JSON. Or it may indicate that you do not pass in a session ID or you passed in an invalid stream ID.')
          elif response.status_code == 403:
              raise AuthError('You passed in an invalid OpenTok API key or JWT token.')
          elif response.status_code == 408:
              raise GetStreamError('You passed in an invalid stream ID.')
          else:
              raise RequestError('An unexpected error occurred', response.status_code)
docs: Returns an Stream object that contains information of an OpenTok stream:
  
          -id: The stream ID
          -videoType: "camera" or "screen"
          -name: The stream name (if one was set when the client published the stream)
          -layoutClassList: It's an array of the layout classes for the stream