Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Martin1982/live-broadcast-bundle
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v4.0.0
Choose a base ref
...
head repository: Martin1982/live-broadcast-bundle
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Aug 4, 2020

  1. Update README.md

    Remove Sensio Labs Insight
    Martin1982 authored Aug 4, 2020
    Copy the full SHA
    a5b6a41 View commit details
  2. Update README.md

    Don't show unstable releases as the project is fully released
    Martin1982 authored Aug 4, 2020
    Copy the full SHA
    16c8fdd View commit details

Commits on Aug 5, 2020

  1. Fix transition call parameters

    Martin de Keijzer committed Aug 5, 2020
    Copy the full SHA
    e1085d1 View commit details

Commits on Aug 10, 2020

  1. Update QA tools

    Martin de Keijzer committed Aug 10, 2020
    Copy the full SHA
    b138f34 View commit details

Commits on Aug 24, 2020

  1. Upgrade Google Services

    Martin de Keijzer committed Aug 24, 2020
    Copy the full SHA
    c571d58 View commit details

Commits on Aug 31, 2020

  1. Update Google Services to 0.144

    Martin de Keijzer committed Aug 31, 2020
    Copy the full SHA
    de58277 View commit details

Commits on Sep 7, 2020

  1. Upgrade Google services

    Martin de Keijzer committed Sep 7, 2020
    Copy the full SHA
    8466f09 View commit details
  2. Update gitignore file

    Martin de Keijzer committed Sep 7, 2020
    Copy the full SHA
    f54785d View commit details

Commits on Sep 14, 2020

  1. Always update Google API Services

    Martin de Keijzer committed Sep 14, 2020
    Copy the full SHA
    4011a1a View commit details
  2. Set Google API Services fixed due to issues with --prefer-lowest inst…

    …alls
    Martin de Keijzer committed Sep 14, 2020
    Copy the full SHA
    ca8418d View commit details

Commits on Sep 21, 2020

  1. Update Google Services

    Martin de Keijzer committed Sep 21, 2020
    Copy the full SHA
    61d0fe4 View commit details

Commits on Sep 28, 2020

  1. Update Google Services

    Martin de Keijzer committed Sep 28, 2020
    Copy the full SHA
    abc533f View commit details

Commits on Oct 5, 2020

  1. Upgrade Google Services package

    Martin de Keijzer committed Oct 5, 2020
    Copy the full SHA
    7f2719b View commit details

Commits on Oct 12, 2020

  1. Remove duplicate package for Google API Services

    Martin de Keijzer committed Oct 12, 2020
    Copy the full SHA
    74fdceb View commit details
  2. Bump minimal Google API Client version

    Martin de Keijzer committed Oct 12, 2020
    Copy the full SHA
    77909cb View commit details
  3. Force a minimal Google API Services version

    Martin de Keijzer committed Oct 12, 2020
    Copy the full SHA
    c54bd9f View commit details

Commits on Oct 13, 2020

  1. Fix an issue with a deprecated YouTube API call

    Martin de Keijzer committed Oct 13, 2020
    Copy the full SHA
    3654335 View commit details
  2. Fix unit test

    Martin de Keijzer committed Oct 13, 2020
    Copy the full SHA
    a3db45a View commit details

Commits on Oct 26, 2020

  1. Use an array collection when deleting a broadcast

    Martin de Keijzer committed Oct 26, 2020
    Copy the full SHA
    4ca95e6 View commit details
  2. Remove deprecated method ping in favor for the Symfony Messenger midd…

    …leware doctrine_ping_connection
    Martin de Keijzer committed Oct 26, 2020
    Copy the full SHA
    15e3238 View commit details
  3. Update README to the latest specs

    Martin de Keijzer committed Oct 26, 2020
    Copy the full SHA
    4eabc5a View commit details

Commits on Nov 30, 2020

  1. Fix comments and typos in code

    Martin de Keijzer committed Nov 30, 2020
    Copy the full SHA
    b9b5f2a View commit details

Commits on Jan 11, 2021

  1. Prepare for PHP8

    Martin de Keijzer committed Jan 11, 2021
    Copy the full SHA
    ce6be1e View commit details

Commits on Jan 26, 2021

  1. Change parameters for stream transition according to google/apiclient…

    …-services
    Martin de Keijzer committed Jan 26, 2021
    Copy the full SHA
    1ced158 View commit details

