mirror of
https://github.com/bluenviron/mediamtx
synced 2025-01-25 08:23:48 +00:00
api: add ID to WebRTC readers (#1318)
This commit is contained in:
parent
1860abea9f
commit
f394c9f8a8
@ -415,7 +415,9 @@ components:
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
enum: [webRTConn]
|
||||
enum: [webRTCConn]
|
||||
id:
|
||||
type: string
|
||||
|
||||
RTSPConn:
|
||||
type: object
|
||||
|
@ -755,5 +755,6 @@ func (c *webRTCConn) readCandidate() (*webrtc.ICECandidateInit, error) {
|
||||
func (c *webRTCConn) apiReaderDescribe() interface{} {
|
||||
return struct {
|
||||
Type string `json:"type"`
|
||||
}{"webRTCConn"}
|
||||
ID string `json:"id"`
|
||||
}{"webRTCConn", c.uuid.String()}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user