mirror of
https://github.com/aler9/rtsp-simple-server
synced 2025-10-05 07:36:57 +08:00
@@ -90,6 +90,7 @@ type pathGetPathConfRes struct {
|
||||
|
||||
type pathGetPathConfReq struct {
|
||||
name string
|
||||
publish bool
|
||||
credentials authCredentials
|
||||
res chan pathGetPathConfRes
|
||||
}
|
||||
@@ -130,6 +131,7 @@ type pathPublisherAnnounceRes struct {
|
||||
type pathPublisherAddReq struct {
|
||||
author publisher
|
||||
pathName string
|
||||
skipAuth bool
|
||||
credentials authCredentials
|
||||
res chan pathPublisherAnnounceRes
|
||||
}
|
||||
@@ -151,6 +153,11 @@ type pathPublisherStopReq struct {
|
||||
res chan struct{}
|
||||
}
|
||||
|
||||
type pathAPISourceOrReader struct {
|
||||
Type string `json:"type"`
|
||||
ID string `json:"id"`
|
||||
}
|
||||
|
||||
type pathAPIPathsListItem struct {
|
||||
ConfName string `json:"confName"`
|
||||
Conf *conf.PathConf `json:"conf"`
|
||||
|
Reference in New Issue
Block a user