public static class PlayerEndpoint.Builder extends AbstractBuilder<PlayerEndpoint>
genericProperties, props
Constructor and Description |
---|
Builder(MediaPipeline mediaPipeline,
String uri)
Creates a Builder for PlayerEndpoint
|
Modifier and Type | Method and Description |
---|---|
PlayerEndpoint.Builder |
useEncodedMedia()
Feed the input stream as-is to the media pipeline, instead of first decoding it.
|
PlayerEndpoint.Builder |
with(String name,
Object value) |
PlayerEndpoint.Builder |
withNetworkCache(int networkCache)
Sets a value for networkCache in Builder for PlayerEndpoint.
|
PlayerEndpoint.Builder |
withProperties(Properties properties) |
build, build, buildAsync
public Builder(MediaPipeline mediaPipeline, String uri)
public PlayerEndpoint.Builder withProperties(Properties properties)
withProperties
in class AbstractBuilder<PlayerEndpoint>
public PlayerEndpoint.Builder with(String name, Object value)
with
in class AbstractBuilder<PlayerEndpoint>
public PlayerEndpoint.Builder useEncodedMedia()
public PlayerEndpoint.Builder withNetworkCache(int networkCache)
networkCache
- When using rtsp sources. Amount of ms to bufferCopyright © 2018 Kurento. All rights reserved.