centric/centric-livestreaming
.env or Vault).broadcasts table).broadcast:start events).facebook/graph-sdk, google/apiclient. Manage via Composer.broadcasts table). Use Laravel Migrations.Centric\LiveBroadcastBundle\Platform\PlatformInterface.TikTokLivePlatform class.ffmpeg-php or CLI FFmpeg is available.composer require centric/live-broadcast-bundle.php artisan vendor:publish --tag="centric-live-broadcast-config"..env.php artisan migrate.sudo apt install ffmpeg).ffmpeg -re -i input.mp4 -c copy -f flv rtmp://localhost/live/streamkey).Log facade).telescope for event/queue inspection.broadcasts table by date if storing historical streams.| Failure Scenario | Impact | Mitigation |
|---|---|---|
| Platform API outage (e.g., YouTube) | Streams fail to publish. | Retry with exponential backoff; notify admins via Laravel Notifications. |
| FFmpeg crashes | RTMP streams drop. | Health checks + auto-restart (e.g., Docker healthchecks). |
| Database connection loss | Stream metadata lost. | Queue jobs with persistent storage (e.g., database + Redis). |
| Rate limiting (e.g., Facebook API) | Throttled requests. | Implement caching (e.g., cache()->remember) and queue delays. |
| Malicious RTMP input | Server compromise. | Validate stream sources (e.g., IP whitelisting, input sanitization). |
How can I help you explore Laravel packages today?