canSwitchToVideo() calls getVideoTracksCount() which can block main thread.
mentioned in commit 4598db40