David Ventura
6b28e91b9a
parse swver & remove uN_swap
2024-05-07 11:30:04 +02:00
David Ventura
0db9cfd198
tolerate cut off packets & fix wifilist parsing
2024-05-06 16:52:46 +02:00
David Ventura
5060a4d044
change loglevel
2024-05-06 15:23:59 +02:00
David Ventura
f065fbca9a
handle close message
2024-05-06 09:25:58 +02:00
David Ventura
760dbc5820
Fix #17 . Support cameras with short prefixes
2024-05-05 18:07:34 +02:00
David Ventura
d5d4161dd8
implement settings support
2024-05-05 17:39:52 +02:00
David Ventura
c81d7d4182
ignore Drw data packets that are too short to be valid
2024-05-03 18:10:42 +02:00
David Ventura
d7d3b91528
add debug message on corrupt frames
2024-05-03 15:57:23 +02:00
David Ventura
204677ceae
implement simple retransmission scheme
2024-05-03 12:35:29 +02:00
David Ventura
6bed63b61f
tolerate empty answers from listwifi
2024-05-03 11:45:57 +02:00
David Ventura
2a3d047f48
add logging on unhandled command acks
2024-05-03 11:38:55 +02:00
David Ventura
f29206a1e1
fix comments
2024-05-03 11:18:31 +02:00
David Ventura
3d003be371
update logic to consider the JPEG type stream, still consider all untagged data as JPEG
2024-05-02 22:38:01 +02:00
David Ventura
68fe0fb798
warn on unhandled stream packets
2024-05-02 13:18:15 +02:00
David Ventura
9654dc2841
implement logging properly
2024-05-01 13:06:27 +02:00
David Ventura
5bb0038d9b
send P2PAlive immediately after P2pRdy
2024-04-30 23:16:24 +02:00
Adriano Cunha
690c1b4146
More features in the HTTP server ( #16 )
...
* Added more features to HTTP server
* Added a title to the multi-camera view page.
* Support naming cameras through a simple mapping using a text file.
* Updated some logging messages to be more verbose (and match those in pair.ts).
* Confirmed the charging status and battery level values reported back by DevStatusAck.
* Log camera status (charging, battery, Wifi strength) when connected.
* More updates to HTTP server
* Deal with Web Audio autoplay policy by starting camera on mute and adding a button to toggle the audio stream.
* Add a favicon so the server tan can be easily spotted.
The favicon file is a 48x48 32bpp ICO file, gzipped.
* Update README.md
* Describe flags and enable camera audio by default.
* Update audio button based on state change
* Update description of discovery_ip in bin.ts
* Update session start message in http_server.ts
* Update README.md
Update flags and note about --discovery_ip.
2024-04-30 16:18:10 +02:00
Adriano Cunha
31baea2415
Trigger debug output in handlers.ts according to --debug
2024-04-26 08:42:42 -07:00
DavidVentura
75f559a3ce
consider the packet sequence in audio frames, as they are shared with jpeg frames
2024-02-02 12:06:16 +01:00
DavidVentura
25ae4fa72e
attempt to re-stitch together JPEGs at the recovery markers upon dataloss
2024-02-01 17:56:27 +01:00
DavidVentura
2f2b6d302a
refactor curimage into a slice of buffers & pass options via session
2024-02-01 17:56:08 +01:00
DavidVentura
7d2160f07f
support multiple streams concurrently
2024-01-31 18:06:52 +01:00
DavidVentura
33e7aeaacc
cleanup punchpkt
2024-01-31 16:13:20 +01:00
DavidVentura
c12c432e71
refactor for multiple sessions
2024-01-31 16:11:22 +01:00
DavidVentura
89534822ab
more refactor
2024-01-31 14:30:30 +01:00
DavidVentura
98800d97bf
rename
2024-01-31 12:16:10 +01:00
DavidVentura
c5764b71a6
handle duplicate/missing packets when dealing with frames
2024-01-30 13:43:09 +01:00
DavidVentura
b9b37c803d
cleanup handlers
2024-01-30 11:36:42 +01:00
DavidVentura
3d5d250807
refactor
2024-01-29 16:31:56 +01:00
DavidVentura
1cfe82ee7a
pass rinfo around
2024-01-29 11:38:23 +01:00
DavidVentura
323d82eaaf
handle DevStatusAck and print a message
2024-01-28 20:16:31 +01:00
DavidVentura
be42eb5b5d
emit connection event
2024-01-27 21:27:12 +01:00
DavidVentura
b6cac2d133
add audio support
2024-01-27 16:24:35 +01:00
DavidVentura
d6ec9890c9
emit frames and let the server deal with them
2024-01-27 13:58:04 +01:00
DavidVentura
88ac1107f5
move ticket to session
2024-01-27 13:43:01 +01:00
DavidVentura
342ee29191
move some state to session
2024-01-27 13:27:28 +01:00
DavidVentura
130c0c7f7e
refactor a bit more
2024-01-26 17:36:06 +01:00
DavidVentura
2e1d761e28
refactor code
2024-01-26 17:21:38 +01:00