The EnableX Base Class contains methods to connect to a room and successfully publish a stream in it. It also offers methods to perform vital functions like media queries, run-time device updates for streams etc. To start using EnableX, an Object must be created using EnxRtc Constructor.
The table below shows a list of methods in the EnxRtc Class.
Manage Media Devices
getDevices()– To find a list of devices such as Camera and Microphone attached to the device running the Client Application.
switchMediaDevice()– To switch Audio and Video source of your published Stream to another Camera and Microphone connected to your device.
clientBitrate()– To provide bitrate status of the Client.
clientDiagnostics– To diagnose various WebRTC related issues by running through a set of predefined test cases.
joinRoom()– To connect Client Endpoint to an EnableX Room and join an RTC Session with or without a published stream.
setLogLevel()– To connect Client Endpoint to an EnableX Room and join an RTC Session with or without a published stream.
setOutputFunction()– Allows you to access the logs apart from the browser console such as by sending it via mail or by creating a UI.
postClientLogs()– Allows to send latest 500 lines of console logs to EnableX.