What's Changed
@yume-chan/adb
- Allow streams to accept both
Uint8Array
andConsumable<Uint8Array>
as inputs (doc) - Rename
AdbDaemonTransport
'sdebugSlowRead
option toreadTimeLimit
. Allow users to specify a custom timeout for read operations. It's still disabled by default. - Include unauthorized devices in
AdbServerClient#getDevices()
andAdbServerClient#trackDevices()
. You need to filter them out if you don't need them (doc) - Add more methods to
AdbServerClient
- Group
AdbServerClient
-relating types into namespace. In future, more types will be moved to namespaces. - Fix
Adb#reverse#list()
returning an extra empty object. - Fix reverse tunnel handler not invoked.
- Fix too many event listener warning in Node.js.
@yume-chan/adb-scrcpy
- Rename
AdbScrcpyClient#controlMessageWriter
tocontroller
- Remove
AdbScrcpyClient#deviceMessageStream
. UseScrcpyOptions#clipboard
to watch clipboard changes (doc) - Allow
AdbScrcpyClient#pushServer
to acceptReadableStream<Uint8Array>
as input - Add AV1 video size parsing support
- Loosen type parameter constraints on
AdbScrcpyOptionsX_XX
classes, allow them to accept more option types
@yume-chan/android-bin
- Allow streams to accept both
Uint8Array
andConsumable<Uint8Array>
as inputs (doc) - Add all supported fields to
DumpSys.Battery.Info
@yume-chan/pcm-player
- Expose
outputLatency
fromAudioContext
@yume-chan/scrcpy
- Add AV1 metadata parser
Av1
- Move clipboard stream to
ScrcpyOptions#clipboard
(doc) - Make
ScrcpyControlMessageWriter#setClipboard
wait for the clipboard to be updated on device (whensequence
is not 0) - Add options class for version 2.3
@yume-chan/scrcpy-decoder-tinyh264
- Fix worker constructor parameters
- Rename
frameRendered
andframeSkipped
toframesRendered
andframesSkipped
@yume-chan/scrcpy-decoder-webcodecs
- Support decoding AV1
- Add
enableCapture
option toWebCodecsVideoDecoder
which allowsrenderer.readPixels
andrenderer.toDataURL
to work. The performance will be slightly affected when enabled.
@yume-chan/stream-extra
- Add
MaybeConsumable
type. It's also a namespace containing related types. - Re-export global
TextDecoderStream
to replaceDecodeUtf8Stream
which doesn't work correctly in stream mode - Move
Consumable
related types to theConsumable
namespace. In future, more types will be moved to namespaces.
@yume-chan/struct
- Rename some internal types to make them more distinguishable
@yume-chan/dataview-bigint-polyfill
This package has been removed, as all modern browsers now supports bigint in DataView natively.
Its code is moved to https://github.com/yume-chan/dataview-bigint-polyfill.
To reduce allocating DataView
s for small ArrayBuffer
s, a new package @yume-chan/no-data-view
was added.
Full Changelog: v0.0.23...v0.0.24
Note: Rush, the monorepo management tool used by this repository, only works in Git clones. Instead of downloading the attached source code tarball in this release, you must clone this repository and checkout the corresponding tag.