AliVCSDK 6.17.0
阿里云音视频SDK,为视频开发者提供一站式接入服务
 
Loading...
Searching...
No Matches
AlivcLiveTranscodingConfig.java
1package com.alivc.live.pusher;
2
3import java.util.ArrayList;
4
5
13@Visible
15
21 public int videoWidth = 0;
22
28 public int videoHeight = 0;
29
35 public int videoBitrate = 0;
36
43
50
57
65
73 public int audioBitrate = 0;
74
80 public int backgroundColor = 0x000000;
81
88
92 public ArrayList<AlivcLiveMixStream> mixStreams;
93
100 @Deprecated
101 public int getBackgroundColor() {
102 return backgroundColor;
103 }
104
111 @Deprecated
113 this.backgroundColor = backgroundColor;
114 }
115
123 @Deprecated
125 return cropMode;
126 }
127
135 @Deprecated
137 this.cropMode = cropMode;
138 }
139
145 @Deprecated
146 public ArrayList<AlivcLiveMixStream> getMixStreams() {
147 return mixStreams;
148 }
149
154 @Deprecated
155 public void setMixStreams(ArrayList<AlivcLiveMixStream> mixStreams) {
156 this.mixStreams = mixStreams;
157 }
158
159 @Override
160 public String toString() {
161 return "AlivcLiveTranscodingConfig{" +
162 "videoWidth=" + videoWidth +
163 ", videoHeight=" + videoHeight +
164 ", videoBitrate=" + videoBitrate +
165 ", videoFPS=" + videoFPS +
166 ", videoGOP=" + videoGOP +
167 ", audioSampleRate=" + audioSampleRate +
168 ", audioChannel=" + audioChannel +
169 ", audioBitrate=" + audioBitrate +
170 ", backgroundColor=" + backgroundColor +
171 ", cropMode=" + cropMode +
172 ", mixStreams=" + mixStreams +
173 '}';
174 }
175}
void setMixStreams(ArrayList< AlivcLiveMixStream > mixStreams)
void setCropMode(AlivcLiveTranscodingCropModeEnum cropMode)
Enumeration of streaming audio channel.
Enumeration of streaming audio sample rate.
Enumeration of streaming video fps.