Commit Graph

49 Commits

Author SHA1 Message Date
hensm
484b0327f4 Switch to mdns package 2020-05-06 00:40:30 +01:00
hensm
78d8516287 Add options to switch bridge backup WebSocket server port 2020-02-26 16:31:18 +00:00
hensm
a6767d0fd2 Remove unnecessary comments 2020-02-22 02:44:12 +00:00
hensm
2eeaff4c15 Add typed messaging 2020-02-18 07:37:20 +00:00
hensm
bbfc380f4a Fix CORS header on local subtitles 2020-01-19 22:08:14 +00:00
hensm
ffb84efb47 Add local .srt subtitle support 2020-01-19 17:32:09 +00:00
hensm
9295d8ee83 Add stop action to receiver selectors 2020-01-16 00:47:38 +00:00
hensm
a23ae9efa8 Show app name in receiver selector if known based on app ID 2020-01-13 23:12:09 +00:00
hensm
d4dfdea050 TSLint compliance 2019-09-25 19:32:18 +01:00
hensm
3ca5e0888d Convert native receiver app to build with xcode 2019-09-12 12:08:34 +01:00
hensm
2050854ca7 Fix switch fallthrough causing bridge erroneous initialization 2019-09-10 21:08:14 +01:00
hensm
c1f34ffeda Add additional error/lifetime handling to bridge 2019-09-03 16:22:46 +01:00
hensm
14d3b2c833 Fix unused parameters 2019-08-16 21:12:44 +01:00
hensm
e2eca07876 Fix unused locals and better receiver selector available media checking 2019-08-16 13:07:18 +01:00
hensm
1c67354e1d TSLint compliance 2019-08-16 11:20:29 +01:00
hensm
0ca39af1d6 Handle missing volume in status messages 2019-08-16 03:20:00 +01:00
hensm
a122047676 Fix CPU usage issue with 0-interval timer (fixes #73) 2019-08-11 14:04:14 +01:00
hensm
cec5db503f Misc formatting/import changes 2019-08-05 18:04:40 +01:00
hensm
9e196465e5 Allow mediaCast sender to run in background context 2019-07-27 07:57:49 +01:00
Matt Hensman
ba8c28bf39 Restructure background script (#70)
Splits some background script functionality into separate modules:
 - Receiver selector handling is moved to ./SelectorManager.
 - Status bridge handling is moved to ./StatusManager.
 - Menu creation and updates are handled in ./createMenus.
 - Shim creation is handled in ./createShim.

TypedEventTarget allows EventTarget-derived classes to export typed events.

Options type definition is moved to ./lib/options, module assumes more responsibility for update handling and provides a "changed" event.

Private cast._requestSession method allows bypassing receiver selector.
2019-07-26 00:09:51 +01:00
hensm
9c381c763a Enable ts strict mode for app 2019-05-24 17:02:59 +01:00
Matt Hensman
474dbad1aa Add snap support (#60)
* Initial app daemon implementation

* Pass script path to child bridge processes

* Change WebSocket server port

* Fix error sending message whilst WebSocket connection is closing

* Initial ext daemon connection implementation
2019-05-15 11:30:30 +01:00
hensm
8ad20a7aea TSLint compliance 2019-05-02 06:17:31 +01:00
hensm
b44056a255 Move http media server to separate class 2019-05-02 06:17:31 +01:00
hensm
85c4d11ebf Implement initial NativeMacReceiverSelector 2019-05-02 06:17:31 +01:00
hensm
01546e81dd Add initial status bridge implementation 2019-05-02 06:17:31 +01:00
hensm
158d792ec0 Split status listener handling into class 2019-04-11 06:42:52 +01:00
hensm
82f68a1366 Optionally forward status updates from bridge to extension 2019-04-10 06:51:48 +01:00
hensm
c70c3ce7d8 Improve session message handling 2019-03-21 21:07:37 +00:00
hensm
1e49fbe9be Finish app conversion and enforce code style 2019-02-26 01:34:04 +00:00
hensm
e4dffe0cce Convert app to typescript 2019-02-25 01:00:33 +00:00
hensm
db7edb70bb Message response doesn't need to be in message format 2019-02-24 17:33:13 +00:00
hensm
ef00711f98 Rename bridge:discover to bridge:startDiscovery 2019-02-21 21:05:52 +00:00
hensm
da17c6df0d Change message subject format and rename some messages 2019-02-11 18:52:01 +00:00
hensm
1c55b67922 Restructure shim/bridge initialization steps 2019-02-10 06:31:31 +00:00
hensm
a1101d6cf6 Detect MIME type for local files 2019-01-29 17:09:46 +00:00
hensm
ef3d91a3cb Add current app to receiver popup 2019-01-23 19:32:49 +00:00
hensm
f021f54a22 Implement AirPlay device authentication 2019-01-22 16:08:52 +00:00
hensm
7286ff881b Remove old mDNS code 2018-12-22 21:48:17 +00:00
hensm
84475ce319 Replace mdns-js with dnssd 2018-12-21 21:43:01 +00:00
hensm
c24c6412c0 Add bridge debug info to options page 2018-12-11 23:11:01 +00:00
hensm
88a5c68a1b Centralize package info and do version checking between app/ext 2018-12-11 19:42:01 +00:00
hensm
d615caf30d Replace deprecated Buffer constructor usage 2018-12-11 16:24:08 +00:00
hensm
6571ed547f Refactor app, split components into separate files 2018-12-06 15:15:06 +00:00
hensm
685c9d3a45 Re-format app imports 2018-11-28 01:22:54 +00:00
hensm
267c92825c Re-write app build, created macOS installer package 2018-11-27 20:10:30 +00:00
Benjamin Dobell
131935507a Install scripts, build app with rollup & configurable mirror app id 2018-09-23 00:06:07 +10:00
hensm
0e4f47e3e5 Implement local media casting 2018-07-19 23:57:33 +01:00
hensm
d815fb7af0 Initial commit 2018-06-08 04:56:02 +01:00