Commit Graph

1448 Commits

Author SHA1 Message Date
casey langen
8a04959d6b Fixed TranscodingDataStream to continue transcoding after an explicit
Close() for about 100k worth of data. This should generally be enough to
finish off any rounding errors caused by calculating Content-Length.
2017-06-13 09:34:25 -07:00
casey langen
6ce475b9ac - Fixed race condition in WebSocketService when handling intercepted messages after a disconnect.
- Changed the way errors are handled so they are, in general, treated as non-fatals.
- Fixed a bug in the offline track interceptor that would erroneously intercept requests it shouldn't
2017-06-13 00:43:00 -07:00
casey langen
3bce961cb5 First chunk of work required to support offline playback. 2017-06-12 21:31:09 -07:00
casey langen
5222418123 Added missing "track_num" metadata to track resource. 2017-06-12 20:03:39 -07:00
casey langen
2852648c5b Fixed single instance checks to run much earlier, so we don't initialize
anything (library, output devices, indexer, etc) if we haveh to die
immediately.
2017-06-12 10:31:06 -07:00
casey langen
8344255b18 Ensure se free shcore.dll after loading it dynamically to ensure dpi
scaling is properly configured.
2017-06-11 22:58:43 -07:00
casey langen
aad227681d Correctly set "dpi awarness" in win32, making the app automatically
scale properly for high dpi displays.
2017-06-11 21:54:23 -07:00
casey langen
2e2ee29cbb A couple changes to support "single instance" mode in win32. 2017-06-09 15:24:58 -07:00
casey langen
a60f33fa19 Converted PlayerWrapper, MediaPlayerWrapper, ExoPlayerWrapper to Kotlin
to mess around. The rest of the project will probably follow over the
next few weeks.
2017-06-07 20:35:03 -07:00
casey langen
1e93ab2162 Fixed some comments in TranscodingDataStream. 2017-06-07 20:34:49 -07:00
casey langen
0dcee7291a Upgraded to boost 1.64.0 final (from beta2). 2017-06-07 19:52:50 -07:00
casey langen
8a20cede48 Upgraded to Android Studio 3, Canary 3. 2017-06-05 17:45:43 -07:00
casey langen
c4486b3158 Updated pause/blink style. 2017-06-05 17:45:29 -07:00
casey langen
09fb5f1f4b Added Stetho for easy Android debugging. Updated videocache aar. Added a
check to ensure range header is well formed (to > from).
2017-06-05 00:14:28 -07:00
casey langen
b2906e94c7 Version bump for upcoming release. 2017-06-04 19:12:25 -07:00
casey langen
6634db9ae0 Blink current time when paused, like old CD players used to. 2017-06-04 19:01:58 -07:00
casey langen
c5d88afd1c - Added buffering indicator in seekbar for transcoding streams; disallow
seeks past what's been buffered.
- Unified position of buffering indicator in MainMetadataView. Removed
  fades, they were super subtle and causing layout issues.
- Don't show the volume% unless we're in remoting mote
2017-06-04 12:00:44 -07:00
casey langen
3051ebf813 - Upgraded AndroidVideoCache to a custom build that fixes bugs related
to seeking while streaming when the backend returns an HTTP 200
  instead of a 206 (i.e. ignores a range request)
- Removed Vol+, Vol-, Seek>, and <Seek buttons in favor of current and
  total time controls with a seekbar.
- Removed LongPressTextView
- Added Snackbar notifications when switching streaming modes
2017-06-04 00:23:39 -07:00
casey langen
a613022209 Deliberately under-estimate the response length for the on-demand
transcoder. HTTP clients in the wild seem to, in general, get more
cranky when we over-estimate and close the stream too early.
2017-06-04 00:23:39 -07:00
casey langen
f48e321527 Added HttpServer runtime logging. Disabled by default. 2017-06-04 00:23:39 -07:00
casey langen
a1a343bda3 Create README.md 2017-06-03 13:47:25 -07:00
casey langen
29eabab4c6 Added a quick toggle for remote/streaming playback mode selection. 2017-06-03 13:46:32 -07:00
casey langen
5999ba3962 SDK version bump. Again. Hopefully the interfaces will be stable soon. 2017-06-03 13:46:03 -07:00
casey langen
629f8cb4a7 Android client updates that support displaying time (including syncing
and extrapolating from server timestamps)
2017-06-03 01:32:05 -07:00
casey langen
d7cbec1058 Added notification from server -> client if playback time is changed by
the user.
2017-06-03 01:31:14 -07:00
casey langen
a40fea7b21 Improved filename generation in the stream proxy and a couple other
minor fixes.
2017-06-02 21:50:04 -07:00
Casey Langen
45a81cb138 * Added a distinction between SystemService sleeping (no wakelock, but appears
active) and shutdown (no notification or lockscreen controls).
* Fixed bug where recovering from an HTTP error would cause the track to reset
  playback at the beginning
