Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CaptureFrame method fails on Firefox and Safari using LiveKit #599

Open
youshail opened this issue Oct 3, 2024 · 0 comments
Open

CaptureFrame method fails on Firefox and Safari using LiveKit #599

youshail opened this issue Oct 3, 2024 · 0 comments

Comments

@youshail
Copy link

youshail commented Oct 3, 2024

I am using LiveKit with WebRTC, and the captureFrame method works as expected on Android APP and web browsers like Chrome, Edge, and Opera. However, it fails on Firefox and Safari with the following exception:

print('- START - captureFrame ');
final ByteBuffer frame = await mediaStreamTrack.captureFrame();

ERROR - Exception caught: Error: undefined is not a constructor (evaluating 'new constr($arguments[0])')

macOS Sonoma 14.4.1

  • Flutter version: 3.19.6 (stable)
  • DART version: 3.3.4
  • Plugin version: 2.2.4
  • Flutter WebRTC version: 0.11.6+hotfix.1
  • OS: Desktop
  • OS version: macOS Sonoma 14.4.1
  • Safari version: 17.4.1 (19618.1.15.11.14)
  • Firefox version: 131.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant