I published the small changes on Richard repo. Cheers, Cédrick
Le 4 juil. 2018 à 16:30, Cédrick Béler <cdrick65@gmail.com> a écrit :
Worked like a charm ;)
<PastedGraphic-8.png>
Still some windows problem I guess: blue line. But cool :)
Any idea on how to get ZdcSocketStream work instead ?
Thnaks,
Cédrick
Le 4 juil. 2018 à 16:26, Sven Van Caekenberghe <sven@stfx.eu <mailto:sven@stfx.eu>> a écrit :
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 <cdrick65@gmail.com <mailto:cdrick65@gmail.com>> 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 <http://webcam.st-malo.com/>).
<PastedGraphic-7.png>
Iâll try more (IâCCed the orignal author).
Thx Sven,
Cédrick
<Mjpeg.st <http://mjpeg.st/>>
Le 4 juil. 2018 à 16:03, Sven Van Caekenberghe <sven@stfx.eu <mailto:sven@stfx.eu>> 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 <cdrick65@gmail.com <mailto:cdrick65@gmail.com>> 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 <https://github.com/jacksonliam/mjpg-streamer>)
Then I found this library on Pharo (from 2013). https://www.min.at/prinz/?entry=entry130413-020021 <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