···1112 "github.com/go-gst/go-gst/gst"
13 "github.com/go-gst/go-gst/gst/app"
014 "stream.place/streamplace/pkg/log"
15- "stream.place/streamplace/pkg/media/segchanman"
16)
1718type ConcatStreamer interface {
19- SubscribeSegment(ctx context.Context, user string, rendition string) <-chan *segchanman.Seg
20- UnsubscribeSegment(ctx context.Context, user string, rendition string, ch <-chan *segchanman.Seg)
21}
2223// This function remains in scope for the duration of a single users' playback
···1112 "github.com/go-gst/go-gst/gst"
13 "github.com/go-gst/go-gst/gst/app"
14+ "stream.place/streamplace/pkg/bus"
15 "stream.place/streamplace/pkg/log"
016)
1718type ConcatStreamer interface {
19+ SubscribeSegment(ctx context.Context, user string, rendition string) <-chan *bus.Seg
20+ UnsubscribeSegment(ctx context.Context, user string, rendition string, ch <-chan *bus.Seg)
21}
2223// This function remains in scope for the duration of a single users' playback