forked from brutella/hc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcamera_rtp_stream_management.go
44 lines (32 loc) · 1.68 KB
/
camera_rtp_stream_management.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// THIS FILE IS AUTO-GENERATED
package service
import (
"github.com/brutella/hc/characteristic"
)
const TypeCameraRTPStreamManagement = "110"
type CameraRTPStreamManagement struct {
*Service
SupportedVideoStreamConfiguration *characteristic.SupportedVideoStreamConfiguration
SupportedAudioStreamConfiguration *characteristic.SupportedAudioStreamConfiguration
SupportedRTPConfiguration *characteristic.SupportedRTPConfiguration
SelectedRTPStreamConfiguration *characteristic.SelectedRTPStreamConfiguration
StreamingStatus *characteristic.StreamingStatus
SetupEndpoints *characteristic.SetupEndpoints
}
func NewCameraRTPStreamManagement() *CameraRTPStreamManagement {
svc := CameraRTPStreamManagement{}
svc.Service = New(TypeCameraRTPStreamManagement)
svc.SupportedVideoStreamConfiguration = characteristic.NewSupportedVideoStreamConfiguration()
svc.AddCharacteristic(svc.SupportedVideoStreamConfiguration.Characteristic)
svc.SupportedAudioStreamConfiguration = characteristic.NewSupportedAudioStreamConfiguration()
svc.AddCharacteristic(svc.SupportedAudioStreamConfiguration.Characteristic)
svc.SupportedRTPConfiguration = characteristic.NewSupportedRTPConfiguration()
svc.AddCharacteristic(svc.SupportedRTPConfiguration.Characteristic)
svc.SelectedRTPStreamConfiguration = characteristic.NewSelectedRTPStreamConfiguration()
svc.AddCharacteristic(svc.SelectedRTPStreamConfiguration.Characteristic)
svc.StreamingStatus = characteristic.NewStreamingStatus()
svc.AddCharacteristic(svc.StreamingStatus.Characteristic)
svc.SetupEndpoints = characteristic.NewSetupEndpoints()
svc.AddCharacteristic(svc.SetupEndpoints.Characteristic)
return &svc
}