Package com.opentok.android
Interface PublisherKit.CustomAudioTransformer
-
- Enclosing class:
- PublisherKit
public static interface PublisherKit.CustomAudioTransformer
Defines a custom transformer for an audio stream, to be passed into theAudioTransformer(String name, CustomAudioTransformer transformer)
constructor.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onTransform(AudioData frame)
Called when audio data is available to be transformed.
-
-
-
Method Detail
-
onTransform
void onTransform(AudioData frame)
Called when audio data is available to be transformed. Transform the data in your implementation of the method. The method is only called after the {@link PublisherKit.setAudioTransformers(audioTransformers)} method is called.- Parameters:
frame
- The frame to be transformed.
-
-