FPWCSApi2  2.5.2
WCS iOS SDK
FPWCSApi2.h
Go to the documentation of this file.
1 //
2 // FPWCSApi2.h
3 // FPWCSApi
4 //
5 // Created by user on 17/10/2016.
6 // Copyright © 2016 user. All rights reserved.
7 //
8 
9 #import "FPWCSApi2Session.h"
10 #import "FPWCSApi2Model.h"
11 #import "FPWCSApi2RoomManager.h"
12 #import "RTCEAGLVideoView.h"
13 
14 @class FPWCSApi2;
15 
19 @interface FPWCSApi2 : NSObject
20 
30 + (FPWCSApi2Session *)createSession:(FPWCSApi2SessionOptions *)options
31  error:(NSError **)error;
32 
33 + (FPWCSApi2RoomManager *)createRoomManager:(FPWCSApi2RoomManagerOptions *)options
34  error:(NSError **)error;
35 
47 + (BOOL)getMediaAccess:(FPWCSApi2MediaConstraints *)constraints
48  display:(RTCEAGLVideoView *)display
49  error:(NSError **)error;
50 
57 
63 + (NSArray *)getSupportedVideoResolutions;
64 
72 + (FPWCSApi2Session *)getSession:(NSString *)sessionID;
73 
79 + (NSArray *)getSessions;
80 
86 + (BOOL)releaseLocalMedia:(RTCEAGLVideoView *)display;
87 
88 @end
89 
Definition: FPWCSApi2.h:19
NSArray * getSessions()
Definition: FPWCSApi2Session.h:30
Definition: FPWCSApi2Model.h:444
Definition: FPWCSApi2Model.h:461
NSArray * getSupportedVideoResolutions()
FPWCSApi2MediaDeviceList * getMediaDevices()
Definition: FPWCSApi2Model.h:556