-
Notifications
You must be signed in to change notification settings - Fork 43
/
camera_rtp_stream_management.go
44 lines (32 loc) · 1.48 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/hap/characteristic"
)
const TypeCameraRTPStreamManagement = "110"
type CameraRTPStreamManagement struct {
*S
SupportedVideoStreamConfiguration *characteristic.SupportedVideoStreamConfiguration
SupportedAudioStreamConfiguration *characteristic.SupportedAudioStreamConfiguration
SupportedRTPConfiguration *characteristic.SupportedRTPConfiguration
SelectedRTPStreamConfiguration *characteristic.SelectedRTPStreamConfiguration
StreamingStatus *characteristic.StreamingStatus
SetupEndpoints *characteristic.SetupEndpoints
}
func NewCameraRTPStreamManagement() *CameraRTPStreamManagement {
s := CameraRTPStreamManagement{}
s.S = New(TypeCameraRTPStreamManagement)
s.SupportedVideoStreamConfiguration = characteristic.NewSupportedVideoStreamConfiguration()
s.AddC(s.SupportedVideoStreamConfiguration.C)
s.SupportedAudioStreamConfiguration = characteristic.NewSupportedAudioStreamConfiguration()
s.AddC(s.SupportedAudioStreamConfiguration.C)
s.SupportedRTPConfiguration = characteristic.NewSupportedRTPConfiguration()
s.AddC(s.SupportedRTPConfiguration.C)
s.SelectedRTPStreamConfiguration = characteristic.NewSelectedRTPStreamConfiguration()
s.AddC(s.SelectedRTPStreamConfiguration.C)
s.StreamingStatus = characteristic.NewStreamingStatus()
s.AddC(s.StreamingStatus.C)
s.SetupEndpoints = characteristic.NewSetupEndpoints()
s.AddC(s.SetupEndpoints.C)
return &s
}