public static interface WOWZAudioDevice.AudioSampleListener
Modifier and Type | Method and Description |
---|---|
boolean |
isWZAudioSampleListenerEnabled()
Indicates whether audio samples should be sent to the onWZAudioSampleRecorded method.
|
void |
onWZAudioPaused(boolean paused)
Called during a broadcast to see if audio is paused.
|
void |
onWZAudioSampleListenerRelease()
Called when the audio stream broadcast has been stopped.
|
void |
onWZAudioSampleListenerSetup(WOWZMediaConfig audioConfig)
Called just before streaming begins.
|
void |
onWZAudioSampleRecorded(byte[] sampleData,
int sampleDataLength,
long timecodeNanos)
Called with a buffer containing the audio sample data.
|
boolean isWZAudioSampleListenerEnabled()
void onWZAudioSampleListenerSetup(WOWZMediaConfig audioConfig)
audioConfig
- The broadcast stream audio configuration.void onWZAudioSampleRecorded(byte[] sampleData, int sampleDataLength, long timecodeNanos)
sampleData
- The raw audio sample data.sampleDataLength
- The length of the data, in bytes.timecodeNanos
- The timecode of the sample, in nanoseconds.void onWZAudioPaused(boolean paused)
paused
- A flag indicating whether the audio stream is paused.void onWZAudioSampleListenerRelease()
© 2016 - 2018 Wowza Media Systems, LLC. All rights reserved. Terms | Privacy | Trademarks | Legal