Sample Codes for Video Applications

Sample applications and their source codes are available on GitHub to help you understand how to build applications using the EnableX API. Each of the sample application is developed for a specific use case. Therefore, these applications methods may not cover every aspect of the API, but helps you get started with coding quickly.

Note: You can quickly go through the sample applications listed on right side of this page to get more information about them and access their source code from GitHub.

Overview

Video applications comprise of two components; the application server and the client endpoint applications. Some sample applications include both components, while others include only client endpoint applications. To try out only client endpoint applications, you need to have an application server repository.

Demo Application Server

EnableX provides a demo application server to try out this sample application. Some applications are pre-configured to work with the demo application server. Otherwise, configure your application to point to the demo server by using your project credentials.

  • Demo Server URL: https://demo.enablex.io
  • Pass your credentials as Customer Header to the HTTP request as:
    • x-app-id as your application ID
    • x-app-key as your application key

Try a Quick Video Call

You can try out a quick video call with 4 people using a hosted video call application to verify audio and video quality of the EnableX platform.

Sample Applications on GitHub

We have provided sample applications on GitHub covering different use cases. You can go directly to our EnableX GitHub page to check these sample applications. Alternately, You can quickly go through the sample applications listed on right side of this page to get more information about them and access their source code from GitHub.

Try Sample Codes

Source Code for 1-to-1 Video Call Application

This sample application is used for basic 1-to-1 video calls using the EnableX Server API and client toolkits of different platforms. This application allows a moderator and a participant to get connected over a video session. The main purpose of this application is to demonstrate the use of EnableX APIs to application developers when the application is configured and hosted on their servers. They can experience the video call quality and other regular features by accessing the application using the endpoint browser or mobile devices.

Important Notes

  • RTC sessions hosted on the EnableX platform run on supported web browsers without the need of additional plugins.
  • Video applications comprise of two components; the application server and the client endpoint applications. Some sample applications include both components, while others include only client endpoint applications. To try out only client endpoint applications, you need to have an application server repository.
  • EnableX provides a demo application server to try out this sample application. You must configure your application to point to the demo server by using your project credentials.
    • Demo Server URL: https://demo.enablex.io
    • Pass your credentials as Customer Header to the HTTP request as:
      • x-app-id as your application ID
      • x-app-key as your application key

Application Server and Client Endpoint Applications

The following repositories contain both application server and client endpoint applications. They are developed with EnableX Web SDK and accessible through web browsers.

Client Endpoint Applications using Web SDK

The following repositories contain client endpoint applications only. These applications are developed with EnableX Web SDK and accessible through web browsers. You need to use a server application (specified in the last topic) to run a client endpoint application.

Client Endpoint Applications using Android and iOS SDKs

The following repositories contain client endpoint applications only. They are developed with EnableX Android and iOS SDKs (for native application development on these platforms). You need to use a server application to run a client endpoint application.

Client Endpoint Applications using different Hybrid SDKs

The following repositories contain client endpoint applications only. These applictaions are developed with a different types of hybrid SDKs provided by EnableX (for hybrid application development on different platforms). You need to use a server application to run a client endpoint application.

Source Code for a Multi-Party Video Conference Application

This sample application is used for a basic multi-party or a group video conference by using the EnableX Server API and client toolkits of different platforms. This application allows one more moderator and one or many participants to join a video session.

The main purpose of this application is to demonstrate the use of EnableX APIs to application developers when the application is configured and hosted on their servers. They can experience the video call quality and other regular features by accessing the application using the endpoint browser or mobile devices.

Important Notes

  • RTC sessions hosted on the EnableX platform run on supported web browsers without the need of additional plugins.
  • Video applications comprise of two components; the application server and the client endpoint applications. Some sample applications include both components, while others include only client endpoint applications. To try out only client endpoint applications, you need to have an application server repository.
  • EnableX provides a demo application server to try out this sample application. You must configure your applications to point to the demo server by using your project credentials.
    • Demo Server URL: https://demo.enablex.io
    • Pass your credentials as Customer Header to the HTTP request as:
      • x-app-id as your application ID
      • x-app-key as your application key

Application Server and Client Endpoint Applications

The following repositories contain both application server and client endpoint applications that are developed with EnableX Web SDK and accessible through web browsers.

Client Endpoint Applications using Web SDK

The following repository contains client endpoint applications only. They are developed with EnableX Web SDK and accessible through web browsers. You need to use a server application to run a client endpoint application.

Client Endpoint Applications using Android and iOS SDKs

The following repositories contain client endpoint applications only. They are developed with EnableX Android and iOS SDKs (for native application development on these platforms). You need to use a server application to run a client endpoint application.

Source Code for Text Chat/Messaging Application

This sample application is used for basic chat and messaging using the EnableX Server API and client toolkits with different platforms. This application allows users to sign in to a session to send chat messages to other users in the session. The main purpose of this application is to demonstrate the use of EnableX APIs to application developers when the application is configured and hosted on their servers.

Important Notes

  • RTC sessions hosted on the EnableX platform run on supported web browsers without the need for any additional plugins.

  • Video applications comprise of two components; the application server and the client endpoint applications. Some sample applications include both components, while others include only client endpoint applications. To try out only client endpoint applications, you need to have an application server repository.

  • EnableX provides a demo application server to try out this sample application. You must configure your applications to point to the demo server by using your project credentials.

    • Demo Server URL: https://demo.enablex.io
    • Pass your credentials as Customer Header to the HTTP request as:
      • x-app-id as your application ID
      • x-app-key as your application key

Client Endpoint Applications using Android and iOS SDKs

The following repository contains client endpoint applications only. These applications are developed with EnableX Android and iOS SDKs (for native application development on these platforms). You need to use a server application to run this client application.

Application Servers

The following repositories contain application servers. They also include a client application, but you do not need it for this use case. You are recommended to use these application servers only with the client endpoint applications specified in the last topic.

Source Code for Audio/Video Calling Application using CallKit

This sample application is used for basic audio and video calls using the CallKit developed with the EnableX Server API and client toolkits of different platforms. The main purpose of this application is to demonstrate the use of EnableX APIs to application developers when the application is configured and hosted on their servers. They can experience the video call quality and other regular features by accessing the application using the endpoint browser or mobile devices.

Important Notes

  • RTC sessions hosted on the EnableX platform run on supported web browsers without the need for any additional plugins.

  • Video applications comprise of two components; the application server and the client endpoint applications. Some sample applications include both components, while others include only client endpoint applications. To try out only client endpoint applications, you need to have an application server repository.

  • EnableX provides a demo application server to try out this sample application. You must configure your applications to point to the demo server by using your project credentials.

    • Demo Server URL: https://demo.enablex.io
    • Pass your credentials as Customer Header to the HTTP request as:
      • x-app-id as your application ID
      • x-app-key as your application key

Client Endpoint Applications using Android and iOS SDKs

The following repository contains client endpoint applications only. These applications are developed with EnableX Android and iOS SDKs (for native application development on these platforms). You need to use a server application to run this client application.

Application Servers

The following repositories contain application servers. They also include a client application, but you do not need it for this use case. You need to use the application server only along with the client endpoint application specified in the last topic.