pub fn new(id: u64, accessory_id: u64) -> Self {
        Self {
            id,
            hap_type: HapType::CameraStreamManagement,
			selected_stream_configuration: SelectedStreamConfigurationCharacteristic::new(id + 1 + 0, accessory_id),
			setup_endpoint: SetupEndpointCharacteristic::new(id + 1 + 1, accessory_id),
			streaming_status: StreamingStatusCharacteristic::new(id + 1 + 2, accessory_id),
			supported_audio_stream_configuration: SupportedAudioStreamConfigurationCharacteristic::new(id + 1 + 3, accessory_id),
			supported_rtp_configuration: SupportedRtpConfigurationCharacteristic::new(id + 1 + 4, accessory_id),
			supported_video_stream_configuration: SupportedVideoStreamConfigurationCharacteristic::new(id + 1 + 5, accessory_id),
			active: Some(ActiveCharacteristic::new(id + 1 + 0 + 6, accessory_id)),
			..Default::default()
        }
    }
/// Creates a new Camera Stream Management service.
Creates a new Camera Stream Management service.
Creates a new Camera Stream Management service .
pub fn new(id: u64, accessory_id: u64) -> Self {
        Self {
            id,
            hap_type: HapType::CameraStreamManagement,
			selected_stream_configuration: SelectedStreamConfigurationCharacteristic::new(id + 1 + 0, accessory_id),
			setup_endpoint: SetupEndpointCharacteristic::new(id + 1 + 1, accessory_id),
			streaming_status: StreamingStatusCharacteristic::new(id + 1 + 2, accessory_id),
			supported_audio_stream_configuration: SupportedAudioStreamConfigurationCharacteristic::new(id + 1 + 3, accessory_id),
			supported_rtp_configuration: SupportedRtpConfigurationCharacteristic::new(id + 1 + 4, accessory_id),
			supported_video_stream_configuration: SupportedVideoStreamConfigurationCharacteristic::new(id + 1 + 5, accessory_id),
			active: Some(ActiveCharacteristic::new(id + 1 + 0 + 6, accessory_id)),
			..Default::default()
        }
    }
pub fn new ( id : u64 , accessory_id : u64 ) -> Self { Self { id , hap_type : HapType :: CameraStreamManagement , selected_stream_configuration : SelectedStreamConfigurationCharacteristic :: new ( id + 1 + 0 , accessory_id ) , setup_endpoint : SetupEndpointCharacteristic :: new ( id + 1 + 1 , accessory_id ) , streaming_status : StreamingStatusCharacteristic :: new ( id + 1 + 2 , accessory_id ) , supported_audio_stream_configuration : SupportedAudioStreamConfigurationCharacteristic :: new ( id + 1 + 3 , accessory_id ) , supported_rtp_configuration : SupportedRtpConfigurationCharacteristic :: new ( id + 1 + 4 , accessory_id ) , supported_video_stream_configuration : SupportedVideoStreamConfigurationCharacteristic :: new ( id + 1 + 5 , accessory_id ) , active : Some ( ActiveCharacteristic :: new ( id + 1 + 0 + 6 , accessory_id ) ) , .. Default :: default ( ) } }
Creates a new Camera Stream Management service.
Creates a new Camera Stream Management service .
id
u64
accessory_id
u64
id
u64
accessory_id
u64