-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[ipcamera] Fix multiple parts handling for Dahua events #12964
Conversation
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
28034ce
to
92c3e7a
Compare
...enhab.binding.ipcamera/src/main/java/org/openhab/binding/ipcamera/internal/DahuaHandler.java
Show resolved
Hide resolved
To have this fix included in 3.3, we would need your feedback and review quickly, @Skinah Of course if this is possible. If not, this will be for 3.4. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes the spelling error is in the firmware code and API documentation. I use copy paste heavily so it does not need to change.
Thanks for the suggested changes and I am a little hesitant rushing changes through for a stable build due to my lack of java experience. I can test the changes with multiple cameras tomorrow night, but after a quick look I think i am happy if the suggested change is accepted.
...enhab.binding.ipcamera/src/main/java/org/openhab/binding/ipcamera/internal/DahuaHandler.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - thanks for the contribution, it will be a great change to have. @lolodomo I don't have merge rights so if your happy making these changes please do so and thanks for the mention.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* [ipcamera] Fix multiple part handling for Dahua events * [ipcamera] Call processSettings only when data contains no boundary Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
* [ipcamera] Fix multiple part handling for Dahua events * [ipcamera] Call processSettings only when data contains no boundary Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
* [ipcamera] Fix multiple part handling for Dahua events * [ipcamera] Call processSettings only when data contains no boundary Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au> Signed-off-by: Andras Uhrin <andras.uhrin@gmail.com>
* [ipcamera] Fix multiple part handling for Dahua events * [ipcamera] Call processSettings only when data contains no boundary Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
* [ipcamera] Fix multiple part handling for Dahua events * [ipcamera] Call processSettings only when data contains no boundary Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
Sometimes the data received by channelRead contains multiple parts. This PR splits them up and processes all the parts.
Resolve #11391 - this issue was mentioned in #11391 (comment)