mirror of
https://github.com/Monibuca/plugin-record.git
synced 2025-10-05 16:56:53 +08:00
1.mysql数据库配置未配置时,默认使用sqlite
2.当前该流有事件录像时,重复请求该流的事件录像,录像结束时间顺延,仅实现flv
This commit is contained in:
11
raw.go
11
raw.go
@@ -5,6 +5,7 @@ import (
|
||||
. "m7s.live/engine/v4"
|
||||
"m7s.live/engine/v4/codec"
|
||||
"m7s.live/engine/v4/track"
|
||||
"time"
|
||||
)
|
||||
|
||||
type RawRecorder struct {
|
||||
@@ -12,6 +13,16 @@ type RawRecorder struct {
|
||||
IsAudio bool
|
||||
}
|
||||
|
||||
func (r *RawRecorder) StartWithDynamicTimeout(streamPath, fileName string, timeout time.Duration) error {
|
||||
//TODO implement me
|
||||
panic("implement me")
|
||||
}
|
||||
|
||||
func (r *RawRecorder) UpdateTimeout(timeout time.Duration) {
|
||||
//TODO implement me
|
||||
panic("implement me")
|
||||
}
|
||||
|
||||
func NewRawRecorder() (r *RawRecorder) {
|
||||
r = &RawRecorder{}
|
||||
r.Record = RecordPluginConfig.Raw
|
||||
|
Reference in New Issue
Block a user