Client Libraries
Client libraries are simply wrappers for the WebServicesAPI and JavaScriptAPI. They helps you to use vidi easily.
Python, Ruby, Java, PHP, C#, ASP libraries will be implemented.
For available libraries you can check out our public repository at github:
http://github.com/zeitin/vidipublic/tree/master
Python
Example code
# create the room
room = vidi.create_room()
# create a client and io
client = room.create_client()
input = client.create_input()
output = client.create_output()
# get vidi initialize javascript code
vidi_init_js = vidi.get_init_js(room, client)
# get localecho screen html/javascript code
vidi_screen_localecho = vidi.create_screen(
localecho=True,
)
# get remote screen html/javascript code
vidi_screen_remote = vidi.create_screen(
input=input,
output=output,
)