Skip to content

Commit f5b16da

Browse files
committed
E Fixed readme sample
1 parent 866ba8b commit f5b16da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ eventListener.Start((int cameraID, string ev) =>
146146
}
147147
});
148148

149-
var subscriptionResponse = await client.BasicSubscribeAsync(eventListener.GetOnvifEventListenerUri(cameraID));
149+
var subscriptionResponse = await client.BasicSubscribeAsync(eventListener.GetOnvifEventListenerUri(CAMERA1));
150150
```
151151
### Using the generated WCF clients
152152
First add a reference to the DLL that implements the clients (e.g. `SharpOnvifClient.DeviceMgmt`). Create the authentication behavior:

0 commit comments

Comments
 (0)