#import <Foundation/Foundation.h>


static const char *WebrtcVersion = "0.3.5";

#define StreamID_Camera            @"camera"
#define StreamID_Window            @"window"

//全字符串是否为空
#define KWebrtcStringIsEmpty(str) ([str isKindOfClass:[NSNull class]] || str == nil || [str isEqual: @"null"] || [str isEqual: @"<null>"] || [str isEqual: @"nil"] || [str length] < 1 ? YES : NO )

//数组是否为空
#define KWebrtcArrayIsEmpty(array) (array == nil || [array isKindOfClass:[NSNull class]] || array.count == 0)

//字典是否为空
#define KWebrtcDictIsEmpty(dict) (dict == nil || [dict isKindOfClass:[NSNull class]] || dict.allKeys.count == 0)

typedef NS_ENUM(NSInteger, ClientType) {
    CLIENT_TEACHER,
    CLIENT_STUDENT
};

typedef NS_ENUM(NSInteger, ClassMode) {
    CLASS_BIG,
    CLASS_SMALL
};

