createEncodingOutput
fun createEncodingOutput(withAudio: Boolean = this.withAudio, withVideo: Boolean = this.withVideo, endpointFactory: IEndpointInternal.Factory = DynamicEndpointFactory(), targetRotation: Int = context.displayRotation): IConfigurableAudioVideoEncodingPipelineOutput
Creates and adds an output to the pipeline.
Return
the EncodingPipelineOutput created
Parameters
withAudio
whether the output has audio. If the StreamerPipeline does not have audio, it will be ignored.
withVideo
whether the output has video. If the StreamerPipeline does not have video, it will be ignored.
endpointFactory
the endpoint factory to add the output to
targetRotation
the target rotation of the output