tomcorbett / opentok-laravel Goto Github PK
View Code? Open in Web Editor NEWLaravel bundle for OpenTok
License: MIT License
Laravel bundle for OpenTok
License: MIT License
Hi, please update opentok dependences to latest lrelease SDK
https://github.com/opentok/OpenTok-PHP-SDK/releases
now v4.0.0
Hi Tom, this package is not working for Laravel v6.0 and above. Please update the package. Thankyou
Hi Tom,
it is not working with Laravel 5.6
Can you update it for laravel 5.6?
thanks for your great package!
Hello, I am trying to update to laravel 5.3 and this package is holding me back from doing so. Can you update your composer.json file for 5.3 and update "opentok/opentok": "dev-hitlabs" to "opentok/opentok": "2.4.x". Thanks!
The below is what I get when I try to install via composer. Tried with Laravel 5.3 then upgraded to 5.4, in case that was the problem but still no joy,,,
Problem 1
- tomcorbett/opentok-laravel v1.1.2 requires opentok/opentok dev-hitlabs -> no matching package found.
- tomcorbett/opentok-laravel v1.1.1 requires opentok/opentok dev-hitlabs -> no matching package found.
- Installation request for tomcorbett/opentok-laravel ^1.1 -> satisfiable by tomcorbett/opentok-laravel[v1.1.0, v1.1.1, v1.1.2].
- Conclusion: remove laravel/framework v5.4.15
- Conclusion: don't install laravel/framework v5.4.15
- tomcorbett/opentok-laravel v1.1.0 requires illuminate/support 5.0.x|5.1.x| 5.2.x -> satisfiable by illuminate/support[v5.0.0, v5.0.22, v5.0.25, v5.0.26, v5 .0.28, v5.0.33, v5.0.4, v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1 .25, v5.1.28, v5.1.30, v5.1.31, v5.1.41, v5.1.6, v5.1.8, v5.2.0, v5.2.19, v5.2.2 1, v5.2.24, v5.2.25, v5.2.26, v5.2.27, v5.2.28, v5.2.31, v5.2.32, v5.2.37, v5.2. 43, v5.2.45, v5.2.6, v5.2.7].
- don't install illuminate/support v5.2.0|don't install laravel/framework v5 .4.15
- don't install illuminate/support v5.2.19|don't install laravel/framework v 5.4.15
- don't install illuminate/support v5.2.21|don't install laravel/framework v 5.4.15
- don't install illuminate/support v5.2.24|don't install laravel/framework v 5.4.15
- don't install illuminate/support v5.2.25|don't install laravel/framework v 5.4.15
- don't install illuminate/support v5.2.26|don't install laravel/framework v 5.4.15
- don't install illuminate/support v5.2.27|don't install laravel/framework v 5.4.15
- don't install illuminate/support v5.2.28|don't install laravel/framework v 5.4.15
- don't install illuminate/support v5.2.31|don't install laravel/framework v 5.4.15
- don't install illuminate/support v5.2.32|don't install laravel/framework v 5.4.15
- don't install illuminate/support v5.2.37|don't install laravel/framework v 5.4.15
- don't install illuminate/support v5.2.43|don't install laravel/framework v 5.4.15
- don't install illuminate/support v5.2.45|don't install laravel/framework v 5.4.15
- don't install illuminate/support v5.2.6|don't install laravel/framework v5 .4.15
- don't install illuminate/support v5.2.7|don't install laravel/framework v5 .4.15
- don't install illuminate/support v5.0.0|don't install laravel/framework v5 .4.15
- don't install illuminate/support v5.0.22|don't install laravel/framework v 5.4.15
- don't install illuminate/support v5.0.25|don't install laravel/framework v 5.4.15
- don't install illuminate/support v5.0.26|don't install laravel/framework v 5.4.15
- don't install illuminate/support v5.0.28|don't install laravel/framework v 5.4.15
- don't install illuminate/support v5.0.33|don't install laravel/framework v 5.4.15
- don't install illuminate/support v5.0.4|don't install laravel/framework v5 .4.15
- don't install illuminate/support v5.1.1|don't install laravel/framework v5 .4.15
- don't install illuminate/support v5.1.13|don't install laravel/framework v 5.4.15
- don't install illuminate/support v5.1.16|don't install laravel/framework v 5.4.15
- don't install illuminate/support v5.1.2|don't install laravel/framework v5 .4.15
- don't install illuminate/support v5.1.20|don't install laravel/framework v 5.4.15
- don't install illuminate/support v5.1.22|don't install laravel/framework v 5.4.15
- don't install illuminate/support v5.1.25|don't install laravel/framework v 5.4.15
- don't install illuminate/support v5.1.28|don't install laravel/framework v 5.4.15
- don't install illuminate/support v5.1.30|don't install laravel/framework v 5.4.15
- don't install illuminate/support v5.1.31|don't install laravel/framework v 5.4.15
- don't install illuminate/support v5.1.41|don't install laravel/framework v 5.4.15
- don't install illuminate/support v5.1.6|don't install laravel/framework v5 .4.15
- don't install illuminate/support v5.1.8|don't install laravel/framework v5 .4.15
- Installation request for laravel/framework (locked at v5.4.15, required as 5.4.*) -> satisfiable by laravel/framework[v5.4.15].
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your min imum-stability setting
see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more det ails.
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further commo n problems.
Installation failed, reverting ./composer.json to its original content.
My composer.json:
{
"name": "laravel/laravel",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"type": "project",
"minimum-stability": "dev",
"require": {
"php": ">=5.6.4",
"laravel/framework": "5.3.*",
"auth0/login": "~4.0",
"barryvdh/laravel-cors": "^0.8.2",
"nodes/counter-cache": "^1.0",
"laravel/scout": "^2.0",
"teamtnt/laravel-scout-tntsearch-driver": "^2.0",
"tomcorbett/opentok-laravel": "^1.1"
},
"require-dev": {
"fzaninotto/faker": "~1.4",
"mockery/mockery": "0.9.*",
"phpunit/phpunit": "~5.0",
"symfony/css-selector": "3.1.*",
"symfony/dom-crawler": "3.1.*"
},
"autoload": {
"classmap": [
"database"
],
"psr-4": {
"App\\": "app/"
}
},
"autoload-dev": {
"classmap": [
"tests/TestCase.php"
]
},
"scripts": {
"post-root-package-install": [
"php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"php artisan key:generate"
],
"post-install-cmd": [
"Illuminate\\Foundation\\ComposerScripts::postInstall",
"php artisan optimize"
],
"post-update-cmd": [
"Illuminate\\Foundation\\ComposerScripts::postUpdate",
"php artisan optimize"
]
},
"config": {
"preferred-install": "dist"
}
}
Hi,
Thanks for putting this together! Is there anyway you could throw up a quick and dirty bit of documentation. I think I have this working correctly, but your official workflow would be great to have as a reference.
Thanks
When calling createSession from the Controller, the call is returning the following error:
Client error: `POST https://api.opentok.com/session/create` resulted in a `403 Forbidden` response:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<errorPayload>
<code>-1</code>
<message>Issuer not found</message>
<description>Issuer not found</description>
This is I'm running on Windows Xampp php 7.1.16
Latest documentation on OpenTok website references the ArchiveMode class. I put it in and It threw an error in the code.
I reviewed the latest version of OpenTok on Github and it has the ArchiveMode.php file. This is necessary to enable auto archiving on generated sessions. The version in this extensions composer.json file references 2.2.x version which does not have the file.
We're following the general usage example in a controller, but we're having problems with this:
$token = OpentokApi::generateToken($sessionId,
array(
'role' => Role::PUBLISHER
)
);
The application complains it cannot find the Role
class.
I'm unsure if it's due to a bad adaptation in the Laravel 5 fork, or if this also happened in Laravel 4.
The thing is, when using the OpentokApi facade, shall we have access to the rest of the classes 'included' in the OpentokApi instance? Or in the example the call should be Opentok\Opentok\Role::PUBLISHER
?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.