Skip to content

Error: node_modules/twilio-video/tsdef/VideoProcessor.d.ts:2:34 - error TS2304: Cannot find name 'OffscreenCanvas'. #1629

Open
@jrayga

Description

@jrayga
  • [✔️] I have verified that the issue occurs with the latest twilio-video.js release and is not marked as a known issue in the CHANGELOG.md.
  • [✔️] I reviewed the Common Issues and open GitHub issues and verified that this report represents a potentially new issue.
  • [✔️] I verified that the Quickstart application works in my environment.
  • [✔️] I am not sharing any Personally Identifiable Information (PII)
    or sensitive account information (API keys, credentials, etc.) when reporting this issue.

Code to reproduce the issue:

![image](https://user-images.githubusercontent.com/38303930/140604855-61a5c7e2-6dcb-4536-86d9-9ad6bed29c93.png)

Error: node_modules/twilio-video/tsdef/VideoProcessor.d.ts:2:34 - error TS2304: Cannot find name 'OffscreenCanvas'.
2   processFrame(inputFrameBuffer: OffscreenCanvas, outputFrameBuffer: HTMLCanvasElement): Promise<void> | void;

Expected behavior:

Complete the ng build process

Actual behavior:

Build failing because of the error.

Software versions:

  • [✔️] Browser(s): Chrome
  • [✔️] Operating System: Windows 11
  • [✔️] twilio-video.js: 2.18.1
  • [✔️] Third-party libraries (e.g., Angular, React, etc.): Angular 13

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions