Expand description
GroupRenderingControl service for group-wide audio rendering operations
This service handles group-wide audio rendering operations (group volume, group mute) for Sonos speaker groups. Operations should only be sent to the group coordinator.
§Control Operations
ⓘ
use sonos_api::services::group_rendering_control;
let vol_op = group_rendering_control::set_group_volume(75).build()?;
client.execute("192.168.1.100", vol_op)?;§Event Subscriptions
ⓘ
let subscription = group_rendering_control::subscribe(&client, "192.168.1.100", "http://callback")?;§Important Notes
- Operations should only be sent to the group coordinator
- Sending to non-coordinator speakers will result in error code 701
Re-exports§
pub use state::GroupRenderingControlState;pub use events::*;pub use operations::*;
Modules§
- events
- GroupRenderingControl service event types and parsing
- operations
- GroupRenderingControl service operations
- state
- Canonical GroupRenderingControl service state type.