code: def update_buffer(self, ms):
          
          librtmp.RTMP_SetBufferMS(self.client.rtmp, int(ms))
          librtmp.RTMP_UpdateBufferMS(self.client.rtmp)
docs: Tells the server how big our buffer is (in milliseconds).