OTSubscriberKitAudioLevelDelegate Protocol Reference

Conforms to NSObject
Declared in OTSubscriberKit.h

Overview

Used for monitoring the audio levels of the subscriber.

– subscriber:audioLevelUpdated: required method

Sent on a regular interval with the recent representative audio level.

- (void)subscriber:(nonnull OTSubscriberKit *)subscriber audioLevelUpdated:(float)audioLevel

Parameters

subscriber

The subscriber instance being represented.

audioLevel

A value between 0 and 1, representing the audio level. Adjust this value logarithmically for use in a user interface visualization of the volume (such as a volume meter).

Declared In

OTSubscriberKit.h