Skip to content

Stream from one desktop session can bleed over to the other one in Connect #55554

Open
@gzdunek

Description

@gzdunek
441237303-82f0074b-5c58-4395-aedc-dc730e63b0e1.mov

This issue likely occurs because the WebAssembly (WASM) code in IronRDP assumes that only a single instance of it exists within the application. While the frame decoding logic (FastPathProcessor) is instantiated separately for each JS client, it relies on global variables defined in the generated code (web/packages/shared/libs/ironrdp/pkg/ironrdp.js). As a result, when the WASM module receives frames from multiple sessions, it may start mixing them together due to shared global state.

Verify whether this assumption is correct. If it is, try to adjust the WASM output to eliminate any global state (maybe wasm-pack allows it?)

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions