public static interface AddMediaStreamRequest.Builder extends SdkPojo, CopyableBuilder<AddMediaStreamRequest.Builder,AddMediaStreamRequest>
| Modifier and Type | Method and Description |
|---|---|
default AddMediaStreamRequest.Builder |
attributes(Consumer<MediaStreamAttributesRequest.Builder> attributes)
The attributes that you want to assign to the new media stream.
|
AddMediaStreamRequest.Builder |
attributes(MediaStreamAttributesRequest attributes)
The attributes that you want to assign to the new media stream.
|
AddMediaStreamRequest.Builder |
clockRate(Integer clockRate)
The sample rate (in Hz) for the stream.
|
AddMediaStreamRequest.Builder |
description(String description)
A description that can help you quickly identify what your media stream is used for.
|
AddMediaStreamRequest.Builder |
mediaStreamId(Integer mediaStreamId)
A unique identifier for the media stream.
|
AddMediaStreamRequest.Builder |
mediaStreamName(String mediaStreamName)
A name that helps you distinguish one media stream from another.
|
AddMediaStreamRequest.Builder |
mediaStreamType(MediaStreamType mediaStreamType)
The type of media stream.
|
AddMediaStreamRequest.Builder |
mediaStreamType(String mediaStreamType)
The type of media stream.
|
AddMediaStreamRequest.Builder |
videoFormat(String videoFormat)
The resolution of the video.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAddMediaStreamRequest.Builder attributes(MediaStreamAttributesRequest attributes)
attributes - The attributes that you want to assign to the new media stream.default AddMediaStreamRequest.Builder attributes(Consumer<MediaStreamAttributesRequest.Builder> attributes)
MediaStreamAttributesRequest.Builder avoiding the need to create one manually via
MediaStreamAttributesRequest.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to attributes(MediaStreamAttributesRequest).
attributes - a consumer that will call methods on MediaStreamAttributesRequest.Builderattributes(MediaStreamAttributesRequest)AddMediaStreamRequest.Builder clockRate(Integer clockRate)
clockRate - The sample rate (in Hz) for the stream. If the media stream type is video or ancillary data, set this
value to 90000. If the media stream type is audio, set this value to either 48000 or 96000.AddMediaStreamRequest.Builder description(String description)
description - A description that can help you quickly identify what your media stream is used for.AddMediaStreamRequest.Builder mediaStreamId(Integer mediaStreamId)
mediaStreamId - A unique identifier for the media stream.AddMediaStreamRequest.Builder mediaStreamName(String mediaStreamName)
mediaStreamName - A name that helps you distinguish one media stream from another.AddMediaStreamRequest.Builder mediaStreamType(String mediaStreamType)
mediaStreamType - The type of media stream.MediaStreamType,
MediaStreamTypeAddMediaStreamRequest.Builder mediaStreamType(MediaStreamType mediaStreamType)
mediaStreamType - The type of media stream.MediaStreamType,
MediaStreamTypeAddMediaStreamRequest.Builder videoFormat(String videoFormat)
videoFormat - The resolution of the video.Copyright © 2022. All rights reserved.