import struct


def set_media_streaming_cmd(enable=True):
    """
    Project: jpsumo(3), Class: MediaStreaming (18), Command: VideoEnable (0)
    Args:
        enable: 1 to enable, 0 to disable
    :return:
    """
    flag = 1 if enable else 0
    return struct.pack('<BBHB', 3, 18, 0, flag)