GithubHelp home page GithubHelp logo

sahusoftcom / youtube-livestream-api Goto Github PK

View Code? Open in Web Editor NEW
43.0 11.0 16.0 34 KB

PHP (Laravel) Package for Google / YouTube API of Video Live Streaming with Google Auth

License: MIT License

PHP 100.00%
youtube-api youtube-event youtube-livestream-api laravel php youtube-sdk youtube-laravel-sdk

youtube-livestream-api's People

Contributors

alchemyguy avatar faizahmedfarooqui avatar shaband avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

youtube-livestream-api's Issues

Listing existing events

All documentation and even classes are focused on Starting, Creating, Stopping and Deleting a live event. Would you consider implementing a method or documentation to list existing live events? ( by date, name, time ... )

update readme of start live and stop live

method of transitionEvent has three params
transitionEvent($token, $youtube_event_id, $broadcastStatus)
but in our docs have youtube_event_id is missing
please update readme

How to use this package?

ErrorException thrown with message "Undefined property: sahusoftcom\YoutubeApi\AuthService::$getLoginUrl"
image

How to use this package?
I dont understand

Undefined offset: 0

When creating broadcast.

Keep getting this 9 times out of 10! Cannot find the source of it just yet, great work though got me started with the live api. If I find a proper fix will PR. If you know of one please let me know.
Thanks

I have set all parameters as you suggest, when I run a test, a get a null response and nothing in my error log. What is the issue?

 $authServiceObject = new AuthService();
            $ytEventObj = new YoutubeLiveEventService();
           $authUrl = $authServiceObject->getLoginUrl('[email protected]', 'UCFnsPgB0XuT_k2323uw');
            $authcode = request('code');
            $authToken = $authServiceObject->getToken($authcode);

            $data = array(
                "title" => request('title'),
                "description" => request('description'),
                "thumbnail_path" => "", // Optional
                "event_start_date_time" => request('start_time'),
                "event_end_date_time" => request('end_time'), // Optional
                "time_zone" => "",
                'privacy_status' => "unlisted", // default: "public" OR "private"
                "language_name" => "English", // default: "English"
                "tag_array" => "Africa studies "   // Optional and should not be more than 500 characters
            );
            $response = $ytEventObj->broadcast($authToken, $data);
            dd($response); //whatever variable I return, it return null or false

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.