Module: easyrtc_public_obj

easyrtc_public_obj

Public interface for interacting with EasyRTC. Contains the public object returned by the EasyRTC listen() function.
Author:
  • Priologic Software, info@easyrtc.com
License:
  • BSD v2, see LICENSE file in module root folder.

Classes

pub

Type Definitions

appCallback(err, appObj)

The application callback is called upon completion of a method which is meant to deliver an application object. If the `err` parameter is null, than the method completed successfully.
Parameters:
Name Type Argument Description
err Error <nullable>
Error object. If it is null, than assume no error has occurred.
appObj Object <nullable>
Application object. Will be null if an error has occurred.

connectionCallback(err, connectionObj)

The connection callback is called upon completion of a method which is meant to deliver a connection object. If the `err` parameter is null, than the method completed successfully.
Parameters:
Name Type Argument Description
err Error <nullable>
Error object. If it is null, than assume no error has occurred.
connectionObj Object <nullable>
Connection object. Will be null if an error has occurred.

Error

An error object
Type:
  • Object

nextCallback(err)

The next callback is called upon completion of a method. If the `err` parameter is null, than the method completed successfully.
Parameters:
Name Type Argument Description
err Error <nullable>
Optional Error object. If it is null, than assume no error has occurred.

roomCallback(err, roomObj)

The room callback is called upon completion of a method which is meant to deliver a room object. If the `err` parameter is null, than the method completed successfully.
Parameters:
Name Type Argument Description
err Error <nullable>
Error object. If it is null, than assume no error has occurred.
roomObj Object <nullable>
Room object. Will be null if an error has occurred.
Documentation generated by JSDoc 3.6.11 on 2025-02-19T14:18:15+00:00