Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

172
Visualizações
get error like this "The OpenTok API request failed: Stream not found" at the time of applying getStream function

We have generated stream id but when we pass stream id to getstream function then we are getting domain exception error.

I have attached following code...

public function 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');
}
about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda