Skip to content

simple live test does not work #100

@limbo127

Description

@limbo127

Describe the bug
simple live test does not work ( from main git)
./termbacktime live not work as expected

Loaded config: /home/xxx/.termbacktime.json

A new version of termbacktime is available: v1.0.0-rc.8 (current 0.0.0)

Access granted: [turn:turn.termbackti.me:5349]
Username: 1644943633-2405a3b0-64ff-4cdf-8fdc-293b37089bc8
Password: Q3e4D225CwQ41NX5OTvlaqq4HaU=

Live playback: https://xterm.live/tbt:f728062c-68ff-490a-b3ef-a7b0dba8a5f5
Waiting for connection; timeout in 106 seconds... Connected.

To Reproduce
./termbacktime live not work as expected

Loaded config: /home/xxx/.termbacktime.json

A new version of termbacktime is available: v1.0.0-rc.8 (current 0.0.0)

Access granted: [turn:turn.termbackti.me:5349]
Username: 1644943633-2405a3b0-64ff-4cdf-8fdc-293b37089bc8
Password: Q3e4D225CwQ41NX5OTvlaqq4HaU=

Live playback: https://xterm.live/tbt:f728062c-68ff-490a-b3ef-a7b0dba8a5f5
Waiting for connection; timeout in 106 seconds... Connected.

then connect from firefox on https://xterm.live/tbt:f728062c-68ff-490a-b3ef-a7b0dba8a5f5

=>
Error: unexpected EOF

panic: close of closed channel

goroutine 97 [running]:
louist.dev/termbacktime/cmd.glob..func4.7()
/tmp/termbacktime/cmd/live.go:229 +0x6ce
created by louist.dev/termbacktime/cmd.glob..func4
/tmp/termbacktime/cmd/live.go:223 +0x1fa5

***$ ./termbacktime -v
termbacktime - https://termbackti.me/ - version=0.0.0 revision=0000000 (go1.17)
uname -a
Linux localhost.localdomain 5.15.7-200.fc35.x86_64 #1 SMP Wed Dec 8 19:00:47 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions