There is a piece of code (described in issue #27) which tries to ensure that the video is named "CrowCam" before we try fixing up the stream name/key. I don't think this is needed any more.
The issue:
I am watching the livestream as it's still "live"
I see something interesting happening on the camera.
I decide that I want to keep that video. But the day is not yet over.
I rename the video while it's still livestreaming. To protect it from deletion by CrowCamCleanup.sh.
Renaming it seems to work, and produces no ill effects.
However there are error messages appearing in the log "Expected stream title does not match YouTube stream title".
The checking of the video's title was supposed to be some kind of safety feature to prevent us from switching the stream key to some other video. But I don't think that's needed. At the time the check is performed, we have retrieved the stream that was bound to the current live broadcast. If we're not looking at the right video at that point, there's a bunch of other problems which would arise first.
I don't think this needs to be checked and I don't think the error messages are useful. Remove the check and see if things work OK in the long term.
There is a piece of code (described in issue #27) which tries to ensure that the video is named "CrowCam" before we try fixing up the stream name/key. I don't think this is needed any more.
The issue:
The checking of the video's title was supposed to be some kind of safety feature to prevent us from switching the stream key to some other video. But I don't think that's needed. At the time the check is performed, we have retrieved the stream that was bound to the current live broadcast. If we're not looking at the right video at that point, there's a bunch of other problems which would arise first.
I don't think this needs to be checked and I don't think the error messages are useful. Remove the check and see if things work OK in the long term.