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

InvalidStateError: Failed to execute 'appendBuffer' on 'SourceBuffer': This SourceBuffer has been removed from the parent media source ### Details #7999

Closed
bodhish opened this issue Jun 7, 2024 · 1 comment · Fixed by #8140
Assignees

Comments

@bodhish
Copy link
Member

bodhish commented Jun 7, 2024

Error: SourceBuffer Removal

Error Description

InvalidStateError: This error occurs when trying to execute appendBuffer on a SourceBuffer that has been removed from the parent media source. It happens in the useMSEplayer hook.

Steps to Reproduce

  1. User navigates to the patient consultation feed page.
  2. Media playback starts using useMSEplayer.
  3. Error occurs during buffer append operation.

Stacktrace

ws.onmessage (src/Common/hooks/useMSEplayer) at ../../src/Common/hooks/useMSEplayer.ts:172:17
readPacket at ../../src/Common/hooks/useMSEplayer.ts:131:18
pushPacket at ../../src/Common/hooks/useMSEplayer.ts:109:25

Additional Information
The error seems to be related to media streaming in the useMSEplayer hook.

Copy link

Hi, @coronasafe/care-frontend-maintainers, This issue has been automatically marked as stale because it has not had any recent activity.

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

Successfully merging a pull request may close this issue.

2 participants