public static class PlayerEndpoint.Builder extends AbstractBuilder<PlayerEndpoint>
genericProperties, props
Constructor and Description |
---|
Builder(MediaPipeline mediaPipeline,
java.lang.String uri)
Creates a Builder for PlayerEndpoint
|
Modifier and Type | Method and Description |
---|---|
PlayerEndpoint.Builder |
useEncodedMedia()
use encoded instead of raw media.
|
PlayerEndpoint.Builder |
with(java.lang.String name,
java.lang.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, java.lang.String uri)
public PlayerEndpoint.Builder withProperties(Properties properties)
withProperties
in class AbstractBuilder<PlayerEndpoint>
public PlayerEndpoint.Builder with(java.lang.String name, java.lang.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 buffer