LiveTranscoding
- Android
更新时间不可用
用于配置媒体推流的转码参数。
public class LiveTranscoding {
public int width;
public int height;
public int videoBitrate;
public int videoFramerate;
@Deprecated public boolean lowLatency;
public int videoGop;
private ArrayList<AgoraImage> watermarkList;
private ArrayList<AgoraImage> backgroundImageList;
public AudioSampleRateType audioSampleRate;
public int audioBitrate;
public int audioChannels;
public AudioCodecProfileType audioCodecProfile;
public VideoCodecProfileType videoCodecProfile;
public VideoCodecType videoCodecType;
@Deprecated public int userCount;
@Deprecated public int backgroundColor;
public String userConfigExtraInfo;
@Deprecated public String metadata;
private Map<Integer, TranscodingUser> transcodingUsers;
private Map<String, Boolean> advancedFeatures;
}属性
| 参数名 | 描述 |
|---|---|
width | |
height | |
videoBitrate | |
videoFramerate | |
lowLatency | |
videoGop | |
audioSampleRate | 媒体输出流的音频采样率(Hz)。详见 AudioSampleRateType。 |
audioBitrate | |
audioChannels | |
audioCodecProfile | 媒体推流使用的音频编码器配置类型。详见 AudioCodecProfileType。 |
videoCodecProfile | |
videoCodecType | 媒体推流使用的视频编码器类型。详见 VideoCodecType。 |
userCount | |
userConfigExtraInfo | |
metadata |
相关参考
- addBackgroundImage
- addUser
- addWatermark
- getAdvancedFeatures
- getBackgroundColor
- getBackgroundImageList
- getBlue
- getGreen
- getRed
- getUserCount
- getUsers
- getWatermarkList
- removeBackgroundImage
- removeUser
- removeWatermark
- setAdvancedFeatures
- setBackgroundColor [1/2]
- setBackgroundColor [2/2]
- setBlue
- setGreen
- setRed
- setUsers [1/2]
- setUsers [2/2]