Handling Events

In order to listen for AloVideo events you need to add event listeners to the AloVideo.events object. For example:

aloAudio.events.addEventListener(
 'onDisconnect', event => { console.log("onDisconnect:", event.detail); }
)

The event object may contain additional information about the event in event.detail

See the following Events:

Last updated

Logo

© Copyright 2024 ALO.ai, Inc. • All Rights Reserved