基于七牛直播官方 SDK 封装的 Laravel 扩展
$ composer require pili-engineering/pili-sdk-php.v2:dev-master
$ composer require pinweb/qnlive
$ php artisan vendor:publish --provider="Pinweb\Qnlive\QnliveServiceProvider"
use Pinweb\Qnlive;
Qnlive::hub()->create($stream);
Qnlive::hub()->stream($stream)->info();
Qnlive::hub()->stream($stream)->enable();
Qnlive::hub()->stream($stream)->disable();
Qnlive::pushUrl($stream);
Qnlive::playUrl($stream);
更多使用方法参见官方 SDK
Please see the changelog for more information on what has changed recently.
$ composer test
Please see contributing.md for details and a todolist.
If you discover any security related issues, please email atan@pinweb.io instead of using the issue tracker.
MIT. Please see the license file for more information.