Beispiel #1
0
        private async void StartPlayer(SonosPlayer player, string streamUrl)
        {
            try
            {
                await player.SetAvTransportUri(streamUrl);

                await player.Play();
            }
            catch
            {
                StreamAction.IsEnabled = true;
            }
        }
Beispiel #2
0
        private async void StartPlayer(SonosPlayer player, string streamUrl)
        {
            await player.SetAvTransportUri(streamUrl);

            await player.Play();
        }