View Source Onvif.Media.Ver20.SetAudioEncoderConfiguration (Onvif v0.3.4)

Link to this section Summary

Link to this section Functions

@spec request(Onvif.Device.t(), list()) :: {:ok, any()} | {:error, map()}
Link to this function

request_body(audio_encoder_config)

View Source
@spec request_body(%Onvif.Media.Ver10.Profile.AudioEncoderConfiguration{
  bitrate: term(),
  encoding: term(),
  multicast_configuration: term(),
  name: term(),
  reference_token: term(),
  sample_rate: term(),
  session_timeout: term(),
  use_count: term()
}) :: tuple()
Link to this function

response(xml_response_body)

View Source
@spec response(String.t()) :: {:ok, String.t()}