mirror of
https://github.com/aler9/rtsp-simple-server
synced 2025-10-25 16:50:27 +08:00
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user