Closed ucelme closed 3 years ago
Hello. How I can continue play audio from current stream, and not from paused location when I use player.togglePlaying()?
Hello!
You can add an extension to the FRadioPlayer that toggles playing using stop instead of pause:
extension FRadioPlayer { open func toggleStopPlaying() { isPlaying ? stop() : play() } }
Hello. How I can continue play audio from current stream, and not from paused location when I use player.togglePlaying()?