Commits on Feb 1, 2021

  1. Use a compatible facebook SDK package

    Martin de Keijzer committed Feb 1, 2021
    Copy the full SHA
    2c7285c View commit details

Commits on Feb 8, 2021

  1. Upgrade packages

    Martin de Keijzer committed Feb 8, 2021
    Copy the full SHA
    506565c View commit details
  2. Drop support for PHP 7.2 and 7.3

    Martin de Keijzer committed Feb 8, 2021
    Copy the full SHA
    0fc0595 View commit details

Commits on Feb 9, 2021

  1. Only use latest bugfixed facebook graph sdk

    Martin de Keijzer committed Feb 9, 2021
    Copy the full SHA
    2b280e1 View commit details

Commits on Feb 11, 2021

  1. Update travis-ci settings for new PHP requirements

    Martin de Keijzer committed Feb 11, 2021
    Copy the full SHA
    8497b60 View commit details

Commits on Feb 12, 2021

  1. Add Github Workflows for builds

    Martin de Keijzer committed Feb 12, 2021
    Copy the full SHA
    201e961 View commit details
  2. Remove Travis CI in favor of Github Workflows

    Martin de Keijzer committed Feb 12, 2021
    Copy the full SHA
    84654eb View commit details
  3. Fix issues with Facebook class names

    Martin de Keijzer committed Feb 12, 2021
    Copy the full SHA
    69617bc View commit details

Commits on Feb 17, 2021

  1. Upgrade CI action to use composer cache

    Martin de Keijzer committed Feb 17, 2021
    Copy the full SHA
    5388612 View commit details
  2. Add action for package updates

    Martin de Keijzer committed Feb 17, 2021
    Copy the full SHA
    3169eee View commit details

Commits on Mar 1, 2021

  1. Add strict outdated package checking

    Martin de Keijzer committed Mar 1, 2021
    Copy the full SHA
    d896e2b View commit details
  2. Make CI builds weekly

    Martin de Keijzer committed Mar 1, 2021
    Copy the full SHA
    affd082 View commit details
  3. Change CI build time

    Martin de Keijzer committed Mar 1, 2021
    Copy the full SHA
    a244837 View commit details

Commits on Mar 8, 2021

  1. Don't use cache when checking for updates

    Martin de Keijzer committed Mar 8, 2021
    Copy the full SHA
    2d3d4bf View commit details

Commits on May 3, 2021

  1. Upgrade README file

    Martin de Keijzer committed May 3, 2021
    Copy the full SHA
    0c818f1 View commit details

Commits on May 21, 2021

  1. Update README.md

    Martin1982 authored May 21, 2021
    Copy the full SHA
    71d9f39 View commit details

Commits on May 31, 2021

  1. Upgrade packages

    Martin1982 committed May 31, 2021
    Copy the full SHA
    4a53698 View commit details

Commits on Jul 15, 2021

  1. Set type hint for property

    Martin1982 committed Jul 15, 2021
    Copy the full SHA
    2e2854e View commit details

Commits on Jul 26, 2021

  1. Fix phpcs fixer issue

    Martin1982 committed Jul 26, 2021
    Copy the full SHA
    70d17a3 View commit details

Commits on Mar 2, 2022

  1. Allow higher Symfony versions

    Martin de Keijzer committed Mar 2, 2022
    Copy the full SHA
    c3ce187 View commit details
  2. Update package updates check

    Martin de Keijzer committed Mar 2, 2022
    Copy the full SHA
    fd439c9 View commit details
  3. Update unit tests to be compatible with newer versions

    Martin de Keijzer committed Mar 2, 2022
    Copy the full SHA
    54dd916 View commit details
  4. Update command execution definitions to the latest versions

    Martin de Keijzer committed Mar 2, 2022
    Copy the full SHA
    a189c06 View commit details
  5. Copy the full SHA
    18e9994 View commit details

Commits on Mar 3, 2022

  1. Fix code inspections

    Martin de Keijzer committed Mar 3, 2022
    Copy the full SHA
    8bb01f5 View commit details
  2. Set external dependencies to versions still supported

    Martin de Keijzer committed Mar 3, 2022
    Copy the full SHA
    ef8aa6e View commit details
