Interface for playing a remote audio stream. More...
Public Member Functions | |
| bool | is_playing (self) |
| Return whether a stream is currently playing. | |
| None | play (self, str stream_url) |
| Begin playback of a remote audio stream. | |
| None | stop (self) |
| Stop current stream playback, if any. | |
Interface for playing a remote audio stream.
| bool audio.streaming_audio_player_if.StreamingAudioPlayerIf.is_playing | ( | self | ) |
Return whether a stream is currently playing.
| None audio.streaming_audio_player_if.StreamingAudioPlayerIf.play | ( | self, | |
| str | stream_url ) |
Begin playback of a remote audio stream.
Any currently playing stream may be replaced by the implementation.
| stream_url | URL of the stream to begin playing. |