You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix local file server: MIME types, reliable Range seeks, registry bound (#5)
- Serve correct MIME types by file extension instead of always
application/octet-stream (some TVs reject or mis-handle unknown types)
- Loop InputStream.skip until the requested Range offset is reached;
skip() may under-skip, which started the stream at the wrong position
and corrupted seeked playback
- Bound the token registry (LRU, 64 entries): every cast mints a new
token and the unbounded map leaked entries for the process lifetime
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
19
19
-**`search()` semantics**: returns the complete device list after the timeout instead of resolving as soon as the first device responds
20
20
-**Progress interpolation**: only advances while the transport state is `PLAYING` (previously any media with a known duration was treated as playing)
21
21
-**Cache isolation**: switching devices drops all cached volume/progress state; casting new media on the same device resets the progress cache
22
+
-**Local file server**: serve correct MIME types by file extension (some TVs reject `application/octet-stream`) and skip reliably to the requested Range offset (`InputStream.skip` may under-skip, corrupting seeked streams); bound the token registry (LRU, 64 entries) so repeated casts no longer leak entries
22
23
23
24
### 🔧 Changed
24
25
-`DeviceDescriptionParser` is now `internal` (was accidentally public)
0 commit comments