2017-05-31 14:12:22 -07:00
casey langen
ab11376356 Experimental changes that use AndroidVideoCache library as a local
streaming proxy -- it, in theory, controls caching and retries better
than OkHttp.
2017-05-31 01:00:58 -07:00
casey langen
a5b7ab5107 Added a bit of missing error handling to StreamingPlaybackService.
Surprising this hasn't caused problems yet.
2017-05-29 20:04:00 -07:00
casey langen
2d0978a3de Update README.md 2017-05-29 17:34:56 -07:00
Casey Langen
1a0361ed03 Added CMakeToolsHelpers as an OPTIONAL dependency in the main build file. This
allows for easy debugging in vscode environments.
2017-05-29 16:37:19 -07:00
casey langen
d75367b795 Update README.md 2017-05-29 14:42:42 -07:00
casey langen
d83dade88a Update README.md 2017-05-29 14:42:06 -07:00
casey langen
92d605e933 Cleaned up ServerOverlay UI to use new TextInput::StyleLine mode, and
also include additional transcoder settings.
2017-05-29 14:34:36 -07:00
casey langen
dfe8dc9693 Fixed Transcoder to behave properly (not cache files) if the file cache
size is set to zero.
2017-05-29 14:32:16 -07:00
casey langen
a282d71766 Fixed bug in TextInput where the display could get out of whack if the
string entered by the user is larger than the content width. Also added
StyleBox and StyleLine drawing modes.
2017-05-29 14:06:08 -07:00
casey langen
133f69e93b Fixed a bug where pruning the transcoder data cache could get stuck in
an infinite loop.
2017-05-29 07:33:04 -07:00
casey langen
a42532136f A couple crasher fixes that were hiding behind the inability to
hot-restart the websocket server on the backend.
2017-05-29 02:28:43 -07:00
casey langen
2140a9bc3e Version bump and CHANGELOG.txt to prep for release 2017-05-28 23:29:06 -07:00
casey langen
f3d5f0165a Unified ServerOverlay save key. 2017-05-28 23:23:10 -07:00
casey langen
f5ee491c48 Fixed .gitignore 2017-05-28 22:58:49 -07:00
casey langen
13a09cbb80 Fixed alsa, coreaudio, and pulseaudio plugins. 2017-05-28 22:30:47 -07:00
casey langen
6836af2aec - Added the ability to configure server settings in the app, as long as
the plugin is present and loaded.
- Fixed some color-related bugs in Checkbox
- Fixed some nasty bugs in Window that could cause views to be drawn
outside of parent or screen bounds, leading to curses crashes
- Added the ability for the app to get references to plugin preferences,
so it can create settings windows for them
- Fixed WebSocketServer so it can be shut down and restarted
2017-05-28 22:27:39 -07:00
casey langen
f132f778f0 Added Configurable(), Configure(), Reload() and Guid() methods to IPlugin. 2017-05-28 15:15:42 -07:00
casey langen
32f3b965e8 Fixed a bunch of missing (currently unused) responses discovered while
working on documentation.
2017-05-27 22:36:16 -07:00
casey langen
2c6dcb907f Added "minimize to tray" and "start minimized" to platforms that support
this functionality (currently only win32).
2017-05-27 13:55:12 -07:00
casey langen
025ad8825f Added client/server support for "Authorization" header in audio server. 2017-05-26 19:16:46 -07:00
casey langen
f3829564ca Renamed "contrib" to "plugins". 2017-05-22 17:10:35 -07:00
casey langen
24bf49408d More gracefully recover from streaming playback errors in
ExoPlayerWrapper.
2017-05-21 23:43:58 -07:00
casey langen
ba62116a16 Added downmuxing support to TranscodingDataStream for audio streams with
> 2 channels. Also added support for mono.
2017-05-21 23:10:33 -07:00