Schau dir das Mal an:
GitHub - qwantix/php-rtmp-client: A Rtmp client for PHP
A Rtmp client for PHP. Contribute to qwantix/php-rtmp-client development by creating an account on GitHub.
github.com
Aber bitte nicht verwenden, ist etwas arg veraltet... Zu alt!
Aber die Richtung sollte klar sein, was du suchst ist RTMP.