public static interface WZAudioDevice.AudioSampleListener
Modifier and Type | Method and Description |
---|---|
boolean |
isWZAudioSampleListenerEnabled()
Indicates if audio samples should be sent to the onWZAudioSampleRecorded method or not
|
void |
onWZAudioPaused(boolean paused)
This method is called is the audio stream is paused or unpaused during a broadcast
|
void |
onWZAudioSampleListenerRelease()
This method is called when the audio stream broadcast has been stopped
|
void |
onWZAudioSampleListenerSetup(WZMediaConfig audioConfig)
This method will be called just before streaming begins
|
void |
onWZAudioSampleRecorded(byte[] sampleData,
int sampleDataLength,
long timecodeNanos)
This method is called with a buffer containing the audio sample data
|
boolean isWZAudioSampleListenerEnabled()
void onWZAudioSampleListenerSetup(WZMediaConfig audioConfig)
audioConfig
- The broadcast stream configurationvoid onWZAudioSampleRecorded(byte[] sampleData, int sampleDataLength, long timecodeNanos)
sampleData
- The raw audio sample datasampleDataLength
- The length of the data in bytestimecodeNanos
- The timecode of the sample in nanosecondsvoid onWZAudioPaused(boolean paused)
paused
- A flag indicating whether the audio stream is paused or unpausedvoid onWZAudioSampleListenerRelease()
© 2016 Wowza Media Systems, LLC. All rights reserved. Terms | Privacy | Trademarks | Legal