void answer()
When receiving a call event on a peer, you can call .answer on the media connection provided by the c...
Media stream.
Definition: SKWMediaStream.h:18
void(^ SKWMediaConnectionEventCallback)(NSObject *__nullable arg)
Media Event Callback signature.
Definition: SKWMediaConnection.h:41
@ SKW_MEDIACONNECTION_EVENT_REMOVE_STREAM
Emitted when a remote peer remove a stream.
Definition: SKWMediaConnection.h:27
Alternative class as MediaConnection.
Definition: SKWMediaConnection.h:52
SKWMediaConnection answer Option.
Definition: SKWAnswerOption.h:14
void close()
Closes the media connection.
@ SKW_MEDIACONNECTION_EVENT_ERROR
Errors on the media conenction are almost always fatal and will destroy the media connection.
Definition: SKWMediaConnection.h:35
Base class of SKWDataConnection and SKWMediaConnection.
Definition: SKWConnection.h:62
@ SKW_MEDIACONNECTION_EVENT_CLOSE
Emitted when either you or the remote peer closes the media connection.
Definition: SKWMediaConnection.h:31
SKWMediaConnectionEventEnum
Media connection event type.
Definition: SKWMediaConnection.h:18
@ SKW_MEDIACONNECTION_EVENT_STREAM
Emitted when a remote peer adds a stream.
Definition: SKWMediaConnection.h:23