MeiCam SDK For Android  3.10.0
Public Member Functions | List of all members
com.meicam.sdk.NvsStreamingContext.AudioOutputCallback Interface Reference

Callback interface for audio output. More...

Public Member Functions

void onVUMeterValueArrived (NvsTimeline timeline, float leftVUValue, float rightVUValue, long timestamp)
 Get DB value from timeline. More...
 
void onAudioSampleArrived (NvsTimeline timeline, NvsAudioSampleBuffers audioSample)
 Get audio sample data from timeline. More...
 

Detailed Description

Callback interface for audio output.

Member Function Documentation

◆ onAudioSampleArrived()

void com.meicam.sdk.NvsStreamingContext.AudioOutputCallback.onAudioSampleArrived ( NvsTimeline  timeline,
NvsAudioSampleBuffers  audioSample 
)

Get audio sample data from timeline.

Parameters
timelineTimeline.
audioSampleAudio output sample data.

◆ onVUMeterValueArrived()

void com.meicam.sdk.NvsStreamingContext.AudioOutputCallback.onVUMeterValueArrived ( NvsTimeline  timeline,
float  leftVUValue,
float  rightVUValue,
long  timestamp 
)

Get DB value from timeline.

Parameters
timelineTimeline.
leftVUValueAudio output left channel DB value.
rightVUValueAudio output right channel DB value.

The documentation for this interface was generated from the following file: