Go to the documentation of this file.
5 #import <Foundation/Foundation.h>
75 @property (nonatomic, readonly) NSString* __nullable
name;
77 #ifndef DOXYGEN_SKIP_THIS
78 - (__nullable instancetype)init __attribute__((unavailable(
"init is not a supported initializer for this class.")));
79 #endif // !DOXYGEN_SKIP_THIS
98 - (BOOL)send:(NSObject* __nonnull)data;
@ SKW_ROOM_EVENT_PEER_LEAVE
A peer has left.
Definition: SKWRoom.h:47
void offAll()
Cancels the set event callback block of SKWRoom.
void getLog()
Start getting room's logs from signaling server.
Media stream.
Definition: SKWMediaStream.h:18
Room base class.
Definition: SKWRoom.h:70
@ SKW_ROOM_EVENT_DATA
Data received from peer.
Definition: SKWRoom.h:55
SKWRoomEventEnum
Room events.
Definition: SKWRoom.h:16
@ SKW_ROOM_EVENT_STREAM
MediaStream received from peer in the room.
Definition: SKWRoom.h:21
NSString *__nullable name
Room name.
Definition: SKWRoom.h:75
@ SKW_ROOM_EVENT_ERROR
Error occured.
Definition: SKWRoom.h:51
@ SKW_ROOM_EVENT_OPEN
Room is ready.
Definition: SKWRoom.h:35
@ SKW_ROOM_EVENT_REMOVE_STREAM
MediaStream removed from peer in the room.
Definition: SKWRoom.h:31
@ SKW_ROOM_EVENT_CLOSE
Fired when the Peer left the room, or the connection with the SFU server was disconnected.
Definition: SKWRoom.h:39
void(^ SKWRoomEventCallback)(NSObject *__nullable arg)
Room Event Callback signature.
Definition: SKWRoom.h:65
@ SKW_ROOM_EVENT_PEER_JOIN
New peer has joined.
Definition: SKWRoom.h:43
@ SKW_ROOM_EVENT_LOG
Room's log received.
Definition: SKWRoom.h:59