Added get_compose_port, get_encode_port, get_audio_port, get_preview_ports, set_composite_mode, set_encode_mode, new_record, adjust_pip