mirror of
https://github.com/yume-chan/ya-webadb.git
synced 2025-10-03 17:59:50 +02:00
fix: fix build error
This commit is contained in:
parent
ae42638b8b
commit
559a5fa13a
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ export class AdbScrcpyVideoStream implements ScrcpyVideoSize {
|
||||||
.pipeThrough(this.#options.createMediaStreamTransformer())
|
.pipeThrough(this.#options.createMediaStreamTransformer())
|
||||||
.pipeThrough(
|
.pipeThrough(
|
||||||
new InspectStream(
|
new InspectStream(
|
||||||
(packet) => {
|
(packet): undefined => {
|
||||||
if (packet.type === "configuration") {
|
if (packet.type === "configuration") {
|
||||||
switch (this.#metadata.codec) {
|
switch (this.#metadata.codec) {
|
||||||
case ScrcpyVideoCodecId.H264:
|
case ScrcpyVideoCodecId.H264:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue