Skip to content

Commit

Permalink
Update UIs that support the Web Audio sink
Browse files Browse the repository at this point in the history
The Web Audio sink is now also supported by Main UI and Basic UI, see:

* openhab/openhab-webui#1422
* openhab/openhab-webui#1426

Signed-off-by: Wouter Born <[email protected]>
  • Loading branch information
wborn committed Aug 15, 2022
1 parent ca7c7bb commit 4acfb27
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions configuration/multimedia.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ There are different options for output devices (so called audio sinks):

The distribution comes with these options built-in:

| Output Device | Audio Sink | Description |
|---------------------|-----------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `enhancedjavasound` | System Speaker (with mp3 support) | This uses the JRE sound drivers plus an additional 3rd party library, which adds support for mp3 files. |
| `webaudio` | Web Audio | Convenient, if sounds should not be played on the server, but on the client: This sink sends the audio stream through HTTP to web clients, which then cause it to be played back by the browser. Obviously, the browser needs to be opened and have a compatible openHAB UI running. Currently, this feature is only supported by HABPanel. |
| Output Device | Audio Sink | Description |
|---------------------|-----------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `enhancedjavasound` | System Speaker (with mp3 support) | This uses the JRE sound drivers plus an additional 3rd party library, which adds support for mp3 files. |
| `webaudio` | Web Audio | Convenient, if sounds should not be played on the server, but on the client: This sink sends the audio stream through HTTP to web clients, which then cause it to be played back by the browser. Obviously, the browser needs to be opened and have a compatible openHAB UI running. Currently, this feature is supported by Main UI, Basic UI and HABPanel. |

Additionally, certain bindings register their supported devices as audio sinks, e.g. Sonos speakers.

Expand Down
8 changes: 4 additions & 4 deletions developers/audio/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ The framework itself can handle multiple audio sinks at the same time.

The distribution comes with these built-in audio sinks options:

| Output device | Audio sink | Description |
|-------------------|-----------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| enhancedjavasound | System Speaker (with mp3 support) | This uses the JRE sound drivers plus an additional 3rd party library, which adds support for mp3 files. |
| webaudio | Web Audio | If sounds should not be played on the server but on the client: This sink sends the audio stream through HTTP to web clients, which then cause it to be played back by the browser. The browser needs to be opened and have a compatible UI running. Currently this feature is only supported by HABPanel. |
| Output device | Audio sink | Description |
|-------------------|-----------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| enhancedjavasound | System Speaker (with mp3 support) | This uses the JRE sound drivers plus an additional 3rd party library, which adds support for mp3 files. |
| webaudio | Web Audio | If sounds should not be played on the server but on the client: This sink sends the audio stream through HTTP to web clients, which then cause it to be played back by the browser. The browser needs to be opened and have a compatible UI running. Currently this feature is supported by Main UI, Basic UI and HABPanel. |

The framework is able to play sound either from the file system, from URLs (e.g. Internet radio streams) or generated by text-to-speech engines (which are available as optional Voice add-ons).

Expand Down

0 comments on commit 4acfb27

Please sign in to comment.