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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
39 changed files with 1928 additions and 951 deletions

View file

@ -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"`