mirror of
https://github.com/datarhei/core.git
synced 2025-10-05 16:07:07 +08:00
Various updates
- rebrand group to domain - move IAM to the API (rest and graph) for enforcing "process:" rules - add abstraction layer for restream store in order to decouple internal format from format on disk - move playout handler into restreamHandler - remove user from restream interface - add TaskID type that includes the process id and its domain
This commit is contained in:
@@ -36,6 +36,7 @@ import (
|
||||
"github.com/datarhei/core/v16/restream/replace"
|
||||
"github.com/datarhei/core/v16/restream/rewrite"
|
||||
restreamstore "github.com/datarhei/core/v16/restream/store"
|
||||
restreamjsonstore "github.com/datarhei/core/v16/restream/store/json"
|
||||
"github.com/datarhei/core/v16/rtmp"
|
||||
"github.com/datarhei/core/v16/service"
|
||||
"github.com/datarhei/core/v16/session"
|
||||
@@ -718,7 +719,7 @@ func (a *api) start() error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
store, err = restreamstore.NewJSON(restreamstore.JSONConfig{
|
||||
store, err = restreamjsonstore.New(restreamjsonstore.Config{
|
||||
Filesystem: fs,
|
||||
Filepath: "/db.json",
|
||||
Logger: a.log.logger.core.WithComponent("ProcessStore"),
|
||||
|
Reference in New Issue
Block a user