iOS SDK API Reference

SKWRoomOption.h
Go to the documentation of this file.
1 // SKWRoomOption.h
3 // SkyWay SDK
5 #import <Foundation/Foundation.h>
6 
11 @class SKWMediaStream;
12 
16 typedef NS_ENUM(NSUInteger, SKWRoomModeEnum)
17 {
26 };
27 
31 @interface SKWRoomOption : NSObject < NSCopying >
32 
36 @property (nonatomic, assign) SKWRoomModeEnum mode;
37 
41 @property (nonatomic) SKWMediaStream* __nullable stream;
42 
46 @property (nonatomic, assign) NSInteger videoBandwidth;
47 
51 @property (nonatomic, assign) NSInteger audioBandwidth;
52 
56 @property (nonatomic, copy) NSString* __nullable videoCodec;
57 
61 @property (nonatomic, copy) NSString* __nullable audioCodec;
62 
63 @end
SKWRoomOption::audioCodec
NSString *__nullable audioCodec
A audio codec like 'PCMU'.
Definition: SKWRoomOption.h:61
SKWRoomOption::stream
SKWMediaStream *__nullable stream
User's medias stream to send other participants.
Definition: SKWRoomOption.h:41
SKWMediaStream
Media stream.
Definition: SKWMediaStream.h:18
SKWRoomOption::audioBandwidth
NSInteger audioBandwidth
A max audio bandwidth(kbps)
Definition: SKWRoomOption.h:51
SKW_ROOM_MODE_MESH
@ SKW_ROOM_MODE_MESH
Fullmesh type room.
Definition: SKWRoomOption.h:21
SKWRoomOption::videoCodec
NSString *__nullable videoCodec
A video codec like 'H264'.
Definition: SKWRoomOption.h:56
SKWRoomOption::videoBandwidth
NSInteger videoBandwidth
A max video bandwidth(kbps)
Definition: SKWRoomOption.h:46
SKW_ROOM_MODE_SFU
@ SKW_ROOM_MODE_SFU
SFU type room.
Definition: SKWRoomOption.h:25
SKWRoomOption::mode
SKWRoomModeEnum mode
Room Mode.
Definition: SKWRoomOption.h:36
SKWRoomModeEnum
SKWRoomModeEnum
Room mode.
Definition: SKWRoomOption.h:16
SKWRoomOption
Room Options.
Definition: SKWRoomOption.h:31