Post

Replies

Boosts

Views

Activity

AVRoutePickerView player property
Hi, I am using AVRoutePickerView on macOS via NSViewRepresentable. I am setting the player property with a AVPlayer object. But when I choose via AVRoutePicker one of my HomePods, AVPlayer is ignoring the setting and is still using my Mac as output. Strangely if I left the player property nil and then choosing one of my HomePods via AVRoutePickerView it is working, but only for one AVPlayer, other AVPlayer will be muted. How can I force AVRoutePickerView to use its AVPlayer property? I am testing this with macOS 12.4. Thank you Oleg
0
0
705
Jun ’22
AVRoutePickerView player property
Hi, I am using AVRoutePickerView on macOS via NSViewRepresentable. I am setting the player property with a AVPlayer object. But when I choose via AVRoutePicker one of my HomePods, AVPlayer is ignoring the setting and is still using my Mac as output. Strangely if I left the player property nil and then choosing one of my HomePods via AVRoutePickerView it is working, but only for one AVPlayer, other AVPlayer will be muted. How can I force AVRoutePickerView to use its AVPlayer property? I am testing this with macOS 12.4. Thank you Oleg
Replies
0
Boosts
0
Views
705
Activity
Jun ’22