Merge pull request #112 from google/dev

dev -> dev-hls
This commit is contained in:
ojw28 2014-11-03 12:21:04 +00:00
commit f4a5cd637f
5 changed files with 8 additions and 5 deletions

View file

@ -1,4 +1,4 @@
# How to contribute #
# How to Contribute #
We'd love to hear your feedback. Please open new issues describing any bugs,
feature requests or suggestions that you have.

View file

@ -4,7 +4,7 @@
ExoPlayer is an application level media player for Android. It provides an
alternative to Androids MediaPlayer API for playing audio and video both
locally and over the internet. ExoPlayer supports features not currently
locally and over the Internet. ExoPlayer supports features not currently
supported by Androids MediaPlayer API (as of KitKat), including DASH and
SmoothStreaming adaptive playbacks, persistent caching and custom renderers.
Unlike the MediaPlayer API, ExoPlayer is easy to customize and extend, and

View file

@ -148,6 +148,9 @@ package com.google.android.exoplayer.demo;
DemoUtil.TYPE_OTHER, false, true),
new Sample("Dizzy (https->http redirect)", "uid:misc:dizzy2", "https://goo.gl/MtUDEj",
DemoUtil.TYPE_OTHER, false, true),
new Sample("Apple AAC 10s", "uid:misc:appleaacseg", "https://devimages.apple.com.edgekey.net/"
+ "streaming/examples/bipbop_4x3/gear0/fileSequence0.aac",
DemoUtil.TYPE_OTHER, false, true),
};
private Samples() {}

View file

@ -362,7 +362,7 @@ public class MediaPresentationDescriptionParser extends DefaultHandler
long presentationTimeOffset = parseLong(xpp, "presentationTimeOffset",
parent != null ? parent.presentationTimeOffset : 0);
long duration = parseLong(xpp, "duration", parent != null ? parent.duration : -1);
int startNumber = parseInt(xpp, "startNumber", parent != null ? parent.startNumber : 0);
int startNumber = parseInt(xpp, "startNumber", parent != null ? parent.startNumber : 1);
RangedUri initialization = null;
List<SegmentTimelineElement> timeline = null;
@ -406,7 +406,7 @@ public class MediaPresentationDescriptionParser extends DefaultHandler
long presentationTimeOffset = parseLong(xpp, "presentationTimeOffset",
parent != null ? parent.presentationTimeOffset : 0);
long duration = parseLong(xpp, "duration", parent != null ? parent.duration : -1);
int startNumber = parseInt(xpp, "startNumber", parent != null ? parent.startNumber : 0);
int startNumber = parseInt(xpp, "startNumber", parent != null ? parent.startNumber : 1);
UrlTemplate mediaTemplate = parseUrlTemplate(xpp, "media",
parent != null ? parent.mediaTemplate : null);
UrlTemplate initializationTemplate = parseUrlTemplate(xpp, "initialization",

View file

@ -12,4 +12,4 @@
// See the License for the specific language governing permissions and
// limitations under the License.
include ':library'
include ':demo'
include ':demo'