Skip to content

Modifying read-only buffer error #4

@nguyentando

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!

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