Add support for timeOffset in /stream endpoint

This commit is contained in:
Deluan
2023-12-02 13:10:25 -05:00
parent a9cf54afef
commit 812dc2090f
11 changed files with 71 additions and 43 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ type MockFFmpeg struct {
Error error
}
func (ff *MockFFmpeg) Transcode(_ context.Context, _, _ string, _ int) (f io.ReadCloser, err error) {
func (ff *MockFFmpeg) Transcode(context.Context, string, string, int, int) (io.ReadCloser, error) {
if ff.Error != nil {
return nil, ff.Error
}