tangled
alpha
login
or
join now
stream.place
/
streamplace
74
fork
atom
Live video on the AT Protocol
74
fork
atom
overview
issues
1
pulls
pipelines
fix: keep receiver alive
dignifiedquire
7 months ago
f97d68d4
0e1626c5
+8
-1
1 changed file
expand all
collapse all
unified
split
pkg
cmd
streamplace.go
+8
-1
pkg/cmd/streamplace.go
···
313
313
}
314
314
315
315
rec := irohStreamplace.NewReceiverEndpoint(mm)
316
316
-
fmt.Printf("iroh replicator running, ID: %s", rec.NodeAddr().NodeId().String())
316
316
+
go func() {
317
317
+
// for now to make sure things are still alive, just print our info every 15 seconds
318
318
+
for {
319
319
+
addr := rec.NodeAddr()
320
320
+
fmt.Printf("iroh replicator running, ID: %s\nHome Relay: %s\n", addr.NodeId().String(), *addr.RelayUrl())
321
321
+
time.Sleep(15 * time.Second)
322
322
+
}
323
323
+
}()
317
324
318
325
ms, err := media.MakeMediaSigner(ctx, &cli, cli.StreamerName, signer)
319
326
if err != nil {