StreamerPipeline
The main pipeline for the streamer.
Parameters
the application context
whether the streamer has audio. It will create necessary audio components.
whether the streamer has video. It will create necessary video components.
the audio output mode. It can be AudioOutputMode.PUSH or AudioOutputMode.CALLBACK. Only use AudioOutputMode.CALLBACK when you have a single output and its implements IAudioCallbackPipelineOutputInternal. By default, it is AudioOutputMode.PUSH.
the coroutine dispatcher
Constructors
Properties
The audio processor. It allows access to advanced audio settings.
The audio source. It allows access to advanced audio source settings.
Whether the video source has a preview.
State flow of the streaming state.
The video source. It allows access to advanced video source settings.
Functions
Creates and adds an output to the pipeline.
Gets the aspect ratio mode to calculate the viewport rectangle.
Whether the output surface needs to be mirrored.
Clean and reset the pipeline synchronously.
Removes an output.
Sets the audio source.
Sets the camera id.
Sets the preview surface.
Sets a preview surface holder.
Sets a preview surface.
Sets the target rotation of all outputs.
Sets the video source.
Starts video preview.
Sets preview surface and start video preview.
Try to start all streams.
Stops video preview.
Stops all streams.