You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Voice/Bxml/StartStream.php
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -77,6 +77,15 @@ public function streamEventMethod($streamEventMethod) {
77
77
$this->streamEventMethod = $streamEventMethod;
78
78
}
79
79
80
+
/**
81
+
* Sets the <StreamParam/> tag. You may specify up to 12 <StreamParam/> elements nested within a <StartStream> tag. These elements define optional user specified parameters that will be sent to the destination URL when the stream is first started.
82
+
*
83
+
* @param list<StreamParam> $streamParams The list of StreamParam tags
84
+
*/
85
+
publicfunctionstreamParams($streamParams) {
86
+
$this->streamParams = $streamParams;
87
+
}
88
+
80
89
publicfunctiontoBxml($doc) {
81
90
$element = $doc->createElement("StartStream");
82
91
@@ -108,6 +117,12 @@ public function toBxml($doc) {
0 commit comments