ausocean / ausocean/cloud

broadcast: explore sub-state-machine that the starting states would use to transition youtube to live state

Open
#53 0 comments 0 reactions 0 assignees View on GitHub
enhancement P2
Dominant language
Go
Stars
1
Forks
3
Avg merge
2d 16h
Merged PRs (30d)
6

Description

We currently have the doStatusActions function from the "broadcast" package which is responsible for taking the YouTube broadcast object through a series of checks and transitions to get it into the live state. The problem with this is that it requires use of a go routine to keep it running in the background so that we can return from the handler (GAE will restart a service if a handler does not return within some given amount of time). We should consider having a sub-state machine that our starting states can utilise that will follow the same pattern as our other state machines i.e. not active between calls to the handlers.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.