public class EncodeParams extends AbstractModel
Constructor and Description |
---|
EncodeParams() |
Modifier and Type | Method and Description |
---|---|
Long |
getAudioBitrate()
Get Output stream audio bitrate in Kbps for On-Cloud MixTranscoding.
|
Long |
getAudioChannels()
Get Number of output stream audio sound channels for On-Cloud MixTranscoding.
|
Long |
getAudioSampleRate()
Get Output stream audio sample rate for stream mix.
|
Long |
getBackgroundColor()
Get Output stream background color for On-Cloud MixTranscoding.
|
Long |
getBackgroundImageId()
Get Output stream background image for stream mix.
|
Long |
getVideoBitrate()
Get Output stream bitrate in Kbps for On-Cloud MixTranscoding, which is required for audio/video output.
|
Long |
getVideoFramerate()
Get Output stream frame rate for On-Cloud MixTranscoding, which is required for audio/video output.
|
Long |
getVideoGop()
Get Output stream GOP in seconds for On-Cloud MixTranscoding, which is required for audio/video output.
|
Long |
getVideoHeight()
Get Output stream height in pixels for On-Cloud MixTranscoding, which is required for audio/video output.
|
Long |
getVideoWidth()
Get Output stream width in pixels for On-Cloud MixTranscoding, which is required for audio/video output.
|
void |
setAudioBitrate(Long AudioBitrate)
Set Output stream audio bitrate in Kbps for On-Cloud MixTranscoding.
|
void |
setAudioChannels(Long AudioChannels)
Set Number of output stream audio sound channels for On-Cloud MixTranscoding.
|
void |
setAudioSampleRate(Long AudioSampleRate)
Set Output stream audio sample rate for stream mix.
|
void |
setBackgroundColor(Long BackgroundColor)
Set Output stream background color for On-Cloud MixTranscoding.
|
void |
setBackgroundImageId(Long BackgroundImageId)
Set Output stream background image for stream mix.
|
void |
setVideoBitrate(Long VideoBitrate)
Set Output stream bitrate in Kbps for On-Cloud MixTranscoding, which is required for audio/video output.
|
void |
setVideoFramerate(Long VideoFramerate)
Set Output stream frame rate for On-Cloud MixTranscoding, which is required for audio/video output.
|
void |
setVideoGop(Long VideoGop)
Set Output stream GOP in seconds for On-Cloud MixTranscoding, which is required for audio/video output.
|
void |
setVideoHeight(Long VideoHeight)
Set Output stream height in pixels for On-Cloud MixTranscoding, which is required for audio/video output.
|
void |
setVideoWidth(Long VideoWidth)
Set Output stream width in pixels for On-Cloud MixTranscoding, which is required for audio/video output.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public Long getAudioSampleRate()
public void setAudioSampleRate(Long AudioSampleRate)
AudioSampleRate
- Output stream audio sample rate for stream mix. Valid values: 48000, 44100, 32000,24000, 22050, 16000, 12000, 11025, 8000.public Long getAudioBitrate()
public void setAudioBitrate(Long AudioBitrate)
AudioBitrate
- Output stream audio bitrate in Kbps for On-Cloud MixTranscoding. Value range: [8, 500].public Long getAudioChannels()
public void setAudioChannels(Long AudioChannels)
AudioChannels
- Number of output stream audio sound channels for On-Cloud MixTranscoding. Value range: [1, 2].public Long getVideoWidth()
public void setVideoWidth(Long VideoWidth)
VideoWidth
- Output stream width in pixels for On-Cloud MixTranscoding, which is required for audio/video output. Value range: [0, 1920].public Long getVideoHeight()
public void setVideoHeight(Long VideoHeight)
VideoHeight
- Output stream height in pixels for On-Cloud MixTranscoding, which is required for audio/video output. Value range: [0, 1080].public Long getVideoBitrate()
public void setVideoBitrate(Long VideoBitrate)
VideoBitrate
- Output stream bitrate in Kbps for On-Cloud MixTranscoding, which is required for audio/video output. Value range: [1, 10000].public Long getVideoFramerate()
public void setVideoFramerate(Long VideoFramerate)
VideoFramerate
- Output stream frame rate for On-Cloud MixTranscoding, which is required for audio/video output. Value range: [6, 12, 15, 24, 30, 48, 60]. If the frame rate lies outside the valid value range, it will be automatically modified to a value within the range.public Long getVideoGop()
public void setVideoGop(Long VideoGop)
VideoGop
- Output stream GOP in seconds for On-Cloud MixTranscoding, which is required for audio/video output. Value range: [1, 5].public Long getBackgroundColor()
public void setBackgroundColor(Long BackgroundColor)
BackgroundColor
- Output stream background color for On-Cloud MixTranscoding.public Long getBackgroundImageId()
public void setBackgroundImageId(Long BackgroundImageId)
BackgroundImageId
- Output stream background image for stream mix. Its value is the ID of image uploaded through the TRTC Console.Copyright © 2020. All rights reserved.