openvibers/openvibe.live Commits

API docs install openvibe-sdk v0.60.0 (Space, Host and News joined) (#288)

OP OpenVibers committed 24 days ago · 465a9dd8f4 · 1 file, +1 −1

Changes

ddiff --git a/public/fragments/documentation.html b/public/fragments/documentation.html
iindex 4ffadfbf..7dd5834e 100644
---- a/public/fragments/documentation.html
++++ b/public/fragments/documentation.html
@@@ -288,7 +288,7 @@ const { stream, endpoint } = await fetch('https://openvibe.live/api/streams', {
console.log(endpoint.whipUrlBase); // POST your SDP offer here (see WebRTC tab)
</code></pre>
<h3>The same with openvibe-sdk</h3>
--<p>In Node, <code>npm install https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.58.0</code> and use <code>openvibe-sdk/live</code>: who is live, channels, slots, going live, the session, the content feeds and WHIP, with errors as <code>OpenVibeError</code> (<a href="https://github.com/OpenVibers/OpenVibe.SDK#readme" target="_blank" rel="noopener">SDK README</a>).</p>
++<p>In Node, <code>npm install https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.60.0</code> and use <code>openvibe-sdk/live</code>: who is live, channels, slots, going live, the session, the content feeds and WHIP, with errors as <code>OpenVibeError</code> (<a href="https://github.com/OpenVibers/OpenVibe.SDK#readme" target="_blank" rel="noopener">SDK README</a>).</p>
<pre><code>const { createClient } = require('openvibe-sdk');
const { createLiveClient } = require('openvibe-sdk/live');
const live = createLiveClient(createClient({ token: TOKEN })); // openvibe.live is found through the network registry