Showing with 11,567 additions and 1,772 deletions.
  1. +47 −0 .github/workflows/continuous-integration.yml
  2. +31 −0 .github/workflows/update-monday.yml
  3. +4 −4 .gitignore
  4. +0 −28 .travis.yml
  5. +20 −31 README.md
  6. +0 −48 Tests/Broadcaster/Darwin/SchedulerCommandsDarwinTest.php
  7. +0 −98 Tests/Broadcaster/Linux/SchedulerCommandsLinuxTest.php
  8. +0 −98 Tests/Broadcaster/Windows/SchedulerCommandsWindowsTest.php
  9. +28 −19 composer.json
  10. +9,922 −0 composer.lock
  11. 0 {Resources → }/config/services-input.yml
  12. 0 {Resources → }/config/services-output.yml
  13. +5 −1 {Resources → }/config/services.yml
  14. 0 {Resources → }/docs/index.rst
  15. BIN {Resources → }/images/placeholder.jpg
  16. BIN {Resources → }/images/placeholder.png
  17. +14 −22 phpunit.xml.dist
  18. +13 −0 rector.php
  19. +53 −26 { → src}/Broadcaster/AbstractSchedulerCommands.php
  20. +5 −1 { → src}/Broadcaster/Darwin/SchedulerCommands.php
  21. +7 −3 { → src}/Broadcaster/Linux/SchedulerCommands.php
  22. +2 −26 { → src}/Broadcaster/RunningBroadcast.php
  23. +23 −42 { → src}/Broadcaster/Scheduler.php
  24. +12 −13 { → src}/Broadcaster/SchedulerCommandsDetector.php
  25. +8 −8 { → src}/Broadcaster/SchedulerCommandsInterface.php
  26. +9 −5 { → src}/Broadcaster/Windows/SchedulerCommands.php
  27. +8 −38 { → src}/Command/BroadcasterCommand.php
  28. +10 −23 { → src}/Command/ShellTestCommand.php
  29. 0 { → src}/DependencyInjection/Compiler/AddChannelApiPass.php
  30. 0 { → src}/DependencyInjection/Compiler/AddStreamInputPass.php
  31. 0 { → src}/DependencyInjection/Compiler/AddStreamOutputPass.php
  32. +1 −1 { → src}/DependencyInjection/Configuration.php
  33. +1 −1 { → src}/DependencyInjection/LiveBroadcastExtension.php
  34. +17 −19 { → src}/Entity/Channel/AbstractChannel.php
  35. +13 −14 { → src}/Entity/Channel/ChannelFacebook.php
  36. +12 −13 { → src}/Entity/Channel/ChannelTwitch.php
  37. +18 −26 { → src}/Entity/Channel/ChannelYouTube.php
  38. +0 −1 { → src}/Entity/Channel/PlannedChannelInterface.php
  39. +48 −55 { → src}/Entity/LiveBroadcast.php
  40. +1 −1 { → src}/Entity/LiveBroadcastRepository.php
  41. +8 −10 { → src}/Entity/Media/AbstractMedia.php
  42. +7 −8 { → src}/Entity/Media/MediaFile.php
  43. +7 −8 { → src}/Entity/Media/MediaRtmp.php
  44. +8 −9 { → src}/Entity/Media/MediaUrl.php
  45. +18 −24 { → src}/Entity/Metadata/StreamEvent.php
  46. +2 −2 { → src}/Entity/Metadata/StreamEventRepository.php
  47. +7 −19 { → src}/EventListener/StreamAnnouncementListener.php
  48. +4 −10 { → src}/EventListener/ThumbnailUploadListener.php
  49. +14 −0 src/Exception/LiveBroadcastApiException.php
  50. 0 { → src}/Exception/LiveBroadcastException.php
  51. 0 { → src}/Exception/LiveBroadcastInputException.php
  52. 0 { → src}/Exception/LiveBroadcastOutputException.php
  53. +1 −1 { → src}/LiveBroadcastBundle.php
  54. +2 −20 { → src}/Message/StreamServiceAnnouncement.php
  55. +24 −22 { → src}/MessageHandler/StreamServiceAnnouncementHandler.php
  56. +50 −63 { → src}/Service/BroadcastManager.php
  57. +3 −21 { → src}/Service/BroadcastStarter.php
  58. +12 −4 { → src}/Service/ChannelApi/ChannelApiInterface.php
  59. +2 −2 { → src}/Service/ChannelApi/ChannelApiStack.php
  60. +5 −17 { → src}/Service/ChannelApi/Client/Config/GoogleConfig.php
  61. +1 −13 { → src}/Service/ChannelApi/Client/Config/YouTubeConfig.php
  62. +8 −23 { → src}/Service/ChannelApi/Client/GoogleClient.php
  63. +70 −89 { → src}/Service/ChannelApi/Client/YouTubeClient.php
  64. +42 −62 { → src}/Service/ChannelApi/FacebookApiService.php
  65. +20 −33 { → src}/Service/ChannelApi/YouTubeApiService.php
  66. +4 −21 { → src}/Service/ChannelValidatorService.php
  67. +23 −19 { → src}/Service/GoogleRedirectService.php
  68. +3 −3 { → src}/Service/StreamInput/InputFile.php
  69. +1 −1 { → src}/Service/StreamInput/InputInterface.php
  70. +2 −2 { → src}/Service/StreamInput/InputRtmp.php
  71. +3 −3 { → src}/Service/StreamInput/InputUrl.php
  72. +2 −2 { → src}/Service/StreamInputService.php
  73. +2 −2 { → src}/Service/StreamOutput/AbstractOutput.php
  74. 0 { → src}/Service/StreamOutput/DynamicStreamUrlInterface.php
  75. +9 −11 { → src}/Service/StreamOutput/OutputFacebook.php
  76. 0 { → src}/Service/StreamOutput/OutputInterface.php
  77. +3 −2 { → src}/Service/StreamOutput/OutputTwitch.php
  78. +7 −10 { → src}/Service/StreamOutput/OutputYouTube.php
  79. +2 −2 { → src}/Service/StreamOutputService.php
  80. +1 −7 { → src}/Service/ThumbnailUploadService.php
  81. +4 −4 { → src}/Validator/Constraints/CanStreamToChannel.php
  82. +9 −15 { → src}/Validator/Constraints/CanStreamToChannelValidator.php
  83. +14 −11 {Tests → tests}/Broadcaster/AbstractSchedulerCommandsTest.php
  84. +38 −0 tests/Broadcaster/Darwin/SchedulerCommandsDarwinTest.php
  85. +75 −0 tests/Broadcaster/Linux/SchedulerCommandsLinuxTest.php
  86. +11 −16 {Tests → tests}/Broadcaster/RunningBroadcastTest.php
  87. +5 −10 {Tests → tests}/Broadcaster/SchedulerCommandsDetectorTest.php
  88. +25 −61 {Tests → tests}/Broadcaster/SchedulerCommandsTest.php
  89. +52 −13 {Tests → tests}/Broadcaster/SchedulerTest.php
  90. +76 −0 tests/Broadcaster/Windows/SchedulerCommandsWindowsTest.php
  91. +5 −1 {Tests → tests}/DependencyInjection/Compiler/AddChannelApiPassTest.php
  92. +5 −1 {Tests → tests}/DependencyInjection/Compiler/AddStreamInputPassTest.php
  93. +5 −1 {Tests → tests}/DependencyInjection/Compiler/AddStreamOutputPassTest.php
  94. +2 −2 {Tests → tests}/DependencyInjection/LiveBroadcastExtensionTest.php
  95. 0 {Tests → tests}/Entity/Channel/ChannelFacebookTest.php
  96. +1 −1 {Tests → tests}/Entity/Channel/ChannelTwitchTest.php
  97. +1 −1 {Tests → tests}/Entity/Channel/ChannelYouTubeTest.php
  98. +7 −2 {Tests → tests}/Entity/LiveBroadcastTest.php
  99. +6 −5 {Tests → tests}/Entity/Media/AbstractMediaTest.php
  100. 0 {Tests → tests}/Entity/Media/MediaFileTest.php
  101. +2 −2 {Tests → tests}/Entity/Media/MediaRtmpTest.php
  102. +2 −2 {Tests → tests}/Entity/Media/MediaUrlTest.php
  103. +3 −4 {Tests → tests}/Entity/Metadata/StreamEventTest.php
  104. +18 −10 {Tests → tests}/EventListener/StreamAnnouncementListenerTest.php
  105. +21 −13 {Tests → tests}/EventListener/ThumbnailUploadListenerTest.php
  106. +3 −2 {Tests → tests}/LiveBroadcastBundleTest.php
  107. +96 −65 {Tests → tests}/Service/BroadcastManagerTest.php
  108. +14 −3 {Tests → tests}/Service/BroadcastStarterTest.php
  109. +4 −1 {Tests → tests}/Service/ChannelApi/ChannelApiStackTest.php
  110. +1 −1 {Tests → tests}/Service/ChannelApi/Client/Config/GoogleConfigTest.php
  111. +1 −1 {Tests → tests}/Service/ChannelApi/Client/Config/YouTubeConfigTest.php
  112. +6 −1 {Tests → tests}/Service/ChannelApi/Client/GoogleClientTest.php
  113. +119 −160 {Tests → tests}/Service/ChannelApi/Client/YouTubeClientTest.php
  114. +3 −5 {Tests → tests}/Service/ChannelApi/FacebookApiServiceMock.php
  115. +110 −76 {Tests → tests}/Service/ChannelApi/FacebookApiServiceTest.php
  116. +45 −18 {Tests → tests}/Service/ChannelApi/YouTubeApiServiceTest.php
  117. +16 −9 {Tests → tests}/Service/GoogleRedirectServiceTest.php
  118. +1 −1 {Tests → tests}/Service/StreamInput/InputFileTest.php
  119. +5 −29 {Tests → tests}/Service/StreamInput/InputRtmpTest.php
  120. +3 −3 {Tests → tests}/Service/StreamInput/InputUrlTest.php
  121. +5 −1 {Tests → tests}/Service/StreamInputServiceTest.php
  122. +17 −5 {Tests → tests}/Service/StreamOutput/OutputFacebookTest.php
  123. +4 −4 {Tests → tests}/Service/StreamOutput/OutputTwitchTest.php
  124. +12 −2 {Tests → tests}/Service/StreamOutput/OutputYouTubeTest.php
  125. +3 −0 {Tests → tests}/Service/StreamOutputServiceTest.php
  126. +3 −0 {Tests → tests}/Service/ThumbnailUploadServiceTest.php
47 changes: 47 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Static analysis of live-broadcast-bundle

on:
schedule:
- cron: '0 7 * * 1'
push:
branches: [ master ]
pull_request:
branches: [ master ]

env:
XDEBUG_MODE: coverage

jobs:
ci:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
extensions: zip

- name: Validate composer.json and composer.lock
run: composer validate

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v3
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
- name: Install dependencies
if: steps.composer-cache.outputs.cache-hit != 'true'
run: composer install --prefer-dist --no-progress --no-suggest

- name: Run PHPCS
run: ./vendor/bin/phpcs --standard=./vendor/escapestudios/symfony2-coding-standard/Symfony/ src/

- name: Run PHPUnit
run: ./vendor/bin/phpunit --coverage-text --colors
31 changes: 31 additions & 0 deletions .github/workflows/update-monday.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Update monday

on:
schedule:
- cron: '0 6 * * 1'

jobs:
update-check:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
extensions: zip

- name: Validate composer.json and composer.lock
run: composer validate

- name: Update dependencies
run: composer update --prefer-dist --no-progress --no-suggest

- name: Find and report outdated dependencies
run: composer outdated --strict --direct

- uses: stefanzweifel/git-auto-commit-action@v4
with:
file_pattern: composer.lock
8 changes: 4 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
composer.lock
/vendor/
testvideo.mp4
*.cache
.idea
composer.phar
*.cache
docker-compose.yml
testvideo.mp4
/vendor/
28 changes: 0 additions & 28 deletions .travis.yml

