Well, you could also try switching the socket stream class Zn uses to the old one:
ZnNetworkingUtils default socketStreamClass: SocketStream. This is a global setting affecting all Zn operations. And then move the #limit: back in. > On 4 Jul 2018, at 16:22, Cédrick Béler <[email protected]> wrote: > > I changed to #upTo: > > > I have no more DNU, but no streaming is shown beside the test image (I think > it comes from MJpeg). > > Testing on a public URL gives the same result… (webcam.st-malo.com). > > <PastedGraphic-7.png> > > I’ll try more (I’CCed the orignal author). > > Thx Sven, > > > Cédrick > > > > <Mjpeg.st> > > > > >> Le 4 juil. 2018 à 16:03, Sven Van Caekenberghe <[email protected]> a écrit : >> >> That is old. I vaguely remember running that, it did work at the time. >> >> Indeed #upToAll:limit: is SocketStream specific. >> >> I guess you could just (try to) remove the #limit: part, it is just a kind >> of safety measure to stop when the boundary is not found (as the stream is >> unlimited). >> >>> On 4 Jul 2018, at 15:54, Cédrick Béler <[email protected]> wrote: >>> >>> Hi, >>> >>> I’m trying to get a video stream in Pharo from a Pi video stream using this >>> lib on the. Pi (https://github.com/jacksonliam/mjpg-streamer) >>> >>> Then I found this library on Pharo (from 2013). >>> https://www.min.at/prinz/?entry=entry130413-020021 >>> http://www.min.at/prinz/repo/mjpeg >>> >>> I had to change a method relative to Annoucment. #on:do: => #when:do: >>> >>> Now I have a problem in Pharo 7 (same in Pharo 6) with >>> ZdcSocketStream>>upToAll:limit: (see pic) >>> >>> >>> >>> <PastedGraphic-6.png> >>> >>> >>> >>> TIA, >>> >>> Cédrick >>> >> >> >
