Welcome to the S2 Vision Projection.
Operating as a smart switchboard, this tool first acts as a Protocol Sniffer (协议嗅探器) to discover existing mainstream wireless projection capabilities (Apple AirPlay, Google Cast, Miracast). If none are preferred or found, it falls back to the reliable S2 Native Secure Push.
Prerequisite: export S2_PRIVACY_CONSENT=1 and S2_VISION_TOKEN
Step 1: Sniff the Target Display / 步骤 1:嗅探目标显示器
ALWAYS run this first to respect user's existing hardware ecosystem. / 永远优先运行此步骤以尊重用户现有的硬件生态。
python3 vision_cast.py --mode sniff --target-ip 192.168.1.55
Step 2: Act on Sniff Results / 步骤 2:根据嗅探结果决策
Ask the user if they want to use the detected native protocol (e.g., AirPlay). If they agree, or if none are found, use Step 3.
Step 3: Execute Projection / 步骤 3:执行投屏
Bash
# S2 Fallback Push
python3 vision_cast.py --mode snapshot_push --target-ip 192.168.1.55 --payload "/tmp/s2_alert.jpg"
共 1 个版本