getDistantVideoTracks

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(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