I'm submitting a ...
[x] bug report
[ ] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project
Summary
There might be a possible bug where the messages can be inconsistent, when a message is split over multiple message-packets, and ending/beginning with whitespace. The theory is that the whitespace might be trimmed away if it happens to be at the very end/beginning of a packet.
I'm submitting a ... [x] bug report [ ] feature request [ ] question about the decisions made in the repository [ ] question about how to use this project
Summary There might be a possible bug where the messages can be inconsistent, when a message is split over multiple message-packets, and ending/beginning with whitespace. The theory is that the whitespace might be trimmed away if it happens to be at the very end/beginning of a packet.
Possibly issue might be here: https://github.com/nrkno/tv-automation-mos-connection/blob/master/src/connection/mosSocketClient.ts#L333
(idea originally suggested by @baltedewit )