Why not WebRTC
Safari's DataChannel tops out far below Wi-Fi speed, burns CPU, and can only save received data from an in-memory Blob, which dies on multi-gigabyte videos. Plain HTTP to the PC gets kernel congestion control, six parallel connections and positional writes straight to disk.

