Skip to content

Commit

Permalink
pipeline refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
frostbyte73 committed Aug 19, 2023
1 parent bef981b commit f7146be
Show file tree
Hide file tree
Showing 16 changed files with 402 additions and 441 deletions.
3 changes: 3 additions & 0 deletions pkg/config/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@ func (c *BaseConfig) initLogger(values ...interface{}) error {
if err := os.Setenv("GST_DEBUG", gstDebug); err != nil {
return err
}
if err := os.Setenv("GST_DEBUG_DUMP_DOT_DIR", "/out/output"); err != nil {
return err
}

zl, err := logger.NewZapLogger(c.Logging)
if err != nil {
Expand Down
1 change: 1 addition & 0 deletions pkg/config/pipeline.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ type TrackSource struct {
MimeType types.MimeType
PayloadType webrtc.PayloadType
ClockRate uint32
EOSFunc func()
}

type AudioConfig struct {
Expand Down
Loading

0 comments on commit f7146be

Please sign in to comment.