mirror of
https://github.com/bluenviron/mediamtx.git
synced 2025-12-25 12:32:01 -08:00
api: normalize entity names
This commit is contained in:
parent
9d5da00de4
commit
da44bbd18a
3 changed files with 10 additions and 10 deletions
|
|
@ -202,7 +202,7 @@ components:
|
|||
properties:
|
||||
type:
|
||||
type: string
|
||||
enum: [rtspsession]
|
||||
enum: [rtspSession]
|
||||
id:
|
||||
type: string
|
||||
|
||||
|
|
@ -211,7 +211,7 @@ components:
|
|||
properties:
|
||||
type:
|
||||
type: string
|
||||
enum: [rtspssession]
|
||||
enum: [rtspsSession]
|
||||
id:
|
||||
type: string
|
||||
|
||||
|
|
@ -220,7 +220,7 @@ components:
|
|||
properties:
|
||||
type:
|
||||
type: string
|
||||
enum: [rtmpconn]
|
||||
enum: [rtmpConn]
|
||||
id:
|
||||
type: string
|
||||
|
||||
|
|
@ -243,7 +243,7 @@ components:
|
|||
properties:
|
||||
type:
|
||||
type: string
|
||||
enum: [rtspsession]
|
||||
enum: [rtspSession]
|
||||
id:
|
||||
type: string
|
||||
|
||||
|
|
@ -252,7 +252,7 @@ components:
|
|||
properties:
|
||||
type:
|
||||
type: string
|
||||
enum: [rtspssession]
|
||||
enum: [rtspsSession]
|
||||
id:
|
||||
type: string
|
||||
|
||||
|
|
@ -261,7 +261,7 @@ components:
|
|||
properties:
|
||||
type:
|
||||
type: string
|
||||
enum: [rtmpconn]
|
||||
enum: [rtmpConn]
|
||||
id:
|
||||
type: string
|
||||
|
||||
|
|
|
|||
|
|
@ -548,7 +548,7 @@ func (c *rtmpConn) OnReaderAPIDescribe() interface{} {
|
|||
return struct {
|
||||
Type string `json:"type"`
|
||||
ID string `json:"id"`
|
||||
}{"rtmpconn", c.id}
|
||||
}{"rtmpConn", c.id}
|
||||
}
|
||||
|
||||
// OnSourceAPIDescribe implements source.
|
||||
|
|
@ -556,7 +556,7 @@ func (c *rtmpConn) OnSourceAPIDescribe() interface{} {
|
|||
return struct {
|
||||
Type string `json:"type"`
|
||||
ID string `json:"id"`
|
||||
}{"rtmpconn", c.id}
|
||||
}{"rtmpConn", c.id}
|
||||
}
|
||||
|
||||
// OnPublisherAccepted implements publisher.
|
||||
|
|
|
|||
|
|
@ -352,7 +352,7 @@ func (s *rtspSession) OnReaderAPIDescribe() interface{} {
|
|||
return struct {
|
||||
Type string `json:"type"`
|
||||
ID string `json:"id"`
|
||||
}{"rtspsession", s.id}
|
||||
}{"rtspSession", s.id}
|
||||
}
|
||||
|
||||
// OnSourceAPIDescribe implements source.
|
||||
|
|
@ -360,7 +360,7 @@ func (s *rtspSession) OnSourceAPIDescribe() interface{} {
|
|||
return struct {
|
||||
Type string `json:"type"`
|
||||
ID string `json:"id"`
|
||||
}{"rtspsession", s.id}
|
||||
}{"rtspSession", s.id}
|
||||
}
|
||||
|
||||
// OnPublisherAccepted implements publisher.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue