Skip to content

Commit 2b362d3

Browse files
committed
E Updated readme
1 parent 6b7eb5d commit 2b362d3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ var app = builder.Build();
6161
app.UseAuthentication();
6262
app.UseAuthorization();
6363
```
64-
And makes sure to call `app.UseOnvif()` to handle SOAP requests with action in the SOAP message instead of the Content-Type header:
64+
And make sure to call `app.UseOnvif()` to handle SOAP requests with action in the SOAP message instead of the Content-Type header:
6565
```cs
6666
app.UseOnvif();
6767
```
@@ -76,7 +76,7 @@ Add the CoreWCF service endpoint:
7676
serviceBuilder.AddServiceEndpoint<DeviceImpl, SharpOnvifServer.DeviceMgmt.Device>(OnvifBindingFactory.CreateBinding(), "/onvif/device_service");
7777
});
7878
```
79-
And finally call `app.Run()`:
79+
Finally call `app.Run()`:
8080
```cs
8181
app.Run();
8282
```
@@ -85,7 +85,7 @@ Your ONVIF service should now be discoverable on the network and you should be a
8585
## SharpOnvifClient
8686
ONVIF client provides netstandard2.0 WCF bindings generated using `dotnet-svcutil`. `SimpleOnvifClient` wraps common API calls to get basic information from the camera and includes both Pull Point as well as Basic event subscriptions.
8787

88-
To discover Onvif devices on your network, use:
88+
To discover ONVIF devices on your network, use:
8989
```cs
9090
string[] onvifDeviceUris = await DiscoveryClient.DiscoverAsync();
9191
```
@@ -105,14 +105,14 @@ Call `GetServicesAsync` to retrieve a list of all services supported by the devi
105105
var services = await client.GetServicesAsync();
106106
```
107107

108-
Some operations require the device to support a service. For instance, to retrieve the stream URI a device must support the media service. To check whether the ONVIF service is supported by the device, call:
108+
Some operations require the device to support a service. For instance, to retrieve the stream URI the device must support the media service. To check whether the ONVIF service is supported by the device, call:
109109
```cs
110110
if (services.Service.FirstOrDefault(x => x.Namespace == OnvifServices.MEDIA) != null)
111111
{
112112
// operation only available when the service is supported
113113
}
114114
```
115-
Full list of services that can be supported by a device is available in `SharpOnvifCommon.OnvifServices`.
115+
Full list of services that can be supported by the device is available in `SharpOnvifCommon.OnvifServices`.
116116

117117
### Pull Point event subscription
118118
Pull point event subscription does not require any special networking configuration and it should work in most networks.

0 commit comments

Comments
 (0)