def METHOD_NAME(self):
    width = self._buffer.width()
    height = self._buffer.height()
    pdu = PlayerBitmapPDU(self.layer.getCurrentTimeStamp(), width, height, self._buffer.bits())
    self.layer.sendPDU(pdu)