[TIMOB-18045] Ti.Media.Videoplayer wont stream m3u8 on Android 4.4.4
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Not Our Bug |
Resolution Date | 2014-11-18T00:00:19.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Android |
Labels | n/a |
Reporter | Seth Toda |
Assignee | Ingo Muschenetz |
Created | 2014-11-17T23:54:09.000+0000 |
Updated | 2017-03-16T22:56:18.000+0000 |
Description
There seems to be a bug with streaming video using Ti.Media.VideoPlayer on Android 4.4.4.
Tested on:
Samsung S5 4.4.4: Fail
Samsung S5 4.4.2: Pass
Nexus 5 4.4.4: Fail
Nexus 5 4.4.2: Pass
Nexus 4 4.4.4: Fail
Expected behavior
Full screen player streams m3u8 videoActual behavior
Blank screen accompanied with the following logs
[DEBUG] : OpenGLRenderer: Enabling debug mode 0
[DEBUG] : Window: Checkpoint: postWindowCreated()
[DEBUG] : MediaPlayer: Couldn't open file on client side, trying server side
[WARN] : AudioSystem: AudioFlinger server died!
[WARN] : IMediaDeathNotifier: media server died
[ERROR] : MediaPlayer: error (100, 0)
[INFO] : ServiceManager: Waiting for service media.audio_flinger...
[DEBUG] : MediaPlayer: Couldn't open file on client side, trying server side
[WARN] : MediaPlayer: mediaplayer went away with unhandled events
[WARN] : AudioSystem: AudioFlinger server died!
[WARN] : IMediaDeathNotifier: media server died
[ERROR] : MediaPlayer: error (100, 0)
[ERROR] : MediaPlayer: Error (100,0)
[DEBUG] : TiVideoView8: (main) [33134,33134] Error: 100,0
Code to reproduce
index.xml
<Alloy>
<Window id="win" class="container" >
<VideoPlayer id="vid"></VideoPlayer>
</Window>
</Alloy>
index.js
$.win.open();
function play(){
// added delay to rule out possibility of timing issue (like trying to play the video before the url is set)
setTimeout(function(){
$.vid.play();
},3000);
};
play();
index.tss
"#vid" : {
width : Ti.UI.FILL,
height : Ti.UI.FILL,
entering : false,
fullscreen : false,
touchEnabled : true,
bubbleParent : false,
autoplay : false,
backgroundColor : "#000",
scalingMode : Titanium.Media.VIDEO_SCALING_ASPECT_FIT,
mediaControlStyle : Titanium.Media.VIDEO_CONTROL_NONE,
zIndex : 1,
url:"http://d3jr0h7offc3h1.cloudfront.net/api/Useek_Jack_Sarrow_March_15/Useek_Jack_Sarrow_March_15_master.m3u8"
}
This appears to be a Google issue. Please see https://code.google.com/p/android/issues/detail?id=72875 There is no current ETA for a fix.
Thanks [~ingo]!
Closing ticket as this issue is not our bug.