hey thanks for the work on this i am trying this and getting this error do you know why?
also is there a way to get this to work on windows?
user@MB-Pro uboxstreamlib % swift run ubox-stream --uid xxxx --password xxxx
Building for debugging...
[1/1] Write swift-version--58304C5D6DBC2206.txt
Build of product 'ubox-stream' complete! (0.11s)
2026-06-06 12:45:52 pm [INFO] P4PClient: Bound UDP socket on port 58111
2026-06-06 12:45:52 pm [INFO] P4PClient: Phase 1: Querying master servers for relay info...
2026-06-06 12:45:52 pm [INFO] P4PClient: Resolved m1.ubianet.com -> 175.178.248.245
2026-06-06 12:45:52 pm [INFO] P4PClient: Resolved m2.ubianet.com -> 121.199.12.37
2026-06-06 12:45:52 pm [INFO] P4PClient: Resolved m3.ubianet.com -> 43.153.110.207
2026-06-06 12:45:52 pm [INFO] P4PClient: Resolved m4.ubianet.com -> 8.208.11.50
2026-06-06 12:45:52 pm [INFO] P4PClient: Resolved m5.ubianet.com -> 43.134.10.68
2026-06-06 12:45:52 pm [INFO] P4PClient: Resolved m6.ubianet.com -> 43.157.31.112
2026-06-06 12:45:52 pm [INFO] P4PClient: Got 4 relay servers from query response
2026-06-06 12:45:52 pm [INFO] P4PClient: Relay: 162.62.134.172:20001
2026-06-06 12:45:52 pm [INFO] P4PClient: Relay: 8.208.45.10:20001
2026-06-06 12:45:52 pm [INFO] P4PClient: Relay: 143.47.44.2:20001
2026-06-06 12:45:52 pm [INFO] P4PClient: Relay: 38.60.223.180:20001
2026-06-06 12:45:52 pm [INFO] P4PClient: Sent pre-emptive logout to 4 relays to clear stale state
2026-06-06 12:45:52 pm [INFO] P4PClient: Phase 2: Sending relay wakeup to 4 servers...
2026-06-06 12:45:52 pm [INFO] P4PClient: Unknown cmd 0x1208 from 8.208.45.10:20001 (212 bytes)
2026-06-06 12:45:52 pm [INFO] P4PClient: Unknown cmd 0x1208 from 162.62.134.172:20001 (52 bytes)
2026-06-06 12:45:52 pm [INFO] P4PClient: Unknown cmd 0x1208 from 143.47.44.2:20001 (212 bytes)
2026-06-06 12:45:52 pm [INFO] P4PClient: Unknown cmd 0x1208 from 38.60.223.180:20001 (212 bytes)
2026-06-06 12:45:52 pm [INFO] P4PClient: Relay wakeup accepted after 2 responses
2026-06-06 12:45:52 pm [INFO] P4PClient: Phase 3: Sending relay stream request...
2026-06-06 12:45:53 pm [INFO] P4PClient: Relay stream response from 8.208.45.10:20001: control endpoint 92.40.173.152:43636, idx=0x00, sid=0xff, session=0x3350c801, conv=0x3870ffa0
2026-06-06 12:45:53 pm [INFO] P4PClient: Phase 4: knock → 92.40.173.152:43636, mode-6 alive → 8.208.45.10:20001
2026-06-06 12:45:53 pm [INFO] P4PClient: Connected! Relay endpoint: 92.40.173.152:43636, conv=0x3870ffa0
2026-06-06 12:45:53 pm [INFO] P4PClient: Sent start video command (channel 0, SD)
2026-06-06 12:45:53 pm [INFO] P4PClient: Receiving video for 30s, writing to output.h265
2026-06-06 12:45:58 pm [INFO] P4PClient: 5s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:46:03 pm [INFO] P4PClient: 10s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:46:08 pm [INFO] P4PClient: 15s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:46:13 pm [INFO] P4PClient: 20s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:46:18 pm [INFO] P4PClient: 25s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:46:23 pm [INFO] P4PClient: Done. 0 video frames, 0 bytes written to output.h265
2026-06-06 12:46:23 pm [INFO] P4PClient: Sent stop video command
2026-06-06 12:46:23 pm [INFO] P4PClient: Sent relay logout to 5 endpoint(s)
2026-06-06 12:46:23 pm [ERROR] UBoxStream: No video data received
user@MB-Pro uboxstreamlib % swift run ubox-stream --uid xxxx --password xxxx
Building for debugging...
[1/1] Write swift-version--58304C5D6DBC2206.txt
Build of product 'ubox-stream' complete! (0.08s)
2026-06-06 12:49:06 pm [INFO] P4PClient: Bound UDP socket on port 49183
2026-06-06 12:49:06 pm [INFO] P4PClient: Phase 1: Querying master servers for relay info...
2026-06-06 12:49:06 pm [INFO] P4PClient: Resolved m1.ubianet.com -> 175.178.248.245
2026-06-06 12:49:06 pm [INFO] P4PClient: Resolved m2.ubianet.com -> 121.199.12.37
2026-06-06 12:49:06 pm [INFO] P4PClient: Resolved m3.ubianet.com -> 43.153.110.207
2026-06-06 12:49:06 pm [INFO] P4PClient: Resolved m4.ubianet.com -> 8.208.11.50
2026-06-06 12:49:06 pm [INFO] P4PClient: Resolved m5.ubianet.com -> 43.134.10.68
2026-06-06 12:49:07 pm [INFO] P4PClient: Resolved m6.ubianet.com -> 43.157.31.112
2026-06-06 12:49:07 pm [INFO] P4PClient: Got 4 relay servers from query response
2026-06-06 12:49:07 pm [INFO] P4PClient: Relay: 162.62.134.172:20001
2026-06-06 12:49:07 pm [INFO] P4PClient: Relay: 8.208.45.10:20001
2026-06-06 12:49:07 pm [INFO] P4PClient: Relay: 143.47.44.2:20001
2026-06-06 12:49:07 pm [INFO] P4PClient: Relay: 38.60.223.180:20001
2026-06-06 12:49:07 pm [INFO] P4PClient: Sent pre-emptive logout to 4 relays to clear stale state
2026-06-06 12:49:07 pm [INFO] P4PClient: Phase 2: Sending relay wakeup to 4 servers...
2026-06-06 12:49:07 pm [INFO] P4PClient: Unknown cmd 0x1208 from 8.208.45.10:20001 (212 bytes)
2026-06-06 12:49:07 pm [INFO] P4PClient: Unknown cmd 0x1208 from 162.62.134.172:20001 (52 bytes)
2026-06-06 12:49:07 pm [INFO] P4PClient: Unknown cmd 0x1208 from 143.47.44.2:20001 (52 bytes)
2026-06-06 12:49:07 pm [INFO] P4PClient: Relay wakeup accepted after 2 responses
2026-06-06 12:49:07 pm [INFO] P4PClient: Phase 3: Sending relay stream request...
2026-06-06 12:49:07 pm [INFO] P4PClient: Unknown cmd 0x1208 from 38.60.223.180:20001 (52 bytes)
2026-06-06 12:49:11 pm [WARNING] P4PClient: Could not extract relay endpoint, using sender 8.208.45.10:20001
2026-06-06 12:49:11 pm [INFO] P4PClient: Phase 4: knock → 8.208.45.10:20001, mode-6 alive → 8.208.45.10:20001
2026-06-06 12:49:11 pm [INFO] P4PClient: Connected! Relay endpoint: 8.208.45.10:20001, conv=0x0
2026-06-06 12:49:11 pm [INFO] P4PClient: Sent start video command (channel 0, SD)
2026-06-06 12:49:11 pm [INFO] P4PClient: Receiving video for 30s, writing to output.h265
2026-06-06 12:49:16 pm [INFO] P4PClient: 5s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:49:21 pm [INFO] P4PClient: 10s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:49:26 pm [INFO] P4PClient: 15s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:49:31 pm [INFO] P4PClient: 20s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:49:36 pm [INFO] P4PClient: 25s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:49:41 pm [INFO] P4PClient: Done. 0 video frames, 0 bytes written to output.h265
2026-06-06 12:49:41 pm [INFO] P4PClient: Sent stop video command
2026-06-06 12:49:41 pm [INFO] P4PClient: Sent relay logout to 4 endpoint(s)
2026-06-06 12:49:41 pm [ERROR] UBoxStream: No video data received
user@MB-Pro uboxstreamlib % swift run ubox-stream --uid xxxx --password xxxxx
Building for debugging...
[1/1] Write swift-version--58304C5D6DBC2206.txt
Build of product 'ubox-stream' complete! (0.09s)
2026-06-06 12:49:44 pm [INFO] P4PClient: Bound UDP socket on port 64637
2026-06-06 12:49:44 pm [INFO] P4PClient: Phase 1: Querying master servers for relay info...
2026-06-06 12:49:44 pm [INFO] P4PClient: Resolved m1.ubianet.com -> 175.178.248.245
2026-06-06 12:49:44 pm [INFO] P4PClient: Resolved m2.ubianet.com -> 121.199.12.37
2026-06-06 12:49:44 pm [INFO] P4PClient: Resolved m3.ubianet.com -> 43.153.110.207
2026-06-06 12:49:44 pm [INFO] P4PClient: Resolved m4.ubianet.com -> 8.208.11.50
2026-06-06 12:49:44 pm [INFO] P4PClient: Resolved m5.ubianet.com -> 43.134.10.68
2026-06-06 12:49:44 pm [INFO] P4PClient: Resolved m6.ubianet.com -> 43.157.31.112
2026-06-06 12:49:44 pm [INFO] P4PClient: Got 4 relay servers from query response
2026-06-06 12:49:44 pm [INFO] P4PClient: Relay: 162.62.134.172:20001
2026-06-06 12:49:44 pm [INFO] P4PClient: Relay: 8.208.45.10:20001
2026-06-06 12:49:44 pm [INFO] P4PClient: Relay: 143.47.44.2:20001
2026-06-06 12:49:44 pm [INFO] P4PClient: Relay: 38.60.223.180:20001
2026-06-06 12:49:44 pm [INFO] P4PClient: Sent pre-emptive logout to 4 relays to clear stale state
2026-06-06 12:49:44 pm [INFO] P4PClient: Phase 2: Sending relay wakeup to 4 servers...
2026-06-06 12:49:44 pm [INFO] P4PClient: Unknown cmd 0x1208 from 8.208.45.10:20001 (212 bytes)
2026-06-06 12:49:44 pm [INFO] P4PClient: Unknown cmd 0x1208 from 162.62.134.172:20001 (212 bytes)
2026-06-06 12:49:44 pm [INFO] P4PClient: Unknown cmd 0x1208 from 143.47.44.2:20001 (52 bytes)
2026-06-06 12:49:44 pm [INFO] P4PClient: Unknown cmd 0x1208 from 38.60.223.180:20001 (212 bytes)
2026-06-06 12:49:44 pm [INFO] P4PClient: Relay wakeup accepted after 2 responses
2026-06-06 12:49:44 pm [INFO] P4PClient: Phase 3: Sending relay stream request...
2026-06-06 12:49:50 pm [WARNING] P4PClient: Could not extract relay endpoint, using sender 8.208.45.10:20001
2026-06-06 12:49:50 pm [INFO] P4PClient: Phase 4: knock → 8.208.45.10:20001, mode-6 alive → 8.208.45.10:20001
2026-06-06 12:49:50 pm [INFO] P4PClient: Connected! Relay endpoint: 8.208.45.10:20001, conv=0x0
2026-06-06 12:49:50 pm [INFO] P4PClient: Sent start video command (channel 0, SD)
2026-06-06 12:49:50 pm [INFO] P4PClient: Receiving video for 30s, writing to output.h265
2026-06-06 12:49:55 pm [INFO] P4PClient: 5s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:50:00 pm [INFO] P4PClient: 10s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:50:05 pm [INFO] P4PClient: 15s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:50:10 pm [INFO] P4PClient: 20s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:50:15 pm [INFO] P4PClient: 25s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:50:20 pm [INFO] P4PClient: Done. 0 video frames, 0 bytes written to output.h265
2026-06-06 12:50:20 pm [INFO] P4PClient: Sent stop video command
2026-06-06 12:50:20 pm [INFO] P4PClient: Sent relay logout to 4 endpoint(s)
2026-06-06 12:50:20 pm [ERROR] UBoxStream: No video data received
user@MB-Pro uboxstreamlib % swift run ubox-stream --uid xxxx --password xxxx
Building for debugging...
[1/1] Write swift-version--58304C5D6DBC2206.txt
Build of product 'ubox-stream' complete! (0.08s)
2026-06-06 12:50:48 pm [INFO] P4PClient: Bound UDP socket on port 57813
2026-06-06 12:50:48 pm [INFO] P4PClient: Phase 1: Querying master servers for relay info...
2026-06-06 12:50:48 pm [INFO] P4PClient: Resolved m1.ubianet.com -> 175.178.248.245
2026-06-06 12:50:48 pm [INFO] P4PClient: Resolved m2.ubianet.com -> 121.199.12.37
2026-06-06 12:50:48 pm [INFO] P4PClient: Resolved m3.ubianet.com -> 43.153.110.207
2026-06-06 12:50:48 pm [INFO] P4PClient: Resolved m4.ubianet.com -> 8.208.11.50
2026-06-06 12:50:48 pm [INFO] P4PClient: Resolved m5.ubianet.com -> 43.134.10.68
2026-06-06 12:50:48 pm [INFO] P4PClient: Resolved m6.ubianet.com -> 43.157.31.112
2026-06-06 12:50:48 pm [INFO] P4PClient: Got 4 relay servers from query response
2026-06-06 12:50:48 pm [INFO] P4PClient: Relay: 162.62.134.172:20001
2026-06-06 12:50:48 pm [INFO] P4PClient: Relay: 8.208.45.10:20001
2026-06-06 12:50:48 pm [INFO] P4PClient: Relay: 143.47.44.2:20001
2026-06-06 12:50:48 pm [INFO] P4PClient: Relay: 38.60.223.180:20001
2026-06-06 12:50:48 pm [INFO] P4PClient: Sent pre-emptive logout to 4 relays to clear stale state
2026-06-06 12:50:48 pm [INFO] P4PClient: Phase 2: Sending relay wakeup to 4 servers...
2026-06-06 12:50:48 pm [INFO] P4PClient: Unknown cmd 0x1208 from 8.208.45.10:20001 (52 bytes)
2026-06-06 12:50:48 pm [INFO] P4PClient: Unknown cmd 0x1208 from 162.62.134.172:20001 (212 bytes)
2026-06-06 12:50:48 pm [INFO] P4PClient: Unknown cmd 0x1208 from 38.60.223.180:20001 (212 bytes)
2026-06-06 12:50:48 pm [INFO] P4PClient: Unknown cmd 0x1208 from 143.47.44.2:20001 (52 bytes)
2026-06-06 12:50:48 pm [INFO] P4PClient: Relay wakeup accepted after 2 responses
2026-06-06 12:50:48 pm [INFO] P4PClient: Phase 3: Sending relay stream request...
2026-06-06 12:50:48 pm [INFO] P4PClient: Relay stream response from 162.62.134.172:20001: control endpoint 92.40.173.155:58854, idx=0x00, sid=0xff, session=0xe5ef20a9, conv=0x941cec97
2026-06-06 12:50:48 pm [INFO] P4PClient: Phase 4: knock → 92.40.173.155:58854, mode-6 alive → 162.62.134.172:20001
2026-06-06 12:50:48 pm [INFO] P4PClient: Connected! Relay endpoint: 92.40.173.155:58854, conv=0x941cec97
2026-06-06 12:50:48 pm [INFO] P4PClient: Sent start video command (channel 0, SD)
2026-06-06 12:50:48 pm [INFO] P4PClient: Receiving video for 30s, writing to output.h265
2026-06-06 12:50:53 pm [INFO] P4PClient: 5s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:50:58 pm [INFO] P4PClient: 10s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:51:03 pm [INFO] P4PClient: 15s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:51:08 pm [INFO] P4PClient: 20s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:51:13 pm [INFO] P4PClient: 25s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:51:18 pm [INFO] P4PClient: Done. 0 video frames, 0 bytes written to output.h265
2026-06-06 12:51:18 pm [INFO] P4PClient: Sent stop video command
2026-06-06 12:51:18 pm [INFO] P4PClient: Sent relay logout to 5 endpoint(s)
2026-06-06 12:51:18 pm [ERROR] UBoxStream: No video data received
user@MB-Pro UBoxStreamLib % swift run ubox-stream --uid xxxxx --password xxxx --quality sd --duration 60
[1/1] Planning build
Building for debugging...
[1/1] Write swift-version--58304C5D6DBC2206.txt
Build of product 'ubox-stream' complete! (0.18s)
2026-06-06 12:54:49 pm [INFO] P4PClient: Bound UDP socket on port 49529
2026-06-06 12:54:49 pm [INFO] P4PClient: Phase 1: Querying master servers for relay info...
2026-06-06 12:54:49 pm [INFO] P4PClient: Resolved m1.ubianet.com -> 175.178.248.245
2026-06-06 12:54:49 pm [INFO] P4PClient: Resolved m2.ubianet.com -> 121.199.12.37
2026-06-06 12:54:49 pm [INFO] P4PClient: Resolved m3.ubianet.com -> 43.153.110.207
2026-06-06 12:54:49 pm [INFO] P4PClient: Resolved m4.ubianet.com -> 8.208.11.50
2026-06-06 12:54:49 pm [INFO] P4PClient: Resolved m5.ubianet.com -> 43.134.10.68
2026-06-06 12:54:49 pm [INFO] P4PClient: Resolved m6.ubianet.com -> 43.157.31.112
2026-06-06 12:54:49 pm [INFO] P4PClient: Got 4 relay servers from query response
2026-06-06 12:54:49 pm [INFO] P4PClient: Relay: 162.62.134.172:20001
2026-06-06 12:54:49 pm [INFO] P4PClient: Relay: 8.208.45.10:20001
2026-06-06 12:54:49 pm [INFO] P4PClient: Relay: 143.47.44.2:20001
2026-06-06 12:54:49 pm [INFO] P4PClient: Relay: 38.60.223.180:20001
2026-06-06 12:54:49 pm [INFO] P4PClient: Sent pre-emptive logout to 4 relays to clear stale state
2026-06-06 12:54:49 pm [INFO] P4PClient: Phase 2: Sending relay wakeup to 4 servers...
2026-06-06 12:54:49 pm [INFO] P4PClient: Unknown cmd 0x1208 from 8.208.45.10:20001 (212 bytes)
2026-06-06 12:54:49 pm [INFO] P4PClient: Unknown cmd 0x1208 from 162.62.134.172:20001 (212 bytes)
2026-06-06 12:54:49 pm [INFO] P4PClient: Unknown cmd 0x1208 from 143.47.44.2:20001 (52 bytes)
2026-06-06 12:54:49 pm [INFO] P4PClient: Unknown cmd 0x1208 from 38.60.223.180:20001 (68 bytes)
2026-06-06 12:54:49 pm [INFO] P4PClient: Relay wakeup accepted after 2 responses
2026-06-06 12:54:49 pm [INFO] P4PClient: Phase 3: Sending relay stream request...
2026-06-06 12:54:49 pm [INFO] P4PClient: Relay stream response from 8.208.45.10:20001: control endpoint 92.40.173.152:43628, idx=0x00, sid=0xff, session=0x347ec91a, conv=0x829fe3c4
2026-06-06 12:54:49 pm [INFO] P4PClient: Phase 4: knock → 92.40.173.152:43628, mode-6 alive → 8.208.45.10:20001
2026-06-06 12:54:49 pm [INFO] P4PClient: Connected! Relay endpoint: 92.40.173.152:43628, conv=0x829fe3c4
2026-06-06 12:54:49 pm [INFO] P4PClient: Sent start video command (channel 0, SD)
2026-06-06 12:54:49 pm [INFO] P4PClient: Receiving video for 60s, writing to output.h265
2026-06-06 12:54:54 pm [INFO] P4PClient: 5s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:54:59 pm [INFO] P4PClient: 10s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:55:04 pm [INFO] P4PClient: 15s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:55:09 pm [INFO] P4PClient: 20s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:55:14 pm [INFO] P4PClient: 25s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:55:20 pm [INFO] P4PClient: 30s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:55:25 pm [INFO] P4PClient: 35s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:55:30 pm [INFO] P4PClient: 40s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:55:35 pm [INFO] P4PClient: 45s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:55:40 pm [INFO] P4PClient: 50s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:55:45 pm [INFO] P4PClient: 55s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:55:49 pm [INFO] P4PClient: Done. 0 video frames, 0 bytes written to output.h265
2026-06-06 12:55:49 pm [INFO] P4PClient: Sent stop video command
2026-06-06 12:55:49 pm [INFO] P4PClient: Sent relay logout to 5 endpoint(s)
2026-06-06 12:55:49 pm [ERROR] UBoxStream: No video data received
hey thanks for the work on this i am trying this and getting this error do you know why?
also is there a way to get this to work on windows?
user@MB-Pro uboxstreamlib % swift run ubox-stream --uid xxxx --password xxxx
Building for debugging...
[1/1] Write swift-version--58304C5D6DBC2206.txt
Build of product 'ubox-stream' complete! (0.11s)
2026-06-06 12:45:52 pm [INFO] P4PClient: Bound UDP socket on port 58111
2026-06-06 12:45:52 pm [INFO] P4PClient: Phase 1: Querying master servers for relay info...
2026-06-06 12:45:52 pm [INFO] P4PClient: Resolved m1.ubianet.com -> 175.178.248.245
2026-06-06 12:45:52 pm [INFO] P4PClient: Resolved m2.ubianet.com -> 121.199.12.37
2026-06-06 12:45:52 pm [INFO] P4PClient: Resolved m3.ubianet.com -> 43.153.110.207
2026-06-06 12:45:52 pm [INFO] P4PClient: Resolved m4.ubianet.com -> 8.208.11.50
2026-06-06 12:45:52 pm [INFO] P4PClient: Resolved m5.ubianet.com -> 43.134.10.68
2026-06-06 12:45:52 pm [INFO] P4PClient: Resolved m6.ubianet.com -> 43.157.31.112
2026-06-06 12:45:52 pm [INFO] P4PClient: Got 4 relay servers from query response
2026-06-06 12:45:52 pm [INFO] P4PClient: Relay: 162.62.134.172:20001
2026-06-06 12:45:52 pm [INFO] P4PClient: Relay: 8.208.45.10:20001
2026-06-06 12:45:52 pm [INFO] P4PClient: Relay: 143.47.44.2:20001
2026-06-06 12:45:52 pm [INFO] P4PClient: Relay: 38.60.223.180:20001
2026-06-06 12:45:52 pm [INFO] P4PClient: Sent pre-emptive logout to 4 relays to clear stale state
2026-06-06 12:45:52 pm [INFO] P4PClient: Phase 2: Sending relay wakeup to 4 servers...
2026-06-06 12:45:52 pm [INFO] P4PClient: Unknown cmd 0x1208 from 8.208.45.10:20001 (212 bytes)
2026-06-06 12:45:52 pm [INFO] P4PClient: Unknown cmd 0x1208 from 162.62.134.172:20001 (52 bytes)
2026-06-06 12:45:52 pm [INFO] P4PClient: Unknown cmd 0x1208 from 143.47.44.2:20001 (212 bytes)
2026-06-06 12:45:52 pm [INFO] P4PClient: Unknown cmd 0x1208 from 38.60.223.180:20001 (212 bytes)
2026-06-06 12:45:52 pm [INFO] P4PClient: Relay wakeup accepted after 2 responses
2026-06-06 12:45:52 pm [INFO] P4PClient: Phase 3: Sending relay stream request...
2026-06-06 12:45:53 pm [INFO] P4PClient: Relay stream response from 8.208.45.10:20001: control endpoint 92.40.173.152:43636, idx=0x00, sid=0xff, session=0x3350c801, conv=0x3870ffa0
2026-06-06 12:45:53 pm [INFO] P4PClient: Phase 4: knock → 92.40.173.152:43636, mode-6 alive → 8.208.45.10:20001
2026-06-06 12:45:53 pm [INFO] P4PClient: Connected! Relay endpoint: 92.40.173.152:43636, conv=0x3870ffa0
2026-06-06 12:45:53 pm [INFO] P4PClient: Sent start video command (channel 0, SD)
2026-06-06 12:45:53 pm [INFO] P4PClient: Receiving video for 30s, writing to output.h265
2026-06-06 12:45:58 pm [INFO] P4PClient: 5s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:46:03 pm [INFO] P4PClient: 10s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:46:08 pm [INFO] P4PClient: 15s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:46:13 pm [INFO] P4PClient: 20s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:46:18 pm [INFO] P4PClient: 25s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:46:23 pm [INFO] P4PClient: Done. 0 video frames, 0 bytes written to output.h265
2026-06-06 12:46:23 pm [INFO] P4PClient: Sent stop video command
2026-06-06 12:46:23 pm [INFO] P4PClient: Sent relay logout to 5 endpoint(s)
2026-06-06 12:46:23 pm [ERROR] UBoxStream: No video data received
user@MB-Pro uboxstreamlib % swift run ubox-stream --uid xxxx --password xxxx
Building for debugging...
[1/1] Write swift-version--58304C5D6DBC2206.txt
Build of product 'ubox-stream' complete! (0.08s)
2026-06-06 12:49:06 pm [INFO] P4PClient: Bound UDP socket on port 49183
2026-06-06 12:49:06 pm [INFO] P4PClient: Phase 1: Querying master servers for relay info...
2026-06-06 12:49:06 pm [INFO] P4PClient: Resolved m1.ubianet.com -> 175.178.248.245
2026-06-06 12:49:06 pm [INFO] P4PClient: Resolved m2.ubianet.com -> 121.199.12.37
2026-06-06 12:49:06 pm [INFO] P4PClient: Resolved m3.ubianet.com -> 43.153.110.207
2026-06-06 12:49:06 pm [INFO] P4PClient: Resolved m4.ubianet.com -> 8.208.11.50
2026-06-06 12:49:06 pm [INFO] P4PClient: Resolved m5.ubianet.com -> 43.134.10.68
2026-06-06 12:49:07 pm [INFO] P4PClient: Resolved m6.ubianet.com -> 43.157.31.112
2026-06-06 12:49:07 pm [INFO] P4PClient: Got 4 relay servers from query response
2026-06-06 12:49:07 pm [INFO] P4PClient: Relay: 162.62.134.172:20001
2026-06-06 12:49:07 pm [INFO] P4PClient: Relay: 8.208.45.10:20001
2026-06-06 12:49:07 pm [INFO] P4PClient: Relay: 143.47.44.2:20001
2026-06-06 12:49:07 pm [INFO] P4PClient: Relay: 38.60.223.180:20001
2026-06-06 12:49:07 pm [INFO] P4PClient: Sent pre-emptive logout to 4 relays to clear stale state
2026-06-06 12:49:07 pm [INFO] P4PClient: Phase 2: Sending relay wakeup to 4 servers...
2026-06-06 12:49:07 pm [INFO] P4PClient: Unknown cmd 0x1208 from 8.208.45.10:20001 (212 bytes)
2026-06-06 12:49:07 pm [INFO] P4PClient: Unknown cmd 0x1208 from 162.62.134.172:20001 (52 bytes)
2026-06-06 12:49:07 pm [INFO] P4PClient: Unknown cmd 0x1208 from 143.47.44.2:20001 (52 bytes)
2026-06-06 12:49:07 pm [INFO] P4PClient: Relay wakeup accepted after 2 responses
2026-06-06 12:49:07 pm [INFO] P4PClient: Phase 3: Sending relay stream request...
2026-06-06 12:49:07 pm [INFO] P4PClient: Unknown cmd 0x1208 from 38.60.223.180:20001 (52 bytes)
2026-06-06 12:49:11 pm [WARNING] P4PClient: Could not extract relay endpoint, using sender 8.208.45.10:20001
2026-06-06 12:49:11 pm [INFO] P4PClient: Phase 4: knock → 8.208.45.10:20001, mode-6 alive → 8.208.45.10:20001
2026-06-06 12:49:11 pm [INFO] P4PClient: Connected! Relay endpoint: 8.208.45.10:20001, conv=0x0
2026-06-06 12:49:11 pm [INFO] P4PClient: Sent start video command (channel 0, SD)
2026-06-06 12:49:11 pm [INFO] P4PClient: Receiving video for 30s, writing to output.h265
2026-06-06 12:49:16 pm [INFO] P4PClient: 5s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:49:21 pm [INFO] P4PClient: 10s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:49:26 pm [INFO] P4PClient: 15s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:49:31 pm [INFO] P4PClient: 20s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:49:36 pm [INFO] P4PClient: 25s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:49:41 pm [INFO] P4PClient: Done. 0 video frames, 0 bytes written to output.h265
2026-06-06 12:49:41 pm [INFO] P4PClient: Sent stop video command
2026-06-06 12:49:41 pm [INFO] P4PClient: Sent relay logout to 4 endpoint(s)
2026-06-06 12:49:41 pm [ERROR] UBoxStream: No video data received
user@MB-Pro uboxstreamlib % swift run ubox-stream --uid xxxx --password xxxxx
Building for debugging...
[1/1] Write swift-version--58304C5D6DBC2206.txt
Build of product 'ubox-stream' complete! (0.09s)
2026-06-06 12:49:44 pm [INFO] P4PClient: Bound UDP socket on port 64637
2026-06-06 12:49:44 pm [INFO] P4PClient: Phase 1: Querying master servers for relay info...
2026-06-06 12:49:44 pm [INFO] P4PClient: Resolved m1.ubianet.com -> 175.178.248.245
2026-06-06 12:49:44 pm [INFO] P4PClient: Resolved m2.ubianet.com -> 121.199.12.37
2026-06-06 12:49:44 pm [INFO] P4PClient: Resolved m3.ubianet.com -> 43.153.110.207
2026-06-06 12:49:44 pm [INFO] P4PClient: Resolved m4.ubianet.com -> 8.208.11.50
2026-06-06 12:49:44 pm [INFO] P4PClient: Resolved m5.ubianet.com -> 43.134.10.68
2026-06-06 12:49:44 pm [INFO] P4PClient: Resolved m6.ubianet.com -> 43.157.31.112
2026-06-06 12:49:44 pm [INFO] P4PClient: Got 4 relay servers from query response
2026-06-06 12:49:44 pm [INFO] P4PClient: Relay: 162.62.134.172:20001
2026-06-06 12:49:44 pm [INFO] P4PClient: Relay: 8.208.45.10:20001
2026-06-06 12:49:44 pm [INFO] P4PClient: Relay: 143.47.44.2:20001
2026-06-06 12:49:44 pm [INFO] P4PClient: Relay: 38.60.223.180:20001
2026-06-06 12:49:44 pm [INFO] P4PClient: Sent pre-emptive logout to 4 relays to clear stale state
2026-06-06 12:49:44 pm [INFO] P4PClient: Phase 2: Sending relay wakeup to 4 servers...
2026-06-06 12:49:44 pm [INFO] P4PClient: Unknown cmd 0x1208 from 8.208.45.10:20001 (212 bytes)
2026-06-06 12:49:44 pm [INFO] P4PClient: Unknown cmd 0x1208 from 162.62.134.172:20001 (212 bytes)
2026-06-06 12:49:44 pm [INFO] P4PClient: Unknown cmd 0x1208 from 143.47.44.2:20001 (52 bytes)
2026-06-06 12:49:44 pm [INFO] P4PClient: Unknown cmd 0x1208 from 38.60.223.180:20001 (212 bytes)
2026-06-06 12:49:44 pm [INFO] P4PClient: Relay wakeup accepted after 2 responses
2026-06-06 12:49:44 pm [INFO] P4PClient: Phase 3: Sending relay stream request...
2026-06-06 12:49:50 pm [WARNING] P4PClient: Could not extract relay endpoint, using sender 8.208.45.10:20001
2026-06-06 12:49:50 pm [INFO] P4PClient: Phase 4: knock → 8.208.45.10:20001, mode-6 alive → 8.208.45.10:20001
2026-06-06 12:49:50 pm [INFO] P4PClient: Connected! Relay endpoint: 8.208.45.10:20001, conv=0x0
2026-06-06 12:49:50 pm [INFO] P4PClient: Sent start video command (channel 0, SD)
2026-06-06 12:49:50 pm [INFO] P4PClient: Receiving video for 30s, writing to output.h265
2026-06-06 12:49:55 pm [INFO] P4PClient: 5s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:50:00 pm [INFO] P4PClient: 10s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:50:05 pm [INFO] P4PClient: 15s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:50:10 pm [INFO] P4PClient: 20s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:50:15 pm [INFO] P4PClient: 25s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:50:20 pm [INFO] P4PClient: Done. 0 video frames, 0 bytes written to output.h265
2026-06-06 12:50:20 pm [INFO] P4PClient: Sent stop video command
2026-06-06 12:50:20 pm [INFO] P4PClient: Sent relay logout to 4 endpoint(s)
2026-06-06 12:50:20 pm [ERROR] UBoxStream: No video data received
user@MB-Pro uboxstreamlib % swift run ubox-stream --uid xxxx --password xxxx
Building for debugging...
[1/1] Write swift-version--58304C5D6DBC2206.txt
Build of product 'ubox-stream' complete! (0.08s)
2026-06-06 12:50:48 pm [INFO] P4PClient: Bound UDP socket on port 57813
2026-06-06 12:50:48 pm [INFO] P4PClient: Phase 1: Querying master servers for relay info...
2026-06-06 12:50:48 pm [INFO] P4PClient: Resolved m1.ubianet.com -> 175.178.248.245
2026-06-06 12:50:48 pm [INFO] P4PClient: Resolved m2.ubianet.com -> 121.199.12.37
2026-06-06 12:50:48 pm [INFO] P4PClient: Resolved m3.ubianet.com -> 43.153.110.207
2026-06-06 12:50:48 pm [INFO] P4PClient: Resolved m4.ubianet.com -> 8.208.11.50
2026-06-06 12:50:48 pm [INFO] P4PClient: Resolved m5.ubianet.com -> 43.134.10.68
2026-06-06 12:50:48 pm [INFO] P4PClient: Resolved m6.ubianet.com -> 43.157.31.112
2026-06-06 12:50:48 pm [INFO] P4PClient: Got 4 relay servers from query response
2026-06-06 12:50:48 pm [INFO] P4PClient: Relay: 162.62.134.172:20001
2026-06-06 12:50:48 pm [INFO] P4PClient: Relay: 8.208.45.10:20001
2026-06-06 12:50:48 pm [INFO] P4PClient: Relay: 143.47.44.2:20001
2026-06-06 12:50:48 pm [INFO] P4PClient: Relay: 38.60.223.180:20001
2026-06-06 12:50:48 pm [INFO] P4PClient: Sent pre-emptive logout to 4 relays to clear stale state
2026-06-06 12:50:48 pm [INFO] P4PClient: Phase 2: Sending relay wakeup to 4 servers...
2026-06-06 12:50:48 pm [INFO] P4PClient: Unknown cmd 0x1208 from 8.208.45.10:20001 (52 bytes)
2026-06-06 12:50:48 pm [INFO] P4PClient: Unknown cmd 0x1208 from 162.62.134.172:20001 (212 bytes)
2026-06-06 12:50:48 pm [INFO] P4PClient: Unknown cmd 0x1208 from 38.60.223.180:20001 (212 bytes)
2026-06-06 12:50:48 pm [INFO] P4PClient: Unknown cmd 0x1208 from 143.47.44.2:20001 (52 bytes)
2026-06-06 12:50:48 pm [INFO] P4PClient: Relay wakeup accepted after 2 responses
2026-06-06 12:50:48 pm [INFO] P4PClient: Phase 3: Sending relay stream request...
2026-06-06 12:50:48 pm [INFO] P4PClient: Relay stream response from 162.62.134.172:20001: control endpoint 92.40.173.155:58854, idx=0x00, sid=0xff, session=0xe5ef20a9, conv=0x941cec97
2026-06-06 12:50:48 pm [INFO] P4PClient: Phase 4: knock → 92.40.173.155:58854, mode-6 alive → 162.62.134.172:20001
2026-06-06 12:50:48 pm [INFO] P4PClient: Connected! Relay endpoint: 92.40.173.155:58854, conv=0x941cec97
2026-06-06 12:50:48 pm [INFO] P4PClient: Sent start video command (channel 0, SD)
2026-06-06 12:50:48 pm [INFO] P4PClient: Receiving video for 30s, writing to output.h265
2026-06-06 12:50:53 pm [INFO] P4PClient: 5s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:50:58 pm [INFO] P4PClient: 10s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:51:03 pm [INFO] P4PClient: 15s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:51:08 pm [INFO] P4PClient: 20s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:51:13 pm [INFO] P4PClient: 25s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:51:18 pm [INFO] P4PClient: Done. 0 video frames, 0 bytes written to output.h265
2026-06-06 12:51:18 pm [INFO] P4PClient: Sent stop video command
2026-06-06 12:51:18 pm [INFO] P4PClient: Sent relay logout to 5 endpoint(s)
2026-06-06 12:51:18 pm [ERROR] UBoxStream: No video data received
user@MB-Pro UBoxStreamLib % swift run ubox-stream --uid xxxxx --password xxxx --quality sd --duration 60
[1/1] Planning build
Building for debugging...
[1/1] Write swift-version--58304C5D6DBC2206.txt
Build of product 'ubox-stream' complete! (0.18s)
2026-06-06 12:54:49 pm [INFO] P4PClient: Bound UDP socket on port 49529
2026-06-06 12:54:49 pm [INFO] P4PClient: Phase 1: Querying master servers for relay info...
2026-06-06 12:54:49 pm [INFO] P4PClient: Resolved m1.ubianet.com -> 175.178.248.245
2026-06-06 12:54:49 pm [INFO] P4PClient: Resolved m2.ubianet.com -> 121.199.12.37
2026-06-06 12:54:49 pm [INFO] P4PClient: Resolved m3.ubianet.com -> 43.153.110.207
2026-06-06 12:54:49 pm [INFO] P4PClient: Resolved m4.ubianet.com -> 8.208.11.50
2026-06-06 12:54:49 pm [INFO] P4PClient: Resolved m5.ubianet.com -> 43.134.10.68
2026-06-06 12:54:49 pm [INFO] P4PClient: Resolved m6.ubianet.com -> 43.157.31.112
2026-06-06 12:54:49 pm [INFO] P4PClient: Got 4 relay servers from query response
2026-06-06 12:54:49 pm [INFO] P4PClient: Relay: 162.62.134.172:20001
2026-06-06 12:54:49 pm [INFO] P4PClient: Relay: 8.208.45.10:20001
2026-06-06 12:54:49 pm [INFO] P4PClient: Relay: 143.47.44.2:20001
2026-06-06 12:54:49 pm [INFO] P4PClient: Relay: 38.60.223.180:20001
2026-06-06 12:54:49 pm [INFO] P4PClient: Sent pre-emptive logout to 4 relays to clear stale state
2026-06-06 12:54:49 pm [INFO] P4PClient: Phase 2: Sending relay wakeup to 4 servers...
2026-06-06 12:54:49 pm [INFO] P4PClient: Unknown cmd 0x1208 from 8.208.45.10:20001 (212 bytes)
2026-06-06 12:54:49 pm [INFO] P4PClient: Unknown cmd 0x1208 from 162.62.134.172:20001 (212 bytes)
2026-06-06 12:54:49 pm [INFO] P4PClient: Unknown cmd 0x1208 from 143.47.44.2:20001 (52 bytes)
2026-06-06 12:54:49 pm [INFO] P4PClient: Unknown cmd 0x1208 from 38.60.223.180:20001 (68 bytes)
2026-06-06 12:54:49 pm [INFO] P4PClient: Relay wakeup accepted after 2 responses
2026-06-06 12:54:49 pm [INFO] P4PClient: Phase 3: Sending relay stream request...
2026-06-06 12:54:49 pm [INFO] P4PClient: Relay stream response from 8.208.45.10:20001: control endpoint 92.40.173.152:43628, idx=0x00, sid=0xff, session=0x347ec91a, conv=0x829fe3c4
2026-06-06 12:54:49 pm [INFO] P4PClient: Phase 4: knock → 92.40.173.152:43628, mode-6 alive → 8.208.45.10:20001
2026-06-06 12:54:49 pm [INFO] P4PClient: Connected! Relay endpoint: 92.40.173.152:43628, conv=0x829fe3c4
2026-06-06 12:54:49 pm [INFO] P4PClient: Sent start video command (channel 0, SD)
2026-06-06 12:54:49 pm [INFO] P4PClient: Receiving video for 60s, writing to output.h265
2026-06-06 12:54:54 pm [INFO] P4PClient: 5s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:54:59 pm [INFO] P4PClient: 10s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:55:04 pm [INFO] P4PClient: 15s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:55:09 pm [INFO] P4PClient: 20s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:55:14 pm [INFO] P4PClient: 25s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:55:20 pm [INFO] P4PClient: 30s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:55:25 pm [INFO] P4PClient: 35s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:55:30 pm [INFO] P4PClient: 40s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:55:35 pm [INFO] P4PClient: 45s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:55:40 pm [INFO] P4PClient: 50s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:55:45 pm [INFO] P4PClient: 55s elapsed, 0 bytes H.265, 0 video frames, 0 audio frames, KCP sn=0
2026-06-06 12:55:49 pm [INFO] P4PClient: Done. 0 video frames, 0 bytes written to output.h265
2026-06-06 12:55:49 pm [INFO] P4PClient: Sent stop video command
2026-06-06 12:55:49 pm [INFO] P4PClient: Sent relay logout to 5 endpoint(s)
2026-06-06 12:55:49 pm [ERROR] UBoxStream: No video data received