getDistantVideoTracks

abstract fun getDistantVideoTracks(call: WebRTCCall): List<VideoTrack>

get distant video tracks by WebRTCCall

Return

return the list of video tracks available

Parameters

call

: WebRTCCall the call on where to get videos (only for P2P calls)


abstract fun getDistantVideoTracks(type: PeerSession.PeerSessionType): List<VideoTrack>

get distant video tracks by peer session type

Return

return the list of video tracks available

Parameters

type

Peer session type wanted


abstract fun getDistantVideoTracks(type: PeerSession.PeerSessionType, publisherId: String?): List<VideoTrack>

get distant video tracks by peer session type and publisher id

Return

return the list of video tracks available

Parameters

type

Peer session type wanted

publisherId

String a publisher id


abstract fun getDistantVideoTracks(publisherId: String?): List<VideoTrack>

get distant video tracks by publisher id

Return

return the list of video tracks available

Parameters

publisherId

String a publisher id