Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/martin1982/live-broadcast-demo
Demo application for the live broadcast bundle.
https://github.com/martin1982/live-broadcast-demo
demo facebook live-streaming lively rtmp symfony-bundle twitch ustream youtube
Last synced: 3 months ago
JSON representation
Demo application for the live broadcast bundle.
- Host: GitHub
- URL: https://github.com/martin1982/live-broadcast-demo
- Owner: Martin1982
- License: mit
- Created: 2016-06-13T07:56:29.000Z (over 8 years ago)
- Default Branch: master-sonata
- Last Pushed: 2022-09-30T20:32:42.000Z (over 2 years ago)
- Last Synced: 2023-03-11T08:12:42.445Z (almost 2 years ago)
- Topics: demo, facebook, live-streaming, lively, rtmp, symfony-bundle, twitch, ustream, youtube
- Language: PHP
- Size: 582 KB
- Stars: 9
- Watchers: 2
- Forks: 6
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Live Video Broadcast Demo
=========================This project is a demo for the [live video broadcast bundle](https://github.com/Martin1982/live-broadcast-bundle). The same prerequisites as the bundle-project apply.
To install;
* Clone this repository
* Run `composer install`
* Run the Doctrine schema update `bin/console doctrine:schema:update --force`
* Run `symfony server:start` with certificates installed (as this is required by many channel providers) [more info](https://github.com/symfony/cli)The admin console will now be reachable at; http://localhost:8000/admin
Channels which require additional configuration are described below.
## Enable Facebook live
Create a Facebook application at https://developers.facebook.com/ with the following permissions:
- user_videos
- user_events
- user_managed_groups
- manage_pages
- publish_actions
- Live-Video APIEdit the `config/packages/live_broadcast.yaml` with the following configuration:
live_broadcast:
facebook:
application_id: YourFacebookAppId
application_secret: YourFacebookAppSecret
If you're using Sonata like this demo, add the Sonata block to login to Facebook;sonata_block:
blocks:
sonata.block.service.facebookauth:
contexts: [admin]
## Enable YouTube live streamingCreate a new 'YouTube Data API v3 Client' at https://console.developers.google.com
Edit the `config/packages/live_broadcast.yaml` with the following configuration:
live_broadcast:
youtube:
client_id: YourGoogleOauthClientId
client_secret: YourGoogleOauthClientSecret
redirect_route: admin_martin1982_livebroadcast_channel_abstractchannel_youtubeoauthThe route `admin_martin1982_livebroadcast_channel_abstractchannel_youtubeoauth` is provided out of the box to set the route for Sonata Admin.
If you're using Sonata like this demo, add the Sonata block to login to Google;
sonata_block:
blocks:
sonata.block.service.youtubeauth:
contexts: [admin]