2

I am building a monitoring system which streams video to YouTube live during the day, but it is shut down during the night. YouTube live automatically closes the stream when it stops receiving data.

I could start another stream using the API, but I would like to keep the same YouTube URL for the public. Is this possible?

The system is solar powered raspberry pi monitoring a birds colony.

4

1 に答える 1

2

エンコーダーが YouTube の RTMP 取り込みアドレスへのデータ送信を一時的に停止すると、「技術的な問題」状態になります。一定の時間が経過すると (API には記載されていません)、YouTube はライブ イベントを強制的に終了します。

Raspberry Pi デバイスがダウンするおおよその時間枠がわかっている場合は、電源とインターネット接続が安定しているコンピューターまたはその他のソースから「明日戻ってきます」というメッセージをストリーミングして、YouTube がイベントを終了しないようにしてください。

于 2015-11-19T16:21:47.680 に答える