File tree Expand file tree Collapse file tree 4 files changed +5
-2
lines changed Expand file tree Collapse file tree 4 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 44
55use OpenTok \Exception \BroadcastDomainException ;
66use OpenTok \Exception \BroadcastUnexpectedValueException ;
7+ use OpenTok \Exception \InvalidArgumentException ;
8+ use OpenTok \Util \Client ;
79use OpenTok \Util \Validators ;
810
911class Broadcast {
Original file line number Diff line number Diff line change @@ -331,7 +331,7 @@ public function stopArchive($archiveId)
331331 * @param String $archiveId The archive ID.
332332 *
333333 * @throws ArchiveException There is no archive with the specified ID.
334- * @throws OpenTokArgumentException The archive ID provided is null or an empty string.
334+ * @throws InvalidArgumentException The archive ID provided is null or an empty string.
335335 *
336336 * @return Archive The Archive object.
337337 */
Original file line number Diff line number Diff line change 1919use OpenTok \Exception \BroadcastDomainException ;
2020use OpenTok \Exception \BroadcastUnexpectedValueException ;
2121use OpenTok \Exception \BroadcastAuthenticationException ;
22+ use OpenTok \MediaMode ;
2223
2324// TODO: build this dynamically
2425/** @internal */
Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ public static function validateArchiveListData($archiveListData)
179179 $ document ->loadSchema (self ::$ archiveSchemaUri );
180180 if (!$ document ->validate ()) {
181181 throw new InvalidArgumentException (
182- 'The archive data provided is not valid. Errors: ' .$ document ->lastError .' archiveData: ' .print_r ($ archiveData , true )
182+ 'The archive data provided is not valid. Errors: ' .$ document ->lastError .' archiveData: ' .print_r ($ archiveListData , true )
183183 );
184184 }
185185 }
You can’t perform that action at this time.
0 commit comments