diff options
Diffstat (limited to 'recording')
-rw-r--r-- | recording/runner.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/recording/runner.go b/recording/runner.go index 936fcab..fcb135e 100644 --- a/recording/runner.go +++ b/recording/runner.go @@ -241,7 +241,7 @@ func tryRunTask(t *RunningTask) error { // nil (live is ended normally) func record( ctx context.Context, - bi bilibili.Bilibili, + bi *bilibili.Bilibili, task *TaskConfig, logger logging.Logger, ) error { @@ -348,7 +348,7 @@ func record( func getDanmakuServer( task *TaskConfig, - bi bilibili.Bilibili, + bi *bilibili.Bilibili, ) (string, string, error) { dmInfo, err := bi.GetDanmakuServerInfo(task.RoomId) if err != nil { |