hyphenate_SDK3.0 3.7.6.3
hyphenate java IM SDK
Public Member Functions | Protected Attributes | List of all members
com.hyphenate.chat.EMStreamParam Class Reference

Public Member Functions

String getName ()
 
void setName (String name)
 
boolean isVideoOff ()
 
void setVideoOff (boolean videoOff)
 
boolean isAudioOff ()
 
void setAudioOff (boolean audioOff)
 
void setUseBackCamera (boolean useBackCamera)
 
boolean isUseBackCamera ()
 
int getVideoWidth ()
 
void setVideoWidth (int videoWidth)
 
int getVideoHeight ()
 
void setVideoHeight (int videoHeight)
 
String getExtension ()
 
void setExtension (String extension)
 
View getShareView ()
 
void setShareView (View shareView)
 
EMConferenceStream.StreamType getStreamType ()
 
void setStreamType (EMConferenceStream.StreamType streamType)
 
int getMaxVideoKbps ()
 
void setMaxVideoKbps (int maxVideoKbps)
 
int getMinVideoKbps ()
 
void setMinVideoKbps (int minVideoKbps)
 
int getMaxAudioKbps ()
 
void setMaxAudioKbps (int maxAudioKbps)
 
int getAudioSampleRate ()
 
void setAudioSampleRate (int audioSampleRate)
 
boolean isEnableFixedVideoResolution ()
 
void setEnableFixedVideoResolution (boolean enableFixedVideoResolution)
 
boolean isUsingExternalSource ()
 
void setUsingExternalSource (boolean usingExternalSource)
 
boolean isClarityFirst ()
 

Protected Attributes

String name
 
boolean videoOff
 
boolean audioOff
 
boolean useBackCamera
 
int videoWidth
 
int videoHeight
 
String extension
 
View shareView
 
EMConferenceStream.StreamType streamType
 
int maxVideoKbps
 
int minVideoKbps
 
int maxAudioKbps
 
int audioSampleRate
 
boolean enableFixedVideoResolution
 
boolean isClarityFirst = false
 
boolean usingExternalSource
 

Detailed Description

Created by lzan13 on 2017/8/16.

Local publish stream config

Member Data Documentation

◆ audioOff

boolean com.hyphenate.chat.EMStreamParam.audioOff
protected

Whether mute

◆ audioSampleRate

int com.hyphenate.chat.EMStreamParam.audioSampleRate
protected

config audio sample rate optional values: 8000Hz, 11025Hz, 22050Hz, 16000Hz, 44100Hz

◆ enableFixedVideoResolution

boolean com.hyphenate.chat.EMStreamParam.enableFixedVideoResolution
protected

enable/disable auto adjust resolution

◆ extension

String com.hyphenate.chat.EMStreamParam.extension
protected

extension

◆ isClarityFirst

boolean com.hyphenate.chat.EMStreamParam.isClarityFirst = false
protected

Whether to set the definition priority (false does not require operation, true sets the minimum video bit rate to 500)

◆ maxAudioKbps

int com.hyphenate.chat.EMStreamParam.maxAudioKbps
protected

set audio bitrate, 6 ~ 510

Parameters
maxAudioKbpsmax audio bitrate

◆ maxVideoKbps

int com.hyphenate.chat.EMStreamParam.maxVideoKbps
protected

Video kbps range: 50 < videoKbps < 5000. Default value is 0, which is adaptive bitrate streaming. recommend use default value

◆ minVideoKbps

int com.hyphenate.chat.EMStreamParam.minVideoKbps
protected

config minimum of bit rate

◆ name

String com.hyphenate.chat.EMStreamParam.name
protected

local publish stream name

◆ shareView

View com.hyphenate.chat.EMStreamParam.shareView
protected

Share view

◆ streamType

EMConferenceStream.StreamType com.hyphenate.chat.EMStreamParam.streamType
protected

|~chinese 推送 stream 类型

Publish stream type

◆ useBackCamera

boolean com.hyphenate.chat.EMStreamParam.useBackCamera
protected

Use back camera, default false

◆ usingExternalSource

boolean com.hyphenate.chat.EMStreamParam.usingExternalSource
protected

enable/disable external data

◆ videoHeight

int com.hyphenate.chat.EMStreamParam.videoHeight
protected

Video height

◆ videoOff

boolean com.hyphenate.chat.EMStreamParam.videoOff
protected

Whether to turn off the video

◆ videoWidth

int com.hyphenate.chat.EMStreamParam.videoWidth
protected

Video width


The documentation for this class was generated from the following file: