onStreamingEvent()
Tells the callback function when the streaming state changes.
void onStreamingEvent(StreamingEvent streamingEvent)
Parameters
streamingevent
This indicates the lifecycle state of a media stream.
See also
Audio streaming
int startAudioStreaming (Microphone microphone, int bitrate, int sampleRate, AudioChannel channelCount, StreamingBufferCallback audioBufferCallback, StreamingEventCallback streamingEventCallback)
Starts streaming audio using the specified settings.
Video streaming
int startVideoStreaming (VideoQuality quality, StreamingBufferCallback videoBufferCallback, StreamingBufferCallback audioBufferCallback, StreamingEventCallback streamingEventCallback)
Starts streaming video with audio using the specified settings.
Enumerations
enum StreamingEvent
This defines the lifecycle state of a media stream.