roblan / shairport-sync-reader

shairport-sync metadata reader for nodejs
MIT License
11 stars 7 forks source link

bug fixes to make images more reliable when reading from the web socket #7

Closed TrentinPriebe closed 5 years ago

TrentinPriebe commented 5 years ago

Changes to fix an issue I was having with getting image information reliably using the udp reader. Image data chunks where not all being received with the same timestamp so many images did not raise a 'PICT' event. I changed it to use a flag instead. This has improved the behavior and PICT events are reliably raised now when reading from the web socket.

roblan commented 5 years ago

I was convinced that timestamp should be the same in all image chunks. Thanks :)