api: fix type of RTMPS readers (#1784)
Some checks failed
apidocs
code
mod-tidy
test32
test64
test_highlevel

it was wrongly set to RTMP.
This commit is contained in:
Alessandro Ros
2023-05-10 11:39:40 +02:00
committed by GitHub
parent 37514ee850
commit 6ea299fc56
2 changed files with 2 additions and 15 deletions

View File

@@ -820,10 +820,7 @@ func (c *rtmpConn) runPublish(ctx context.Context, u *url.URL) error {
// apiReaderDescribe implements reader.
func (c *rtmpConn) apiReaderDescribe() interface{} {
return struct {
Type string `json:"type"`
ID string `json:"id"`
}{"rtmpConn", c.uuid.String()}
return c.apiSourceDescribe()
}
// apiSourceDescribe implements source.