Help me please
I'm trying to start Opentok video, i read all information, but i still can`t understand.
I started OpenTok API on heroky. And it's ok, but i don't understand how to start it on my server. I can't use heroky because of CORP error.
When I try to use heroky through a js script from example, I get a CORP error.(config.js is correct)
If I try to run the example from archiving php via sh run-demo
, then it starts, but only on http, which constantly writes that an https connection is required for the camera and microphone to work.
Please help, please. I can’t understand how I can run this on https.
If I register a port in apache2, then when run-demo starts, a message appears stating that this port is already in use.
Trying to approach the problem from the other side, I tried to install the API on my server, specifying the path in apache2 to / web / index.php
, but I only open the page as on heroky, but the methods themselves do not work.
Help me please. The fourth day in tears.
How i can start API on my own server or at least start archiving across run-demo?
On the main site it is completely incomprehensible written.
It is said just run on your server and not a word about https
I tried to watch the video on youtube, but there is also nothing about how to run on https.
Please help, good people.
Don't understand what i can add here to make help easier My run-demo file
#!/bin/sh
if [ -z "$TOKBOX_API_KEY" ] || [ -z "$TOKBOX_SECRET" ]
then
export API_KEY=HereIUseMyKey
export API_SECRET=HereIUseMySecretFromSite
fi
if [ -d "storage" ]
then
rm -rf storage/
fi
php -S mysite.ru:8080 -t web/
Trying to start API on my server with this https://github.com/opentok/learning-opentok-php
CORP error getting with this example https://github.com/opentok/opentok-web-samples/tree/master/Archiving
Can't start php example archiving with https://github.com/opentok/OpenTok-PHP-SDK/tree/master/sample/Archiving using heroky
If something else can help please tell me, I’ll add right away