{"id":19246858,"url":"https://github.com/martin1982/live-broadcast-bundle","last_synced_at":"2025-05-09T01:45:07.412Z","repository":{"id":62524473,"uuid":"59589572","full_name":"Martin1982/live-broadcast-bundle","owner":"Martin1982","description":"Live broadcasting planner and scheduler","archived":false,"fork":false,"pushed_at":"2025-05-05T06:36:40.000Z","size":2269,"stargazers_count":47,"open_issues_count":7,"forks_count":17,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-05-09T01:44:57.584Z","etag":null,"topics":["broadcaster","facebook","facebook-live","ffmpeg","php","rtmp","twitch","youtube","youtube-live"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Martin1982.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-05-24T16:23:35.000Z","updated_at":"2025-05-05T06:36:43.000Z","dependencies_parsed_at":"2023-02-14T06:30:37.011Z","dependency_job_id":"24a04a60-7603-4127-99be-c551cf274e3a","html_url":"https://github.com/Martin1982/live-broadcast-bundle","commit_stats":{"total_commits":561,"total_committers":9,"mean_commits":"62.333333333333336","dds":0.285204991087344,"last_synced_commit":"f0fc09c5d31c928f4507e71216c755ad96797220"},"previous_names":[],"tags_count":84,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Martin1982%2Flive-broadcast-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Martin1982%2Flive-broadcast-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Martin1982%2Flive-broadcast-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Martin1982%2Flive-broadcast-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Martin1982","download_url":"https://codeload.github.com/Martin1982/live-broadcast-bundle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253176444,"owners_count":21866142,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["broadcaster","facebook","facebook-live","ffmpeg","php","rtmp","twitch","youtube","youtube-live"],"created_at":"2024-11-09T17:34:13.170Z","updated_at":"2025-05-09T01:45:07.390Z","avatar_url":"https://github.com/Martin1982.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Live Broadcast Bundle\n\n[![Build status](https://github.com/martin1982/live-broadcast-bundle/workflows/Static%20analysis%20of%20live-broadcast-bundle/badge.svg)](https://github.com/martin1982/live-broadcast-bundle/workflows/Static%20analysis%20of%20live-broadcast-bundle/badge.svg)\n[![Latest stable version](https://poser.pugx.org/martin1982/live-broadcast-bundle/v/stable)](https://packagist.org/packages/martin1982/live-broadcast-bundle)\n\n[![License](https://poser.pugx.org/martin1982/live-broadcast-bundle/license)](https://packagist.org/packages/martin1982/live-broadcast-bundle)\n[![Total downloads](https://poser.pugx.org/martin1982/live-broadcast-bundle/downloads)](https://packagist.org/packages/martin1982/live-broadcast-bundle)\n\n## Table of contents\n\n- [About](#about)\n- [Prerequisites](#prerequisites)\n- [Basic installation](#basic-installation)\n- [Enabling Facebook Live](#enabling-facebook-live)\n- [Enabling YouTube Live](#enabling-youtube-live)\n- [Add new output platforms](#add-new-output-platforms)\n- [Using an admin GUI](#using-an-admin-gui)\n\n## About\n\nThe Live Broadcast Bundle will make it possible to plan live video streams to\nvarious websites/apps like Twitch, YouTube Live, Facebook Live.\n\nYou are able to stream from various inputs. This package supports files, URLs or existing RTMP streams.\n\nFor more info you can view the latest recorded presentation below, check the demo project at https://github.com/Martin1982/live-broadcast-demo or read on;\n\n[![IMAGE ALT TEXT](http://img.youtube.com/vi/axutXblArhM/0.jpg)](http://www.youtube.com/watch?v=axutXblArhM \"High quality live broadcasting with PHP by @Martin1982 at @PHPamersfoort\")\n\n## Prerequisites\n\nTo test these prerequisites the Symfony command `livebroadcaster:test:shell` can be used after the installation described below.\nIf you like to check this manually the Broadcaster needs a few commands on an operating system;\n\nAll OS's:\n* `ffmpeg 3.x or higher`\n\nOn Linux:\n* `ps`\n* `kill`\n\nOn Mac:\n* `ps`\n* `grep`\n* `kill`\n\nOn Windows:\n* `tasklist`\n* `taskkill`\n\n## Basic installation\n\nThis bundle is available on Packagist. You can then install it using Composer:\n\n```bash\n$ composer require martin1982/live-broadcast-bundle\n```\n\nUse Doctrine to update your database schema with the broadcasting entities, when upgrading it is recommended to use migrations.\n\nTo start the broadcast scheduler you can run the following command:\n\n```bash\n$ php bin/console livebroadcaster:broadcast\n```\n\nTo run the scheduler as a long-running process it's recommended to use the messenger middleware to keep the database\nconnection alive as described at https://symfony.com/doc/current/messenger.html\n\n### FFMpeg log directory\nTo view the output of FFMpeg you need to configure a log directory in your `config/packages/live_broadcast.yaml`.\n \n     live_broadcast:\n        ffmpeg:\n            log_directory: '%kernel.logs_dir%'\n\n### Event loop\nYou can use this configuration to set the event loop timer:\n\n    live_broadcast:\n        eventloop:\n            timer: 5\n\n### Thumbnailer setup\nSet up the following config for thumbnails:\n    \n    live_broadcast:\n        thumbnail:\n            upload_directory: '%kernel.project_dir%/public/uploads/thumbnails'\n            web_path: '/uploads/thumbnails'\n\n## Enabling Facebook Live\nCreate a Facebook app on https://developers.facebook.com with the following permissions:\n\n- user_videos\n- user_events\n- user_managed_groups\n- manage_pages\n- publish_actions\n- Live-Video API\n\nEdit your `config/packages/live_broadcast.yaml` with the following configuration:\n\n    live_broadcast:\n        facebook:\n            application_id: YourFacebookAppId\n            application_secret: YourFacebookAppSecret\n\n## Enabling YouTube Live\n\nLogin to https://console.developers.google.com/ and enable the 'YouTube Data API v3'.\n\nAdd the YouTube API info to your config.yml:\n\n    live_broadcast:\n        youtube:\n            client_id: YourGoogleOauthClientId\n            client_secret: YourGoogleOauthClientSecret\n              \nAdd these lines to your parameters.yml (used for generating a thumbnail URL)\n\n    parameters:\n        router.request_context.host: broadcast.com\n        router.request_context.scheme: https\n    \n## Add new output platforms\n\nCreate a new Channel Entity in Entity/Channel that extends the AbstractChannel (e.g. ChannelNew)\n\nCreate a new StreamOutput service in Service/StreamOutput that implements the OutputInterface (e.g. OutputNew)\n\nConfigure the service with the output tag in config/services.yml\n\n    live.broadcast.output.new:\n        class: Martin1982\\LiveBroadcastBundle\\Service\\StreamOutput\\OutputNew\n        tags:\n            - { name: live.broadcast.output, platform: 'New' }\n\n## Using an admin GUI\n\nThis bundle comes without a web frontend interface, to make use of an admin package you can pick the one to your liking;\n* Sonata Admin: https://github.com/Martin1982/live-broadcast-sonata-admin-bundle\n* Easyadmin: https://github.com/Martin1982/live-broadcast-easyadmin-bundle\n\n# Sponsors\n\n* [Jetbrains](https://jb.gg/OpenSource)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartin1982%2Flive-broadcast-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmartin1982%2Flive-broadcast-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartin1982%2Flive-broadcast-bundle/lists"}