This file was deleted.

51 changes: 20 additions & 31 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
# Live Broadcast Bundle

[![Build status](https://travis-ci.org/Martin1982/live-broadcast-bundle.svg?branch=master)](https://travis-ci.org/Martin1982/live-broadcast-bundle)
[![SensioLabsInsight](https://insight.sensiolabs.com/projects/6027a50f-06cf-4989-8267-9f481e838b2a/mini.png)](https://insight.sensiolabs.com/projects/6027a50f-06cf-4989-8267-9f481e838b2a)

[![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)
[![Latest stable version](https://poser.pugx.org/martin1982/live-broadcast-bundle/v/stable)](https://packagist.org/packages/martin1982/live-broadcast-bundle)
[![Latest unstable version](https://poser.pugx.org/martin1982/live-broadcast-bundle/v/unstable)](https://packagist.org/packages/martin1982/live-broadcast-bundle)

[![License](https://poser.pugx.org/martin1982/live-broadcast-bundle/license)](https://packagist.org/packages/martin1982/live-broadcast-bundle)
[![Total downloads](https://poser.pugx.org/martin1982/live-broadcast-bundle/downloads)](https://packagist.org/packages/martin1982/live-broadcast-bundle)
@@ -22,18 +19,20 @@
## About

The Live Broadcast Bundle will make it possible to plan live video streams to
various channels like Twitch, YouTube Live, Facebook Live (referred to as Output or Channels).
various websites/apps like Twitch, YouTube Live, Facebook Live.

As "Input" we support files, URL's or existing RTMP streams.
You are able to stream from various inputs. This package supports files, URLs or existing RTMP streams.

For 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;

[![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")

## Prerequisites

The Broadcaster needs a few commands;
To test these prerequisites the Symfony command `livebroadcaster:test:shell` can be used after the installation described below.
If you like to check this manually the Broadcaster needs a few commands on an operating system;

All OS's:
* `ffmpeg 3.x or higher`

On Linux:
@@ -49,8 +48,6 @@ On Windows:
* `tasklist`
* `taskkill`

To test these prerequisites the Symfony command `livebroadcaster:test:shell` can be used after the installation described below.

## Basic installation

This bundle is available on Packagist. You can then install it using Composer:
@@ -59,31 +56,19 @@ This bundle is available on Packagist. You can then install it using Composer:
$ composer require martin1982/live-broadcast-bundle
```

Next, for Symfony \< 4 enable the bundle in the kernel:

``` php
<?php
// app/AppKernel.php

public function registerBundles()
{
$bundles = array(
// ...
new Martin1982\LiveBroadcastBundle\LiveBroadcastBundle(),
);
}
```

Use Doctrine to update your database schema with the broadcasting entities, when upgrading it is recommended to use migrations.

To start the broadcast scheduler you can run the following command:

```bash
$ php app/console livebroadcaster:broadcast
$ php bin/console livebroadcaster:broadcast
```

To run the scheduler as a long-running process it's recommended to use the messenger middleware to keep the database
connection alive as described at https://symfony.com/doc/current/messenger.html

### FFMpeg log directory
To view the output of FFMpeg you need to configure a log directory in your `app/config/config.yml`.
To view the output of FFMpeg you need to configure a log directory in your `config/packages/live_broadcast.yaml`.

live_broadcast:
ffmpeg:
@@ -97,11 +82,11 @@ You can use this configuration to set the event loop timer:
timer: 5

### Thumbnailer setup
Setup the following config for thumbnails:
Set up the following config for thumbnails:

live_broadcast:
thumbnail:
upload_directory: '%kernel.root_dir%/../web/uploads/thumbnails'
upload_directory: '%kernel.project_dir%/public/uploads/thumbnails'
web_path: '/uploads/thumbnails'

## Enabling Facebook Live
@@ -114,7 +99,7 @@ Create a Facebook app on https://developers.facebook.com with the following perm
- publish_actions
- Live-Video API

Edit your `app/config/config.yml` with the following configuration:
Edit your `config/packages/live_broadcast.yaml` with the following configuration:

live_broadcast:
facebook:
@@ -144,7 +129,7 @@ Create a new Channel Entity in Entity/Channel that extends the AbstractChannel (

Create a new StreamOutput service in Service/StreamOutput that implements the OutputInterface (e.g. OutputNew)

Configure the service with the output tag in Resources/config/services.yml
Configure the service with the output tag in config/services.yml

live.broadcast.output.new:
class: Martin1982\LiveBroadcastBundle\Service\StreamOutput\OutputNew
@@ -155,4 +140,8 @@ Configure the service with the output tag in Resources/config/services.yml

This bundle comes without a web frontend interface, to make use of an admin package you can pick the one to your liking;
* Sonata Admin: https://github.com/Martin1982/live-broadcast-sonata-admin-bundle
* Easyadmin: https://github.com/Martin1982/live-broadcast-easyadmin-bundle
* Easyadmin: https://github.com/Martin1982/live-broadcast-easyadmin-bundle

# Sponsors

* [Jetbrains](https://jb.gg/OpenSource)
48 changes: 0 additions & 48 deletions Tests/Broadcaster/Darwin/SchedulerCommandsDarwinTest.php

This file was deleted.

98 changes: 0 additions & 98 deletions Tests/Broadcaster/Linux/SchedulerCommandsLinuxTest.php

This file was deleted.

Loading