Skip to content

I run the project with M3U8VideoTSMuxer, but I got invalid ts file #1

@ngoluuduythai

Description

@ngoluuduythai

I run the project with M3U8VideoTSMuxer, but I got an invalid ts file. I not yet known the reason.

this.m3U8VideoTSMuxer = new M3U8VideoTSMuxer(requiredSeconds, this.getSdpElementParser().getAudioElementSpecific(), (index, time, bytes) -> {
            String path = "playlist/" + streamId + "/video" + index + ".ts";
            fileStorage.store(path, bytes, true);
            fileStorage.append(streamId, MediaType.VIDEO, getMediaSegment(time, path));
            notifier.accept(MediaType.VIDEO, time, path);
});

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