Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GetServiceCapabilities for media ver10 #70

Merged
merged 3 commits into from
Jun 26, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix typo
  • Loading branch information
waranlogesh committed Jun 26, 2024
commit 3b9848bfa8e3e889d9a22ec253d3342a9e7a2d4e
2 changes: 1 addition & 1 deletion lib/media/ver10/service_capabilities.ex
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@ defmodule Onvif.Media.Ver10.ServiceCapabilities do
field(:temporary_osd_text, :boolean, default: false)
field(:exi_compression, :boolean, default: false)

embeds_one :profile_capabilities, ProfileCapailities, primary_key: false, on_replace: :update do
embeds_one :profile_capabilities, ProfileCapabilities, primary_key: false, on_replace: :update do
@derive Jason.Encoder
field(:maximum_number_of_profiles, :integer)
end
2 changes: 1 addition & 1 deletion test/media/get_service_capabilities_test.exs
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ defmodule Onvif.Media.Ver10.GetServiceCapabilitiesTest do
assert service_capabilities == %Onvif.Media.Ver10.ServiceCapabilities{
exi_compression: false,
osd: true,
profile_capabilities: %Onvif.Media.Ver10.ServiceCapabilities.ProfileCapailities{
profile_capabilities: %Onvif.Media.Ver10.ServiceCapabilities.ProfileCapabilities{
maximum_number_of_profiles: 24
},
rotation: false,