support publishing with WebRTC (#1659) (#1786)

This commit is contained in:
Alessandro Ros
2023-05-14 14:18:03 +02:00
committed by GitHub
parent 6ea299fc56
commit 1688e5d2e5
39 changed files with 1928 additions and 951 deletions

View File

@@ -17,7 +17,7 @@ const (
type sourceStaticImpl interface {
logger.Writer
run(context.Context, *conf.PathConf, chan *conf.PathConf) error
apiSourceDescribe() interface{}
apiSourceDescribe() pathAPISourceOrReader
}
type sourceStaticParent interface {
@@ -201,7 +201,7 @@ func (s *sourceStatic) reloadConf(newConf *conf.PathConf) {
}
// apiSourceDescribe implements source.
func (s *sourceStatic) apiSourceDescribe() interface{} {
func (s *sourceStatic) apiSourceDescribe() pathAPISourceOrReader {
return s.impl.apiSourceDescribe()
}