Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Real URLs #4

Merged
merged 3 commits into from
Jul 3, 2013
Merged

Real URLs #4

merged 3 commits into from
Jul 3, 2013

Conversation

maddox
Copy link
Owner

@maddox maddox commented Jul 3, 2013

This changes the frontend functionality. Instead of tuning the channel when you click it and then redirecting, it just follows the URL to the channel like it should.

When the channel view is loaded, status is checked immediately and the appropriate things will happen.

This means URLs are working like they should. You should be able to link to or go directly to a channel and shit should just work.

This is the new flow after the channel view is loaded:

  • Status is checked
  • If status is READY, the player will start playing the stream
  • If the request is a 404, the channel will be tuned and the page will start polling the status of the channel to check if its ready to stream.

* Check status
* If READY, play stream
* If 404, then tune channel and start polling status
* Once status is READY, play channel
maddox added a commit that referenced this pull request Jul 3, 2013
@maddox maddox merged commit 984bb47 into master Jul 3, 2013
@maddox maddox deleted the real-urls branch July 3, 2013 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant