Skip to content

Instantly share code, notes, and snippets.

@BitOfUniverse
Last active May 29, 2016 11:06
Show Gist options
  • Save BitOfUniverse/4aa89897337ee7fdbd345f31cb1d289c to your computer and use it in GitHub Desktop.
Save BitOfUniverse/4aa89897337ee7fdbd345f31cb1d289c to your computer and use it in GitHub Desktop.
<%= javascript_include_tag "//static.opentok.com/webrtc/v2.2/js/TB.min.js" %>
<h1>Your stream</h1>
<div id="publisher"></div>
Link to your stream: <%= link_to watch_url(@stream.user.id), watch_url(@stream.user.id) %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment