Skip to main content

Introducing the Permalink API!

· 3 min read
Stefan Benicke
Senior Developer @ Eyeson

Finally, developers are able to create pre-defined meeting rooms, get sharable guest-links, and start the meeting whenever needed with the same permanent links!

Share a meeting link, before the meeting has even being started!

POST /permalink
HEADERS Authorization

user[name]=<host-user-name>
# options[exit_url] and many more options

This will give you all the links you need.

{
//...
"links": {
"gui": "https://app.eyeson.team/permalink?9clgjJXl1NzbcmF5vfXWhAVJ",
"guest_join": "https://app.eyeson.team/permalink?guest=R2SdUxiqKhpBoUu0oi0pZZkZ"
}
}

Share location

· 2 min read
Stefan Benicke
Senior Developer @ Eyeson

Nowadays "share location" is one of the basic features in mobile chat applications.

When share location is triggered, the device collects its geolocation information and after adjusting and confirming the location is sent and becomes visible as a map for other chat users. This is extremely useful, especially in situations where you need quick help and can't describe the location in words.

We've added some new functions dedicated to share and display location information in Eyeson meetings.

Share location map with a marker

Embed Eyeson video meeting in your website with IFrame API

· 4 min read
Stefan Benicke
Senior Developer @ Eyeson

Using the new IFrame API is the easiest way to embed Eyeson video conferencing into your site or app using a few lines of HTML and Javascript.

  1. Integrate the Eyeson IFrame API script <script src="https://app.eyeson.team/iframe-api.js"></script>
  2. Provide an HTML element as meeting container <div id="meeting"></div>
  3. Call the EyesonIframe function and let the magic happen new EyesonIframe('#meeting', { accessKey: '...' });

IFrame API creates an iframe HTML element with all correct settings and loads Eyeson's default UI.

In advanced mode, methods to interact with Eyeson UI inside the iframe are available, like present, chat, snapshot, and also meeting events for the user like join and leave can be observed.

API playback changes

· 2 min read
Stefan Benicke
Senior Developer @ Eyeson

We've made changes to the playbacks API that you need to be aware of!

tl;dr
  • play_id is generated if omitted
  • playback_update sequence has changed
  • replacement_id takes userId, not clientId
  • EyesonJS (< 1.9.0) react to playback_update if _src: 'actioncable'
  • Update EyesonJS to v1.9.0 (npm or yarn)

Adaptive video layout with example app

· 4 min read
Dugar Enkhtuya
Code Enthusiast

Thanks to the implementation of Custom layout map API in Eyeson, you can now change the layout without having the need for pre-defined layouts provided by us. This has some major upsides regarding the control over the stream content.

In this tutorial we want to use the adaptive layout to arrange users around an image for a seamless presentation.

Example web app

You can instantly update the stream content during a live session using some HTML and Javascript.

This example includes

  • a local image uploading script which draws it on a canvas
  • layout calculation depending on the image size
  • sending canvas and calculated layout to show in Eyeson via AJAX requests