func updateVideoSourceSubscription()

in AmazonChimeSDKDemo/AmazonChimeSDKDemo/VideoModel.swift [482:489]


    func updateVideoSourceSubscription() {
        if videoSourcesToBeSubscribed.isEmpty && videoSourcesToBeUnsubscribed.isEmpty {
            return
        }
        audioVideoFacade.updateVideoSourceSubscriptions(addedOrUpdated: videoSourcesToBeSubscribed, removed: Array(videoSourcesToBeUnsubscribed))
        videoSourcesToBeSubscribed.removeAll()
        videoSourcesToBeUnsubscribed.removeAll()
    }