-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAudioEncoderConfiguration.php
166 lines (145 loc) · 3.15 KB
/
AudioEncoderConfiguration.php
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
<?php
class AudioEncoderConfiguration extends ConfigurationEntity
{
/**
* @var AudioEncoding $Encoding
*/
protected $Encoding = null;
/**
* @var int $Bitrate
*/
protected $Bitrate = null;
/**
* @var int $SampleRate
*/
protected $SampleRate = null;
/**
* @var MulticastConfiguration $Multicast
*/
protected $Multicast = null;
/**
* @var duration $SessionTimeout
*/
protected $SessionTimeout = null;
/**
* @var string $any
*/
protected $any = null;
/**
* @param Name $Name
* @param int $UseCount
* @param ReferenceToken $token
* @param AudioEncoding $Encoding
* @param int $Bitrate
* @param int $SampleRate
* @param MulticastConfiguration $Multicast
* @param duration $SessionTimeout
* @param string $any
*/
public function __construct($Name, $UseCount, $token, $Encoding, $Bitrate, $SampleRate, $Multicast, $SessionTimeout, $any)
{
parent::__construct($Name, $UseCount, $token);
$this->Encoding = $Encoding;
$this->Bitrate = $Bitrate;
$this->SampleRate = $SampleRate;
$this->Multicast = $Multicast;
$this->SessionTimeout = $SessionTimeout;
$this->any = $any;
}
/**
* @return AudioEncoding
*/
public function getEncoding()
{
return $this->Encoding;
}
/**
* @param AudioEncoding $Encoding
* @return AudioEncoderConfiguration
*/
public function setEncoding($Encoding)
{
$this->Encoding = $Encoding;
return $this;
}
/**
* @return int
*/
public function getBitrate()
{
return $this->Bitrate;
}
/**
* @param int $Bitrate
* @return AudioEncoderConfiguration
*/
public function setBitrate($Bitrate)
{
$this->Bitrate = $Bitrate;
return $this;
}
/**
* @return int
*/
public function getSampleRate()
{
return $this->SampleRate;
}
/**
* @param int $SampleRate
* @return AudioEncoderConfiguration
*/
public function setSampleRate($SampleRate)
{
$this->SampleRate = $SampleRate;
return $this;
}
/**
* @return MulticastConfiguration
*/
public function getMulticast()
{
return $this->Multicast;
}
/**
* @param MulticastConfiguration $Multicast
* @return AudioEncoderConfiguration
*/
public function setMulticast($Multicast)
{
$this->Multicast = $Multicast;
return $this;
}
/**
* @return duration
*/
public function getSessionTimeout()
{
return $this->SessionTimeout;
}
/**
* @param duration $SessionTimeout
* @return AudioEncoderConfiguration
*/
public function setSessionTimeout($SessionTimeout)
{
$this->SessionTimeout = $SessionTimeout;
return $this;
}
/**
* @return string
*/
public function getAny()
{
return $this->any;
}
/**
* @param string $any
* @return AudioEncoderConfiguration
*/
public function setAny($any)
{
$this->any = $any;
return $this;
}
}