Which for .NET there is a library for playing audio (mp3) from the network at the time of its download, that is, in the stream? NAudio does not offer - for the second day I’m worried with him, and I constantly find some crutches with bugs, in the absence of normal documentation.
3 answers
If you use WPF, then the standard MediaPlayer class https://msdn.microsoft.com/ru-ru/library/system.windows.media.mediaplayer(v=vs.110).aspx
MediaPlayer player = new MediaPlayer(); player.Open(new Uri("указываем адрес до аудиозаписи"); player.Play();
But for some reason playback on https https://stackoverflow.com/questions/25081956/how-to-make-a-wpf-mediaelement-play-when-its-source-is-a-https-uri
|
Creating the Windows Media Player Control Programmatically
Playing a MP3 file in a WinForm application
also:
- Frankly, irrKlang will not advise ... Ie download - play a file from the disk - it can, quickly. More complex tasks - it’s very much to work with her. - LbISS
|
You can try more Bass.NET
- Worked with her? - Ni55aN
- Yes, it worked. In principle, the option is not bad. Including, for quite complex tasks. True, he has his subtleties. In other matters, IMHO, not a single technological solution is complete without them. - Streletz
- Is it possible to change positions for playback in buffered stream? - Ni55aN
- The ability to change positions during streaming playback is available. By the way, since I started talking about the intricacies, Bass.NET has enough detailed documentation . It will help to understand the details. - Streletz 2:21 pm
- All would be nothing if not a license - Ni55aN
|