Omnis Studio – Eyeson Conference System Integration
Eyeson Conference System
Eyeson is a video conference system developed by VisoCon Gmbh.
Visocon has released a set of Eyeson API that represent a framework for developers and integrators.
Using eyeson api you can:
- Create conferences (rooms).
- Share a Room with Othes People.
- Personalize Your Rooms
- Record a conference.
- Inject and compose video content in real-time.
No additional software installation is requred.
Eyeson API for Omnis Studio
The Omnis Interface to the Eyeson api is implemented by the “o_eyeson” object distibuited in the library “eyeson_api.lbs”.
This library contain also an object (“o_http3”) that manage the https connections to the eyeson server.
If you develop a your own application you must copy the “o_eyeson” and “o_http3” objects in your library.
The o_eyeson implements the api made available by VisoCon Gmbh for the integration with their video conference system.
For details see the original documentation at: “https://eyeson-team.github.io/api/api-reference/”.
Examples in eyeson_test.lbs library
The “eyeson_test.lbs” contains some example to show the usage of some aspects of eyeson apis.
In the first form you have tree buttons:
Test Video (iframe)
This is an example of video conference integration in a web page.
In this case is used the html tag <iframe> to include the eyeson content into a custom web page developed with Omnis.
You can also add a guest to the room and send the url to another partecipant.
Test Video (Omnis component)
This example is similar to the previous, but instead to use an “<iframe>” tag, is used a simple omnis external component named “com_softpi_eyeson”.
The “com_softpi_eyeson” component will appear in the “JSON Components” tab of Component store and can be drag and drop into the remote form.
Before you can use it ,you must install the component into the omnis system as specified in omnis documentation.
The component is in the “com.softpi.eyeson.zip” file distribuited with the other libraries.
The Test_api form can be used to test each metod in o_eyeson object.
Every tab of the multiple panel is about a specific aspect of eyeson api.
In eyeson_test.lbs you have also an example of restful web service to test the webhook functionalty of eyeson api (rt_hook).
Of course you have to configure your firewall or your web server to permit the incoming request to reach the web service inside omnis library.
Almost function return a row with two columns.
The first column (raw) contains the raw output received from the eyeson server, (https headers plus content body).
The second column (form) contains the returned JSON data formatted into omnis list.
This method set the key string in the object instance for later use in method calling.
Ex: $set_apikey( ’59ae76ab2bf5d90d776ccf7e’ )
Creates a new room on eyeson server.
Only the user name is required.
For the complete meaning of the parameters see:
In the output row , in the link section, you can find the url to access the conference as administrator.
Return all information about the room idetified by the access key.
Send a message in conference chat.
Ex: $message_send(‘message text’)
Create a new guest in the room.
The link to access the converence as guest is report in output row.
Return gest information by guest Id.
Show an image in video stream specified in the url.
Ex: $present_start (‘http://www.omnis.net/images/Home_Pic2.jpg’).
Same as $present_start but using PUT instead POST.
Stop showing the presented image.
Start the recording of the current conference.
Stop the recording of the current conference.
Get the recoding by id
Send file to the conference
Get the files currently added to the conference.
Start screen capture with POST method
Start screen capture with PUT method
Stop screen capture
Start broadcasting conference to platform as youtube,twitter,facebook ecc.
for detail see: https://eyeson-team.github.io/api/api-reference/#broadcast
Same as $broadcast_post but using PUT method.
Display url as layer in video conference
Insert layer in specified position (p_zindex)
delete layer at index
Register a webhooks for one or more events in conference.
Events may be user_update, document_update, recording_update, broadcast_update, room_instance_update, team_update, presentation_update.
p_url is the url of a web service for the callback.
For details see: https://eyeson-team.github.io/api/api-reference/#register-webhooks
Get the data if the room store in the object instance.
Clear the instance data of the room
Omnis api version
Eyeson exposes a set of https calls that permits the user to use their conference system.
The complete list is at https://eyeson-team.github.io/api/getting-started/
In Omnis all original calls are wrapped in an object (o_eyeson) that manage the https protocol with the ow3 object.
Omnis Api and documentations to access to the Eyeson services are available. There are two library: eyeson_test.lbs and eyeson_conference.lbs.
eyeson_test.lbs permits to test each api call.
eyeson_conference.lbs show how to include a video conference in a omnis web application.