View Source Onvif.Device.Service (Onvif v0.3.0)

A media profile

Link to this section Summary

Link to this section Functions

Link to this function

changeset(module, attrs)

View Source
@spec to_json(%Onvif.Device.Service{namespace: term(), version: term(), xaddr: term()}) ::
  {:error,
   %{
     :__exception__ => any(),
     :__struct__ => Jason.EncodeError | Protocol.UndefinedError,
     optional(atom()) => any()
   }}
  | {:ok, binary()}