Skip to content

Modifying read-only buffer error #4

Description

@nguyentando

I use the sample in your repository (https://github.com/OnlyInAmerica/FFmpegTest) to test muxing by ffmpeg, but it's always get exception.
The reason is you modify output buffer of the video encoder in HLSRecorder.drainEncoder(), which is a read-only buffer.

Can you tell me what I have to change to make it work?

Thank you very much!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions