code: def create_stream(self, seek=None, writeable=False, update_buffer=True):
          
  
          if writeable:
              librtmp.RTMP_EnableWrite(self.rtmp)
  
          # Calling handle_packet() on a connect result causes
          # librtmp to send a CreateStream call. This is not always
          # desired when using process_packets(), therefore we do it
          # here instead.
          if self._connect_result:
              self.handle_packet(self._connect_result)
  
          if not seek:
              seek = 0
  
          res = librtmp.RTMP_ConnectStream(self.rtmp, seek)
          if res < 1:
              raise RTMPError("Failed to start RTMP playback")
  
          return RTMPStream(self, update_buffer=update_buffer)
docs: Prepares the session for streaming of audio/video
             and returns a :class:`RTMPStream` object.
  
          :param seek: int, Attempt to seek to this position.
          :param writeable: bool, Make the stream writeable instead of readable.
          :param update_buffer: bool, When enabled will attempt to speed up
                                download by telling the server our buffer can
                                fit the whole stream.
  
          Raises :exc:`RTMPError` if a stream could not be created.
  
          Usage::
  
            >>> stream = conn.create_stream()
            >>> data = stream.read(1024)