-
Notifications
You must be signed in to change notification settings - Fork 6k
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
seekTo is not working with SimpleExoPlayer #2061
Comments
Please provide the URLs you're trying to play and we will take a look. (Note that we don't support seeking in some container formats.) |
HI, "file:///storage/emulated/0/IPTV/arynews_20160915_2046_155.ts" |
can you please give me solution as soon as possible because I am stuck here. |
We don't support seeking in MPEG-TS. You will need to use a different format if you require seeking (see the linked page in my previous comment). See #966 for some more background on this. |
How's it possible? Please give me solution its very important. Thanks. |
Please read #966 for an explanation of why we support seeking with HLS and not plain MPEG-TS. |
Hi,
MediaSource[] mediaSources = new MediaSource[3];
mediaSources[0] = buildMediaSource(Uri.parse(PlayUrl), null);
mediaSources[1] = buildMediaSource(Uri.parse(PlayUrl1), null);
mediaSources[2] = buildMediaSource(Uri.parse(PlayUrl2), null);
ConcatenatingMediaSource concatenatedSource =
new ConcatenatingMediaSource(mediaSources[0], mediaSources[1], mediaSources[2]);
player.seekTo(0, 30000);
or
player.seekTo(30000);
It will start from begining not the seek time.
Can you please help me for this problem.
Thanks in advance.
Please search the existing issues before filing a new one, including issues that
are closed. When filing a new issue please include all of the following, unless
you're certain that they're not useful for the particular issue being reported.
demo app.
publicly, please submit the issue, then email the link to
[email protected] including the issue number in the subject line.
and how easily it reproduces. If possible, please test on multiple devices and
Android versions.
file. A bug report can be captured using "adb bugreport". Output from "adb
logcat" or a log snippet is not sufficient.
The text was updated successfully, but these errors were encountered: