hyphenate_SDK3.0  3.5.0
hyphenatejavaIMSDK
Public Member Functions | Protected Attributes | List of all members
com.hyphenate.chat.EMStreamParam Class Reference
Collaboration diagram for com.hyphenate.chat.EMStreamParam:
Collaboration graph
[legend]

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)
 

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
 

Detailed Description

Created by lzan13 on 2017/8/16.

Local publish stream config

Member Data Documentation

boolean com.hyphenate.chat.EMStreamParam.audioOff
protected

Whether mute

int com.hyphenate.chat.EMStreamParam.audioSampleRate
protected

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

boolean com.hyphenate.chat.EMStreamParam.enableFixedVideoResolution
protected

enable/disable auto adjust resolution

String com.hyphenate.chat.EMStreamParam.extension
protected

extension

int com.hyphenate.chat.EMStreamParam.maxAudioKbps
protected

set audio bitrate, 6 ~ 510

Parameters
maxAudioKbpsmax audio bitrate
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

int com.hyphenate.chat.EMStreamParam.minVideoKbps
protected

config minimum of bit rate

String com.hyphenate.chat.EMStreamParam.name
protected

local publish stream name

View com.hyphenate.chat.EMStreamParam.shareView
protected

Share view

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

|~chinese 推送 stream 类型

Publish stream type

boolean com.hyphenate.chat.EMStreamParam.useBackCamera
protected

Use back camera, default false

int com.hyphenate.chat.EMStreamParam.videoHeight
protected

Video height

boolean com.hyphenate.chat.EMStreamParam.videoOff
protected

Whether to turn off the video

int com.hyphenate.chat.EMStreamParam.videoWidth
protected

Video width


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