public class Config
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
android.app.Activity |
activity |
boolean |
aecDump |
java.lang.String |
audioCodec |
int |
audioStartBitrate |
boolean |
captureToTexture |
boolean |
disableBuiltInAEC |
boolean |
disableBuiltInAGC |
boolean |
disableBuiltInNS |
boolean |
enableLevelControl |
boolean |
isCaster
Set to true if it is Presenter when using broadcasting function
|
boolean |
isViewer
Set to true if Viewer is used when broadcasting function
|
java.lang.String |
key
The secret key required to use the Remote Monster API.
|
SurfaceViewRenderer |
localView
In case of video call, the output for the video coming from the input source of the viewer
|
java.lang.String |
logFilePath
The location of the log file.
|
int |
logLevel
Log level specification: separated by ERROR, WARN, INFO, DEBUG, TRACE
|
boolean |
noAudioProcessing |
SurfaceViewRenderer |
remoteView
In case of video call, the output for the incoming video from the input source of the other party
|
java.lang.String |
restHost
Restful Used to change the server location
|
int |
rolling |
boolean |
sendStatToServer
Set whether to send health statistics information to the server.
|
java.lang.String |
serviceId
Service ID required to use Remote Monster API.
|
int |
socketFrameSize |
java.lang.String |
socketUrl |
java.lang.String |
speakerPhone
Choose whether to use the speakerphone.
|
int |
statInterval |
int |
streamType |
boolean |
tracing |
boolean |
useOpenSLES |
boolean |
videoCall
Set to false when using only voice communication, not video communication
|
java.lang.String |
videoCodec
Video codec setting.
|
boolean |
videoCodecHwAcceleration |
int |
videoFps
Sets the frame rate per second of the image.
|
int |
videoHeight
Set the vertical value of the desired image size.
|
int |
videoWidth
Set the horizontal value of the desired image size.
|
Constructor and Description |
---|
Config() |
Modifier and Type | Method and Description |
---|---|
android.app.Activity |
getActivity() |
java.lang.String |
getAudioCodec() |
int |
getAudioStartBitrate() |
java.util.List<PeerConnection.IceServer> |
getIceServers() |
java.lang.String |
getKey() |
SurfaceViewRenderer |
getLocalView() |
java.lang.String |
getLogFilePath() |
int |
getLogLevel() |
java.lang.String |
getMasterRoomId() |
SurfaceViewRenderer |
getRemoteView() |
java.lang.String |
getRestHost() |
java.lang.String |
getRestPath() |
int |
getRolling() |
java.lang.String |
getRoomId() |
java.lang.String |
getRoomName() |
java.lang.String |
getServiceId() |
java.lang.String |
getServicePassword() |
int |
getSocketFrameSize() |
java.lang.String |
getSocketUrl() |
java.lang.String |
getSpeakerPhone() |
int |
getStartVideoBitrate() |
int |
getStatInterval() |
int |
getStreamType() |
java.lang.String |
getToken() |
java.lang.String |
getVideoCodec() |
java.lang.String |
getVideoFileAsCamera() |
int |
getVideoFps() |
int |
getVideoHeight() |
int |
getVideoWidth() |
int |
hashCode() |
boolean |
isAecDump() |
boolean |
isCamera2() |
boolean |
isCaptureToTexture() |
boolean |
isCaster() |
boolean |
isDebug() |
boolean |
isDisableBuiltInAEC() |
boolean |
isDisableBuiltInAGC() |
boolean |
isDisableBuiltInNS() |
boolean |
isEnableLevelControl() |
boolean |
isNoAudioProcessing() |
boolean |
isScreenCapturer() |
boolean |
isSendStatToServer() |
boolean |
isTracing() |
boolean |
isUseDataCall() |
boolean |
isUseFileLog() |
boolean |
isUseHwAcc() |
boolean |
isUseLevelControl() |
boolean |
isUseOpenSLES() |
boolean |
isVideoCall() |
boolean |
isVideoCodecHwAcceleration() |
boolean |
isViewer() |
void |
setActivity(android.app.Activity activity) |
void |
setAecDump(boolean aecDump) |
void |
setAudioCodec(java.lang.String audioCodec) |
void |
setAudioStartBitrate(int audioStartBitrate) |
void |
setCamera2(boolean camera2) |
void |
setCaptureToTexture(boolean captureToTexture) |
void |
setCaster(boolean caster) |
void |
setConfig(org.json.JSONObject map) |
void |
setConfig(android.content.SharedPreferences pref) |
void |
setConfig(java.lang.String data) |
void |
setDebug(boolean debug) |
void |
setDisableBuiltInAEC(boolean disableBuiltInAEC) |
void |
setDisableBuiltInAGC(boolean disableBuiltInAGC) |
void |
setDisableBuiltInNS(boolean disableBuiltInNS) |
void |
setEnableLevelControl(boolean enableLevelControl) |
void |
setIceServers(java.util.List<PeerConnection.IceServer> iceServers) |
void |
setKey(java.lang.String key) |
void |
setLocalView(SurfaceViewRenderer localView) |
void |
setLogFilePath(java.lang.String logFilePath) |
void |
setLogLevel(int logLevel) |
void |
setMasterRoomId(java.lang.String masterRoomId) |
void |
setNoAudioProcessing(boolean noAudioProcessing) |
void |
setRemoteView(SurfaceViewRenderer remoteView) |
void |
setRestHost(java.lang.String restHost) |
void |
setRestPath(java.lang.String restPath) |
void |
setRolling(int rolling) |
void |
setRoomId(java.lang.String roomId) |
void |
setRoomName(java.lang.String roomName) |
void |
setScreenCapturer(boolean screenCapturer) |
void |
setSendStatToServer(boolean sendStatToServer) |
void |
setServiceId(java.lang.String serviceId) |
void |
setServicePassword(java.lang.String servicePassword) |
void |
setSocketFrameSize(int socketFrameSize) |
void |
setSocketUrl(java.lang.String socketUrl) |
void |
setSpeakerPhone(java.lang.String speakerPhone) |
void |
setStartVideoBitrate(int startVideoBitrate) |
void |
setStatInterval(int statInterval) |
void |
setStreamType(int streamType) |
void |
setToken(java.lang.String token) |
void |
setTracing(boolean tracing) |
void |
setUseDataCall(boolean useDataCall) |
void |
setUseFileLog(boolean useFileLog) |
void |
setUseHwAcc(boolean useHwAcc) |
void |
setUseLevelControl(boolean useLevelControl) |
void |
setUseOpenSLES(boolean useOpenSLES) |
void |
setVideoCall(boolean videoCall) |
void |
setVideoCodec(java.lang.String videoCodec) |
void |
setVideoCodecHwAcceleration(boolean videoCodecHwAcceleration) |
void |
setVideoFileAsCamera(java.lang.String videoFileAsCamera) |
void |
setVideoFps(int videoFps) |
void |
setVideoHeight(int videoHeight) |
void |
setVideoWidth(int videoWidth) |
void |
setViewer(boolean viewer) |
void |
setVolumeControlStream(android.app.Activity activity,
int streamType) |
public int socketFrameSize
public SurfaceViewRenderer localView
public SurfaceViewRenderer remoteView
public java.lang.String restHost
public java.lang.String socketUrl
public java.lang.String logFilePath
public int rolling
public java.lang.String key
public java.lang.String serviceId
public int logLevel
public boolean isCaster
public boolean isViewer
public boolean sendStatToServer
public boolean videoCall
public boolean captureToTexture
public java.lang.String videoCodec
public java.lang.String speakerPhone
public boolean tracing
public int videoWidth
public int videoHeight
public int videoFps
public boolean videoCodecHwAcceleration
public int audioStartBitrate
public java.lang.String audioCodec
public boolean noAudioProcessing
public boolean aecDump
public boolean useOpenSLES
public boolean disableBuiltInAEC
public boolean disableBuiltInAGC
public boolean disableBuiltInNS
public boolean enableLevelControl
public int statInterval
public android.app.Activity activity
public int streamType
public void setVolumeControlStream(android.app.Activity activity, int streamType)
public void setConfig(org.json.JSONObject map) throws java.lang.Exception
java.lang.Exception
public void setConfig(java.lang.String data)
public void setConfig(android.content.SharedPreferences pref)
public int hashCode()
hashCode
in class java.lang.Object
public int getSocketFrameSize()
public void setSocketFrameSize(int socketFrameSize)
public SurfaceViewRenderer getLocalView()
public void setLocalView(SurfaceViewRenderer localView)
public SurfaceViewRenderer getRemoteView()
public void setRemoteView(SurfaceViewRenderer remoteView)
public java.lang.String getRestHost()
public void setRestHost(java.lang.String restHost)
public java.lang.String getRestPath()
public void setRestPath(java.lang.String restPath)
public java.lang.String getSocketUrl()
public void setSocketUrl(java.lang.String socketUrl)
public java.lang.String getLogFilePath()
public void setLogFilePath(java.lang.String logFilePath)
public int getRolling()
public void setRolling(int rolling)
public java.util.List<PeerConnection.IceServer> getIceServers()
public void setIceServers(java.util.List<PeerConnection.IceServer> iceServers)
public java.lang.String getKey()
public void setKey(java.lang.String key)
public java.lang.String getServiceId()
public void setServiceId(java.lang.String serviceId)
public java.lang.String getServicePassword()
public void setServicePassword(java.lang.String servicePassword)
public java.lang.String getToken()
public void setToken(java.lang.String token)
public java.lang.String getRoomId()
public void setRoomId(java.lang.String roomId)
public java.lang.String getRoomName()
public void setRoomName(java.lang.String roomName)
public java.lang.String getMasterRoomId()
public void setMasterRoomId(java.lang.String masterRoomId)
public java.lang.String getVideoFileAsCamera()
public void setVideoFileAsCamera(java.lang.String videoFileAsCamera)
public boolean isScreenCapturer()
public void setScreenCapturer(boolean screenCapturer)
public boolean isDebug()
public void setDebug(boolean debug)
public int getLogLevel()
public void setLogLevel(int logLevel)
public boolean isUseFileLog()
public void setUseFileLog(boolean useFileLog)
public boolean isCaster()
public void setCaster(boolean caster)
public boolean isViewer()
public void setViewer(boolean viewer)
public boolean isSendStatToServer()
public void setSendStatToServer(boolean sendStatToServer)
public boolean isVideoCall()
public void setVideoCall(boolean videoCall)
public boolean isCamera2()
public void setCamera2(boolean camera2)
public boolean isCaptureToTexture()
public void setCaptureToTexture(boolean captureToTexture)
public int getStartVideoBitrate()
public void setStartVideoBitrate(int startVideoBitrate)
public java.lang.String getVideoCodec()
public void setVideoCodec(java.lang.String videoCodec)
public boolean isUseHwAcc()
public void setUseHwAcc(boolean useHwAcc)
public boolean isUseLevelControl()
public void setUseLevelControl(boolean useLevelControl)
public java.lang.String getSpeakerPhone()
public void setSpeakerPhone(java.lang.String speakerPhone)
public boolean isUseDataCall()
public void setUseDataCall(boolean useDataCall)
public boolean isTracing()
public void setTracing(boolean tracing)
public int getVideoWidth()
public void setVideoWidth(int videoWidth)
public int getVideoHeight()
public void setVideoHeight(int videoHeight)
public int getVideoFps()
public void setVideoFps(int videoFps)
public boolean isVideoCodecHwAcceleration()
public void setVideoCodecHwAcceleration(boolean videoCodecHwAcceleration)
public int getAudioStartBitrate()
public void setAudioStartBitrate(int audioStartBitrate)
public java.lang.String getAudioCodec()
public void setAudioCodec(java.lang.String audioCodec)
public boolean isNoAudioProcessing()
public void setNoAudioProcessing(boolean noAudioProcessing)
public boolean isAecDump()
public void setAecDump(boolean aecDump)
public boolean isUseOpenSLES()
public void setUseOpenSLES(boolean useOpenSLES)
public boolean isDisableBuiltInAEC()
public void setDisableBuiltInAEC(boolean disableBuiltInAEC)
public boolean isDisableBuiltInAGC()
public void setDisableBuiltInAGC(boolean disableBuiltInAGC)
public boolean isDisableBuiltInNS()
public void setDisableBuiltInNS(boolean disableBuiltInNS)
public boolean isEnableLevelControl()
public void setEnableLevelControl(boolean enableLevelControl)
public int getStatInterval()
public void setStatInterval(int statInterval)
public android.app.Activity getActivity()
public void setActivity(android.app.Activity activity)
public int getStreamType()
public void setStreamType(int streamType)