File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -181,6 +181,8 @@ type LivePipeline struct {
181
181
Pipeline string
182
182
ControlPub * trickle.TricklePublisher
183
183
StopControl func ()
184
+ ReportUpdate func ([]byte )
185
+ DataWriter * media.SegmentWriter
184
186
185
187
StreamCtx context.Context
186
188
streamCancel context.CancelCauseFunc
@@ -217,8 +219,6 @@ func (p *LivePipeline) StreamRequest() []byte {
217
219
func (p * LivePipeline ) StopStream (err error ) {
218
220
p .StopControl ()
219
221
p .streamCancel (err )
220
- DataWriter * media .SegmentWriter
221
- ReportUpdate func ([]byte )
222
222
}
223
223
224
224
// NewLivepeerNode creates a new Livepeer Node. Eth can be nil.
Original file line number Diff line number Diff line change @@ -897,7 +897,7 @@ func (ls *LivepeerServer) UpdateStream() http.Handler {
897
897
}
898
898
899
899
params := string (data )
900
- stream .Params = params
900
+ stream .Params = data
901
901
controlPub := stream .ControlPub
902
902
903
903
if controlPub == nil {
You can’t perform that action at this time.
0 commit comments