Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

173
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!