subscribeToService

abstract fun subscribeToService(room: IRainbowRoom?, serviceId: String, listener: RainbowListener<Unit, ConferenceRepository.SubscribeParticipantVideoError>? = null)

when a conference is started,it is possible to subscribe to service using this method

Parameters

room

IRainbowRoom room (bubble) associated to the conference

serviceId

String the service that you wan to subscribe the video

listener

RainbowListenerSubscribeParticipantVideoError> callback (onSuccess, onError)