iOS SDK API Reference

Classes | Typedefs | Enumerations
SKWMediaConnection.h File Reference
#import "SKWConnection.h"

Go to the source code of this file.

Classes

class  SKWMediaConnection
 Alternative class as MediaConnection. More...
 

Typedefs

typedef void(^ SKWMediaConnectionEventCallback) (NSObject *__nullable arg)
 Media Event Callback signature.
 

Enumerations

enum  SKWMediaConnectionEventEnum { SKW_MEDIACONNECTION_EVENT_STREAM, SKW_MEDIACONNECTION_EVENT_REMOVE_STREAM, SKW_MEDIACONNECTION_EVENT_CLOSE, SKW_MEDIACONNECTION_EVENT_ERROR }
 Media connection event type. More...
 

Enumeration Type Documentation

◆ SKWMediaConnectionEventEnum

Media connection event type.

Enumerator
SKW_MEDIACONNECTION_EVENT_STREAM 

Emitted when a remote peer adds a stream.

SKW_MEDIACONNECTION_EVENT_REMOVE_STREAM 

Emitted when a remote peer remove a stream.

SKW_MEDIACONNECTION_EVENT_CLOSE 

Emitted when either you or the remote peer closes the media connection.

SKW_MEDIACONNECTION_EVENT_ERROR 

Errors on the media conenction are almost always fatal and will destroy the media connection.