opentok / opentok-php-sdk Goto Github PK
View Code? Open in Web Editor NEWOpenTok PHP Server SDK
Home Page: https://tokbox.com/developer/sdks/php/
License: MIT License
OpenTok PHP Server SDK
Home Page: https://tokbox.com/developer/sdks/php/
License: MIT License
Hi,
I am developing video chat app using your opentok.
I tried to use your php server sdk from your git sample, but I cannot build it.
I don't understand "add this package 'opentok/opentok' to composer.json" .
I tried this: require: { "opentok/opentok" : "2.2.*" }
But my computer says "could not found any version of opentok/opentok".
What's wrong?
Could you help me how to use your sample on my server?
Thank you.
PS: I used the version 1.1 in my server and my web client app before.
But the web client app(basictutorial.html from your version 1.1 sample, link:"http://tokbox.com/opentok/v1/tutorials/basic-tutorial/js/" : Download the source code section) says that the generated token is not valid.
I generated the token and session_id using the version 1.1 (apiObj = OpenTokSDK...)
Best Regards!
It exists in the REST API. Does anyone have need for it in the SDK?
This is a standard interface to allow for autoloading of the library and its dependencies.
PSR-0 Spec: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md
An example project: https://github.com/Seldaek/monolog
Hi,
How should I start the HelloWorld sample with php 5.3 as this command not working:
./run-demo
Please help,
Regards,
something like OpenTok::Roles::MODERATOR
right now p2p.preference only works because there is no filtering of what is actually passed on the wire to the server, but this is a bad idea.
This allows developer to use named keys to specify what they are setting and avoid filling in blanks with NULL. The values of this options array will have to be sanitized before encoding into the token.
https://github.com/jeffswartz/Opentok-PHP-SDK/blob/v2.2-docs/src/OpenTok/OpenTok.php#L184-L186
the typo is a missing 'A' for the word 'An' (first word).
look into some dependency injection for this, will probably be necessary for testing anyway.
not sure what the API says about the limits of these values, or what invalid values might produce as responses.
this can be done by including it in the $properties
array. this makes it so that it is completely optional and a call to createSession won't require a specific ordering of parameters nor a bunch of NULLs to skip past ones we don't care to specify.
PHP lib in 2013 without composer?
make sure that the unit tests are using an API Key and Secret from some config (like environment variables) and the instructions to set this up is in the README.md
do not make real network calls. we may need to use the Mock facilities of PHPUnit.
implement at the very least a common set of tests that are run across languages
output TAP?
Hey guys,
I'm trying to implement this source into my project but am having the below issue.
Assertion Failed: File 'D:\Projects\www\opentok\test\TestOpenTokSDK.php'
Line '102'
Code ''
Hi, when i am trying to execute the test file it is showing error as
Assertion Failed: File 'E:\xampp\htdocs\Opentok-PHP-SDK-master\test\TestOpenTokSDK.php'
Line '102'
Code ''
Tests failed :(
phing build tasks:
release
(depends on test
passing):
test
:
add to the release notes that its been removed and the last version that supported it.
This error appears when starting an archive:
"error":"The archiveJson provided is not valid. Errors:[createdAt] double value found, but a integer is required
Someone has a possible fix here: http://tokbox.com/forums/supported-server-api/archiving-api-errors-t42677#48943
the shebang specifies #!/bin/sh
, but the script contains the [[ ]]
, which is bash specific.
check out monolog/monolog
add a link in the README.md to the generated docs
public function getId() {
return $this->archiveId;
}
public function getId() {
return ((string) $this->archiveId);
}
try to get the generated version number into the format PACKAGE_NAME\VERSION
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.