Conference Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | conference.h conference.mm |
+ presenceToString:
convert Presence to String
+ (NSString *)presenceToString:(Presence)presenceParameters
(Presence) |
presence. |
|---|
Return Value
(NSString)
Discussion
convert Presence to String
Declared In
conference.h
+ presenceFromString:
convert Presence from String
+ (Presence)presenceFromString:(NSString *)presenceParameters
(NSString) |
presence. |
|---|
Return Value
(Presence)
Discussion
convert Presence from String
Declared In
conference.h
+ getInstance
Get the current instance of bistri conference object.
+ (Conference *)getInstanceReturn Value
Conference object or null if no previous instance already exists.
Discussion
Get the current instance of bistri conference object.
Declared In
conference.h
– setInfoWithAppID:APIKey:userName:
Set credential information. WARNING: Your application package name is automaticaly used as “referrer”.
- (BOOL)setInfoWithAppID:(NSString *)appId APIKey:(NSString *)apiKey userName:(NSString *)userNameParameters
(NSString) |
userName. User name |
|---|
Return Value
True if appId and appKey seem valid.
Discussion
Set credential information. WARNING: Your application package name is automaticaly used as “referrer”.
Declared In
conference.h
– setInfoWithAppID:APIKey:userName:userId:
Set credential information. WARNING: Your application package name is automaticaly used as “referrer”.
- (BOOL)setInfoWithAppID:(NSString *)appId APIKey:(NSString *)apiKey userName:(NSString *)userName userId:(NSString *)userIdParameters
(NSString) |
userId. User identifier |
|---|
Return Value
True if appId and appKey seem valid.
Discussion
Set credential information. WARNING: Your application package name is automaticaly used as “referrer”.
Declared In
conference.h
– connect
Connect to bistri conference service.
- (void)connectDiscussion
Connect to bistri conference service.
Declared In
conference.h
– getStatus
Get the connection status.
- (ConferenceConnection)getStatusReturn Value
ConferenceConnection.
Discussion
Get the connection status.
Declared In
conference.h
– call:inRoom:
Call the specified peerId in the specified room
- (void)call:(NSString *)peerId inRoom:(NSString *)roomNameParameters
(NSString) |
roomName. The room where the call take place. Room name can contains only a-z,A-Z,0-9,-,_ |
|---|
Discussion
Call the specified peerId in the specified room
Declared In
conference.h
– openDataChannel:withLabel:inRoom:
Open a DataChannel with the current peer in the specified room.
- (void)openDataChannel:(NSString *)peerId withLabel:(NSString *)label inRoom:(NSString *)roomNameParameters
(NSString) |
roomName. The room where the call take place. Room name can contains only a-z,A-Z,0-9,-,_ |
|---|
Discussion
Open a DataChannel with the current peer in the specified room.
Declared In
conference.h
– setLoudspeaker:
Enable/disable loud speaker.
- (void)setLoudspeaker:(bool)enableParameters
(bool) |
enable. |
|---|
Discussion
Enable/disable loud speaker.
Declared In
conference.h
– mute:room:peerId:type:
Mute/Unmute an audio or video stream.
- (void)mute:(bool)mute room:(NSString *)room peerId:(NSString *)peerId type:(MediaType)typeParameters
(MediaType) |
type the media (AUDIO/VIDEO). |
|---|---|
(bool) |
mute. True will mute selected stream, false will unmute it. |
(NSString) |
peerId. Peer identifier. |
Discussion
Mute/Unmute an audio or video stream.
Declared In
conference.h
– getLocalStream
Return the local peer stream.
- (PeerStream *)getLocalStreamReturn Value
Discussion
Return the local peer stream.
Declared In
conference.h
– getPeerStream:
Return a peer stream from peer ID.
- (PeerStream *)getPeerStream:(NSString *)peerIdParameters
(NSString) |
peerId. Peer identifier. |
|---|
Return Value
Discussion
Return a peer stream from peer ID.
Declared In
conference.h
– removePeerStream:
Remove peer stream
- (void)removePeerStream:(NSString *)peerIdParameters
(NSString) |
peerId. Peer identifier. |
|---|
Discussion
Remove peer stream
Declared In
conference.h
– getCameraNb
Get the number of available camera.
- (int)getCameraNbReturn Value
camera number.
Discussion
Get the number of available camera.
Declared In
conference.h
– getCameraInfos
Get information about available cameras.
- (NSArray *)getCameraInfosReturn Value
an ArrayList of CameraInfo.
Discussion
Get information about available cameras.
Declared In
conference.h
– setCameraId:
Set Camera Id
- (void)setCameraId:(int)idParameters
(int) |
id. Camera identifier. Also the camera index of getCameraInfos(). |
|---|
Discussion
Set Camera Id
Declared In
conference.h
– getCameraId
Get the current camera index. Can return -1 if setCameraId has never been called; -1 means library will choose the first front-facing camera available.
- (int)getCameraIdReturn Value
current camera index.
Discussion
Get the current camera index. Can return -1 if setCameraId has never been called; -1 means library will choose the first front-facing camera available.
Declared In
conference.h
– setGeneralOption:withValue:
Set general options.
- (void)setGeneralOption:(ConferenceGeneralOption)option withValue:(bool)valueParameters
(ConferenceGeneralOption) |
option. |
|---|---|
(bool) |
value. |
Discussion
Set general options.
Declared In
conference.h
– hasGeneralOption:
Check if a general option has been set.
- (bool)hasGeneralOption:(ConferenceGeneralOption)optionParameters
(ConferenceGeneralOption) |
option. |
|---|
Return Value
True if the given option has already been set.
Discussion
Check if a general option has been set.
Declared In
conference.h
– getGeneralOptionAsString:
Get general option has String.
- (NSString *)getGeneralOptionAsString:(ConferenceGeneralOption)optionParameters
(ConferenceGeneralOption) |
option. |
|---|
Return Value
value has a String if possible, null otherwise.
Discussion
Get general option has String.
Declared In
conference.h
– setVideoOption:withCodecValue:
Set video options.
- (void)setVideoOption:(ConferenceVideoOption)option withCodecValue:(ConferenceVideoCodec)valueParameters
(ConferenceVideoOption) |
option. |
|---|---|
(ConferenceVideoCodec) |
value. |
Discussion
Set video options.
Declared In
conference.h
– getVideoOptionAsVideoCodec:
Get video option has ConferenceVideoCodec enum.
- (ConferenceVideoCodec)getVideoOptionAsVideoCodec:(ConferenceVideoOption)optionParameters
(ConferenceVideoOption) |
option. |
|---|
Return Value
ConferenceVideoCodec value.
Discussion
Get video option has ConferenceVideoCodec enum.
Declared In
conference.h
– setVideoOption:withIntgValue:
Set video options.
- (void)setVideoOption:(ConferenceVideoOption)option withIntgValue:(int)valueParameters
(ConferenceVideoOption) |
option |
|---|---|
(int) |
value |
Discussion
Set video options.
Declared In
conference.h
– hasVideoOption:
Check if a video option has been set.
- (bool)hasVideoOption:(ConferenceVideoOption)optionParameters
(ConferenceVideoOption) |
option. |
|---|
Return Value
True if the given option has already been set.
Discussion
Check if a video option has been set.
Declared In
conference.h
– getVideoOptionAsInteger:
Get video option has int.
- (int)getVideoOptionAsInteger:(ConferenceVideoOption)optionParameters
(ConferenceVideoOption) |
option. |
|---|
Return Value
value if possible, null otherwise.
Discussion
Get video option has int.
Declared In
conference.h
– getVideoOptionAsString:
Get video option has String.
- (NSString *)getVideoOptionAsString:(ConferenceVideoOption)optionParameters
(ConferenceVideoOption) |
option. |
|---|
Return Value
value has a String if possible, null otherwise.
Discussion
Get video option has String.
Declared In
conference.h
– setAudioOption:withCodecValue:
Set audio options.
- (void)setAudioOption:(ConferenceAudioOption)option withCodecValue:(ConferenceAudioCodec)valueParameters
(ConferenceAudioCodec) |
value. |
|---|---|
(ConferenceAudioOption) |
option. |
Discussion
Set audio options.
Declared In
conference.h
– setAudioOption:withIntValue:
Set audio options.
- (void)setAudioOption:(ConferenceAudioOption)option withIntValue:(int)valueParameters
(int) |
value. |
|---|---|
(ConferenceAudioOption) |
option. |
Discussion
Set audio options.
Declared In
conference.h
– hasAudioOption:
Check if an audio option has been set.
- (bool)hasAudioOption:(ConferenceAudioOption)optionParameters
(ConferenceAudioOption) |
option. |
|---|
Return Value
True if the given option has already been set.
Discussion
Check if an audio option has been set.
Declared In
conference.h
– getAudioOptionAsAudioCodec:
Get audio option has ConferenceAudioCodec enum.
- (ConferenceAudioCodec)getAudioOptionAsAudioCodec:(ConferenceAudioOption)optionParameters
(ConferenceAudioOption) |
option. |
|---|
Return Value
ConferenceAudioCodec value.
Discussion
Get audio option has ConferenceAudioCodec enum.
Declared In
conference.h
– getAudioOptionAsInt:
Get audio option has integer.
- (int)getAudioOptionAsInt:(ConferenceAudioOption)optionParameters
(ConferenceAudioOption) |
option. |
|---|
Return Value
int value.
Discussion
Get audio option has integer.
Declared In
conference.h
– getAudioOptionAsString:
Get audio option has String.
- (NSString *)getAudioOptionAsString:(ConferenceAudioOption)optionParameters
(ConferenceAudioOption) |
option. |
|---|
Return Value
String value.
Discussion
Get audio option has String.
Declared In
conference.h
– getUserId
Get your own user identifier. This identifier is set by the conference server after been connected.
- (NSString *)getUserIdReturn Value
String identifier if any, it return null otherwise.
Discussion
Get your own user identifier. This identifier is set by the conference server after been connected.
Declared In
conference.h
– setPresence:
Set your own presence.
- (void)setPresence:(Presence)presenceParameters
(Presence) |
presence. |
|---|
Discussion
Set your own presence.
Declared In
conference.h
– getPresence:
Get presence of a remote peer.
- (void)getPresence:(NSString *)peerIdParameters
(NSString) |
peerId remote user identifier |
|---|
Discussion
Get presence of a remote peer.
Declared In
conference.h
– applicationIsActive
Informs api that application is active.
- (void)applicationIsActiveDiscussion
Informs api that application is active.
Declared In
conference.h
– applicationInBackground
Informs api that application enter in background.
- (void)applicationInBackgroundDiscussion
Informs api that application enter in background.
Declared In
conference.h