Post

Replies

Boosts

Views

Activity

Comment on Get channels count for an audio stream in AVPlayer
Hi Rico, thanks for the quick response. I've managed to get the channel count for the current audio from AVPlayerItem.tracks, but I would like to get that info for all available audio tracks. If I understand correctly, it should be possible to use AVAsset.tracks, AVAsset.load(.tracks), or AVAsset.loadTracks(withMediaType: .audio), but they always return an empty array. Is there another way?
3w