Decouple the common stream forwarding logic from the specific implementations

This commit is contained in:
Dmitrii Okunev
2024-10-13 02:49:00 +01:00
parent f0a8d846c7
commit 765da7c365
23 changed files with 1019 additions and 870 deletions

View File

@@ -15,18 +15,19 @@ import (
"github.com/facebookincubator/go-belt/tool/logger"
"github.com/xaionaro-go/streamctl/pkg/observability"
"github.com/xaionaro-go/streamctl/pkg/streamserver/implementations/libav/saferecoder/process/client"
"github.com/xaionaro-go/streamctl/pkg/streamserver/recoder"
)
type InputID = client.InputID
type InputConfig = client.InputConfig
type InputConfig = recoder.InputConfig
type OutputID = client.OutputID
type OutputConfig = client.OutputConfig
type OutputConfig = recoder.OutputConfig
type RecoderID = client.RecoderID
type RecoderConfig = client.RecoderConfig
type RecoderConfig = recoder.Config
type RecoderStats = client.RecoderStats
type RecoderStats = recoder.Stats
type Recoder struct {
*client.Client