Property 'localParticipant' is private and only accessible within class 'Stage'.ts
Opened this issue · 0 comments
mattvick commented
Many thanks for this helpful and clearly written demo repo! 💯🥇
When using Typescript I'm seeing the following error:
Property 'localParticipant' is private and only accessible within class 'Stage'.ts(2341)
localParticipant
, which is a private member of Stage
, is being accessed in hello-world/client/src/app/utils/mediaDevices.js
on line 52.
src/stage/v2/stage.d.ts
/**
* A class impementing the Stages SDK
*/
export declare class Stage extends TypedEmitter<StageEventMap> {
// ...
private localParticipant?;
// ...
}
Is there a planned change to the amazon-ivs-web-broadcast API, or a suggested workaround?