public static class RecorderEndpoint.Builder extends AbstractBuilder<RecorderEndpoint>
genericProperties, props| Constructor and Description |
|---|
Builder(MediaPipeline mediaPipeline,
String uri)
Creates a Builder for RecorderEndpoint
|
| Modifier and Type | Method and Description |
|---|---|
RecorderEndpoint.Builder |
stopOnEndOfStream()
Forces the recorder endpoint to finish processing data when an EOS is detected in the stream
|
RecorderEndpoint.Builder |
with(String name,
Object value) |
RecorderEndpoint.Builder |
withMediaProfile(MediaProfileSpecType mediaProfile)
Sets a value for mediaProfile in Builder for RecorderEndpoint.
|
RecorderEndpoint.Builder |
withProperties(Properties properties) |
build, build, buildAsyncpublic Builder(MediaPipeline mediaPipeline, String uri)
public RecorderEndpoint.Builder withProperties(Properties properties)
withProperties in class AbstractBuilder<RecorderEndpoint>public RecorderEndpoint.Builder with(String name, Object value)
with in class AbstractBuilder<RecorderEndpoint>public RecorderEndpoint.Builder withMediaProfile(MediaProfileSpecType mediaProfile)
mediaProfile - Sets the media profile used for recording. If the profile is different than the one being received at the sink pad, media will be transcoded, resulting in a higher CPU load. For instance, when recording a VP8 encoded video from a WebRTC endpoint in MP4, the load is higher that when recording to WEBM.public RecorderEndpoint.Builder stopOnEndOfStream()
Copyright © 2022 Kurento. All rights reserved.