livedigital iOS SDK Architecture
livedigitalSDK helps you to build a video conference application using relatively high-level abstractions. There are several underlying layers under the hood, that hide all the details of WebRTC usage, signaling and other low-level tasks. Here they are top to bottom:
|Mediasoup-Client-Swift||ObjC / Swift|
|WebRTC||C++ / ObjC|
LivedigitalClient is actually any class in the host app that wants to use livedigital service. Normally it will implement at least two protocols:
ChannelSessionDelegate. An instance of
StocklivedigitalEngine is also owned by
You may connect to one or several channels.
ChannelSession instance corresponds to such connection.
VideoSource correspond to microphone and camera respectively, which are used to broadcast media content into channel.
Peer instances correspond to other channel members. To manage subscription to someone’s audio or video stream, you use
Consumer objects of this peer.