mirror of https://bitbucket.org/ausocean/av.git
Debugging
This commit is contained in:
parent
4fbb7d8251
commit
770dfd5154
|
@ -205,6 +205,7 @@ func (r *revidInst) Start() {
|
||||||
r.ErrOut("Reading camera data!")
|
r.ErrOut("Reading camera data!")
|
||||||
for r.isRunning {
|
for r.isRunning {
|
||||||
h264Data = make([]byte, 1)
|
h264Data = make([]byte, 1)
|
||||||
|
r.ErrOut("about to read")
|
||||||
_, err := io.ReadFull(inputReader, h264Data)
|
_, err := io.ReadFull(inputReader, h264Data)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
if err.Error() == "EOF" {
|
if err.Error() == "EOF" {
|
||||||
|
|
Loading…
Reference in New Issue