HyphenateSDK  3.1.4
Instance Methods | Properties | List of all members
EMCallSession Class Reference
Inheritance diagram for EMCallSession:

Instance Methods

(int) - getVoiceVolume
 
(int) - getVideoTimedelay
 
(int) - getVideoFramerate
 
(int) - getVideoLostcnt
 
(int) - getVideoWidth
 
(int) - getVideoHeight
 
(int) - getVideoRemoteBitrate
 
(int) - getVideoLocalBitrate
 
(void) - takeRemotePicture:
 
(BOOL) - startVideoRecord:
 
(NSString *) - stopVideoRecord
 
(void) - setCameraBackOrFront:
 

Properties

NSString * sessionId
 
NSString * username
 
NSString * remoteUsername
 
EMCallType type
 
EMCallConnectType connectType
 
EMCallSessionStatus status
 
EMCallLocalViewlocalVideoView
 
EMCallRemoteViewremoteVideoView
 
int videoBitrate
 

Method Documentation

- (int) getVideoFramerate

Get video frame rate, it's real time changed

Returns
The frame rate
- (int) getVideoHeight

Get video height, fix size, it's not real time changed

Returns
Video height
- (int) getVideoLocalBitrate

Get bitrate of video call, it's real time changed

Returns
Bitrate of video
- (int) getVideoLostcnt

Get video package lost rate

Returns
Package lost rate
- (int) getVideoRemoteBitrate

Get another peer's bitrate, it's real time changed

Returns
Another peer's bitrate
- (int) getVideoTimedelay

Get video delay time, in milliseconds, it's real time changed

Returns
The delay time
- (int) getVideoWidth

Get video width, fix size, it's not real time changed

Returns
Video width
- (int) getVoiceVolume

Get voice volume

Returns
Volume
- (void) setCameraBackOrFront: (BOOL)  isFont

Use front camera or back camera,default use front

Parameters
isFontWeather use front camera or not,Yes is Front,No is Back
- (BOOL) startVideoRecord: (NSString *)  aPath

Start recording video

Parameters
aPathFile save path
- (NSString *) stopVideoRecord

Stop recording video

Returns
path of record file
- (void) takeRemotePicture: (NSString *)  aFullPath

Get snapshot of video

Parameters
aFullPathSave path of picture

Property Documentation

- (EMCallConnectType) connectType
readnonatomicassign

Connection type

- (EMCallLocalView*) localVideoView
readwritenonatomicstrong

Local display view

- (NSString*) remoteUsername
readnonatomicstrong

The other side's username

- (EMCallRemoteView*) remoteVideoView
readwritenonatomicstrong

Remote display view

- (NSString*) sessionId
readnonatomicstrong

Unique session id

- (EMCallSessionStatus) status
readnonatomicassign

Call session status

- (EMCallType) type
readnonatomicassign

Call type

- (NSString*) username
readnonatomicstrong

Local username

- (int) videoBitrate
readwritenonatomicassign

Set video bit rate, must set before start the session

Value is 150-1000, the default is 600


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