mirror of
https://github.com/oscar-davids/lpmsdemo.git
synced 2025-12-24 12:37:59 +08:00
14 lines
352 B
Go
14 lines
352 B
Go
package core
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/oscar-davids/lpmsdemo/segmenter"
|
|
"github.com/oscar-davids/lpmsdemo/stream"
|
|
)
|
|
|
|
//RTMPSegmenter describes an interface for a segmenter
|
|
type RTMPSegmenter interface {
|
|
SegmentRTMPToHLS(ctx context.Context, rs stream.RTMPVideoStream, hs stream.HLSVideoStream, segOptions segmenter.SegmenterOptions) error
|
|
}
|