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

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

Open
ngoluuduythai opened this issue Sep 1, 2020 · 0 comments

Comments

@ngoluuduythai
Copy link

ngoluuduythai commented Sep 1, 2020

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);
});
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

No branches or pull requests

1 participant