Skip to content

不禁用音频视频流貌似都只能接受一帧数据,因为音频流没有处理导致视频流阻塞了么 #3

@ojo909023661

Description

@ojo909023661
            const options = new AdbScrcpyOptionsLatest(
                new ScrcpyOptionsLatest({
                    maxSize: proContent?.['device-plugin']?.height ?? this.settings.maxSize,
                    videoBitRate: proContent?.['device-plugin']?.bitRate ?? this.settings.bitRate,
                    videoCodec: this.settings.decoder,
                    maxFps: proContent?.['device-plugin']?.fps ?? this.settings.maxFPS,
                    lockVideoOrientation: this.settings.lockVideoOrientation,
                    displayId: this.settings.displayId,
                    powerOn: true,
                    audio: true, // 不禁用音频
                    logLevel: ScrcpyLogLevel.Debug,
                    scid: ScrcpyInstanceId.random(),
                    sendDeviceMeta: false,
                    sendDummyByte: false,
                    videoCodecOptions,
                })
            );

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions