PublisherKit.CustomAudioTransformer
Copy
public abstract static interface CustomAudioTransformer
Enclosing class: PublisherKit
Defines a custom transformer for an audio stream, to be passed into the
AudioTransformer
constructor.
Methods
| Name | Description |
|---|---|
onTransform(frame) |
Called when audio data is available to be transformed. |
onTransform(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 setAudioTransformers(ArrayList) method
is called.
Parameters:
| Name | Type | Description |
|---|---|---|
frame |
AudioData | The frame to be transformed. |