...
| PlantUML Macro | ||
|---|---|---|
| ||
@startuml
hide empty description
state All {
All --> FAILURE: Fatal error
All --> [*]: \~WebAudioPlayer()
[*] --> IDLE: createWebAudioPlayer()
state Streaming {
IDLE --> PLAYING: play()
PLAYING --> PAUSED: pause()
PAUSED --> PLAYING: play()
}
PLAYING --> EOS: Gstreamer notifies EOS
EOS --> PLAYING: play()
}
@enduml |
The above state machine UML is not rendering correctly so this is a snapshot from Sky Confluence:
If max_web_audio_playbacks>0 then max_web_audio_playbacks regions will be allocated in the shared memory buffer for web audio data. The module managing Web Audio should fetch that region data during initialisation and then manage the memory as a circular buffer into which audio frames can be written and from which they are read. The following diagrams show typical snapshots of how the buffer might look during Web Audio streaming and how the next WebAudioShmInfo parameter returned by getBufferAvailable() would look in such a case.
...