com.tencentcloudapi.tiw.v20190919.models.StreamControl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Tencent Cloud API SDK for Java
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.tencentcloudapi.tiw.v20190919.models;
import com.tencentcloudapi.common.AbstractModel;
import com.tencentcloudapi.common.SSEResponseModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class StreamControl extends AbstractModel {
/**
* Video stream ID
Description of the possible video stream ID values:
1. `tic_record_user`: the whiteboard video stream
2. `tic_substream`: the auxiliary video stream
3. Specific user ID: the video stream of the specified user
The actual recording uses the prefix match of the video stream ID. The real stream becomes the specified stream once its ID prefix matches with the stream ID.
*/
@SerializedName("StreamId")
@Expose
private String StreamId;
/**
* Whether to disable recording over the stream.
true: does not record this stream. This stream will not be included in the final recording file.
false: records this stream. This stream will be included in the final recording file.
Default value: false
*/
@SerializedName("DisableRecord")
@Expose
private Boolean DisableRecord;
/**
* Whether to disable the audio recording of the stream.
true: does not record the audio of the stream. In the final recording file, this stream will be soundless.
false: the stream has both video and audio recording.
Default value: false
*/
@SerializedName("DisableAudio")
@Expose
private Boolean DisableAudio;
/**
* Whether to only record low-resolution stream videos.
true: records only low-resolution videos. In this case, please make sure that the client pushes low-resolution videos upstream. Otherwise, the recorded video may be black.
false: records only high-resolution videos.
Default value: false
*/
@SerializedName("PullSmallVideo")
@Expose
private Boolean PullSmallVideo;
/**
* Get Video stream ID
Description of the possible video stream ID values:
1. `tic_record_user`: the whiteboard video stream
2. `tic_substream`: the auxiliary video stream
3. Specific user ID: the video stream of the specified user
The actual recording uses the prefix match of the video stream ID. The real stream becomes the specified stream once its ID prefix matches with the stream ID.
* @return StreamId Video stream ID
Description of the possible video stream ID values:
1. `tic_record_user`: the whiteboard video stream
2. `tic_substream`: the auxiliary video stream
3. Specific user ID: the video stream of the specified user
The actual recording uses the prefix match of the video stream ID. The real stream becomes the specified stream once its ID prefix matches with the stream ID.
*/
public String getStreamId() {
return this.StreamId;
}
/**
* Set Video stream ID
Description of the possible video stream ID values:
1. `tic_record_user`: the whiteboard video stream
2. `tic_substream`: the auxiliary video stream
3. Specific user ID: the video stream of the specified user
The actual recording uses the prefix match of the video stream ID. The real stream becomes the specified stream once its ID prefix matches with the stream ID.
* @param StreamId Video stream ID
Description of the possible video stream ID values:
1. `tic_record_user`: the whiteboard video stream
2. `tic_substream`: the auxiliary video stream
3. Specific user ID: the video stream of the specified user
The actual recording uses the prefix match of the video stream ID. The real stream becomes the specified stream once its ID prefix matches with the stream ID.
*/
public void setStreamId(String StreamId) {
this.StreamId = StreamId;
}
/**
* Get Whether to disable recording over the stream.
true: does not record this stream. This stream will not be included in the final recording file.
false: records this stream. This stream will be included in the final recording file.
Default value: false
* @return DisableRecord Whether to disable recording over the stream.
true: does not record this stream. This stream will not be included in the final recording file.
false: records this stream. This stream will be included in the final recording file.
Default value: false
*/
public Boolean getDisableRecord() {
return this.DisableRecord;
}
/**
* Set Whether to disable recording over the stream.
true: does not record this stream. This stream will not be included in the final recording file.
false: records this stream. This stream will be included in the final recording file.
Default value: false
* @param DisableRecord Whether to disable recording over the stream.
true: does not record this stream. This stream will not be included in the final recording file.
false: records this stream. This stream will be included in the final recording file.
Default value: false
*/
public void setDisableRecord(Boolean DisableRecord) {
this.DisableRecord = DisableRecord;
}
/**
* Get Whether to disable the audio recording of the stream.
true: does not record the audio of the stream. In the final recording file, this stream will be soundless.
false: the stream has both video and audio recording.
Default value: false
* @return DisableAudio Whether to disable the audio recording of the stream.
true: does not record the audio of the stream. In the final recording file, this stream will be soundless.
false: the stream has both video and audio recording.
Default value: false
*/
public Boolean getDisableAudio() {
return this.DisableAudio;
}
/**
* Set Whether to disable the audio recording of the stream.
true: does not record the audio of the stream. In the final recording file, this stream will be soundless.
false: the stream has both video and audio recording.
Default value: false
* @param DisableAudio Whether to disable the audio recording of the stream.
true: does not record the audio of the stream. In the final recording file, this stream will be soundless.
false: the stream has both video and audio recording.
Default value: false
*/
public void setDisableAudio(Boolean DisableAudio) {
this.DisableAudio = DisableAudio;
}
/**
* Get Whether to only record low-resolution stream videos.
true: records only low-resolution videos. In this case, please make sure that the client pushes low-resolution videos upstream. Otherwise, the recorded video may be black.
false: records only high-resolution videos.
Default value: false
* @return PullSmallVideo Whether to only record low-resolution stream videos.
true: records only low-resolution videos. In this case, please make sure that the client pushes low-resolution videos upstream. Otherwise, the recorded video may be black.
false: records only high-resolution videos.
Default value: false
*/
public Boolean getPullSmallVideo() {
return this.PullSmallVideo;
}
/**
* Set Whether to only record low-resolution stream videos.
true: records only low-resolution videos. In this case, please make sure that the client pushes low-resolution videos upstream. Otherwise, the recorded video may be black.
false: records only high-resolution videos.
Default value: false
* @param PullSmallVideo Whether to only record low-resolution stream videos.
true: records only low-resolution videos. In this case, please make sure that the client pushes low-resolution videos upstream. Otherwise, the recorded video may be black.
false: records only high-resolution videos.
Default value: false
*/
public void setPullSmallVideo(Boolean PullSmallVideo) {
this.PullSmallVideo = PullSmallVideo;
}
public StreamControl() {
}
/**
* NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
* and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
*/
public StreamControl(StreamControl source) {
if (source.StreamId != null) {
this.StreamId = new String(source.StreamId);
}
if (source.DisableRecord != null) {
this.DisableRecord = new Boolean(source.DisableRecord);
}
if (source.DisableAudio != null) {
this.DisableAudio = new Boolean(source.DisableAudio);
}
if (source.PullSmallVideo != null) {
this.PullSmallVideo = new Boolean(source.PullSmallVideo);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "StreamId", this.StreamId);
this.setParamSimple(map, prefix + "DisableRecord", this.DisableRecord);
this.setParamSimple(map, prefix + "DisableAudio", this.DisableAudio);
this.setParamSimple(map, prefix + "PullSmallVideo", this.PullSmallVideo);
}
}