Skip to content

Can't get example to work #23

@ras07

Description

@ras07

When trying out the first example in README.md, as follows:

while true; do
    for file in *.jpg; do
        cat $file
        echo -n "--separator--"
        sleep 0.5
    done
done | streameye -s "--separator--"

my browser displays one image, but then nothing changes. In the command window I get:

2020-03-29 22:58:28: INFO : streamEye 0.9
2020-03-29 22:58:28: INFO : hello!
2020-03-29 22:58:28: INFO : listening on 0.0.0.0:8080
2020-03-29 22:58:31: INFO : new client connection from 192.168.1.12:59747
2020-03-29 22:58:32: INFO : new client connection from 192.168.1.12:59748
2020-03-29 22:58:42: ERROR: 192.168.1.12:59748: timeout reading from client
2020-03-29 22:58:42: ERROR: 192.168.1.12:59748: failed to read client request

I get the same results on both Raspbian Buster and a VM running Ubuntu 18.04 (x64). Any suggestions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions