Hemos generado una identificación de transmisión, pero cuando pasamos la identificación de transmisión a la función getstream, obtenemos un error de excepción de dominio.
Adjunto el siguiente código...
función pública index1(){
$opentok = new OpenTok($this->config->item('opentok_key'), $this->config->item('opentok_secret')); $sessionId = "1_MX40NOTI2NH5-MTYzMjQ4MDI5MDY1Nn5tNTg0aHpSRjdoTTdDb1pHUDNKYUZuSGR-fg"; $streamId = "cf91b5ac-f995-4f77-9c5a-23cf14325720"; // print_r($streamId); exit(); $stream = $opentok->getStream($sessionId, $streamId); // print_r($stream); exit(); // // Stream properties // $stream->id; // string with the stream ID // $stream->videoType; // string with the video type // $stream->name; // string with the name // $stream->layoutClassList; // array with the layout class list $this->load->view('index1'); }