ApiRTC iOS SDK Documentation

Class Conversation​Call

open class ConversationCall  

Represents a call within the context of a Conversation/Conference

Properties

id

open private(set) var id: String! 

status

open private(set) var status: ConversationCallStatus! 

stream

open private(set) var stream: Stream? 

Methods

replace​Published​Stream(stream​Id:​with​Stream:​completion:​)

open func replacePublishedStream(streamId: String, withStream stream: Stream, completion: @escaping (_ error: Error?, _ stream: Stream?) -> Void)  

Replaces the currently published stream by a given one. If the first parameter is null then the second parameter must provides a property named getStream. The getStream property shall be a function returning a Promise of a Stream

get​Conversation()

open func getConversation() -> Conversation?