tangled
alpha
login
or
join now
stream.place
/
streamplace
77
fork
atom
Live video on the AT Protocol
77
fork
atom
overview
issues
1
pulls
pipelines
syndication: don't syndicate unpublished streams
Eli Mallon
2 weeks ago
bcc253f5
1742699a
+3
1 changed file
expand all
collapse all
unified
split
pkg
spxrpc
place_stream_live.go
+3
pkg/spxrpc/place_stream_live.go
···
193
193
log.Debug(ctx, "exiting segment reader")
194
194
return
195
195
case file := <-segChan.C:
196
196
+
if !file.Published {
197
197
+
continue
198
198
+
}
196
199
log.Debug(ctx, "got segment", "file", file.Filepath)
197
200
err := ws.WriteMessage(websocket.BinaryMessage, file.Data)
198
201
if err != nil {