Skip to content

SourceBuffer remove issue #140

@ngkevin327

Description

@ngkevin327

Hello,
I am using jmuxer to play h264 stream. I don't need to store frames' history. That is, I only need to play current frame of the stream. And in the h264 stream I am playing, only the first frame is the key frame. All the other frames are p frames.
After playing a min, the video play stops because of QuotaExceededError. So, I called SourceBuffer.remove() function to remove the buffered data.
But the video does never play after calling the remove function. So, my questions are:

  • What is the best solution to play only the current frame of h264 stream using jmuxer?
  • When and how should I call the SourceBuffer.remove function?

Thank you.

Metadata

Metadata

Assignees

No one assigned

    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