Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19620] Android: On 5.0.1 AudioPlayer stream starts takes about 10 seconds

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionCannot Reproduce
Resolution Date2019-12-09T21:47:53.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid
Labelsandroid-5, audioplayer, media
ReporterFrank Eijking
AssigneeUnknown
Created2015-04-16T13:09:26.000+0000
Updated2019-12-09T21:47:53.000+0000

Description

Attachments

FileDateSize
app.js2015-04-16T13:09:26.000+00002990
Jira_ticket_log.txt2015-04-16T13:09:26.000+00002060

Comments

  1. Frank Eijking 2015-04-16

    See below LogCat logging. The *I/System.out(17336): KnoxVpnUidStorageknoxVpnSupported API value returned is false* 'action' takes about 9 seconds, before something happens again on Samsung Galaxy S4 Android 5.0.1. as said with 4.4.x no issues, same device. {panel:title=LogCat log} 04-16 15:14:39.311: D/ViewRootImpl(17336): ViewPostImeInputStage ACTION_DOWN 04-16 15:14:39.431: I/TiAPI(17336): 16/4/2015-15:14:39.442 DEBUG: audioPlayer.start() 04-16 15:14:39.441: V/MediaPlayer-JNI(17336): native_setup 04-16 15:14:39.441: V/MediaPlayer(17336): constructor 04-16 15:14:39.441: V/MediaPlayer(17336): setListener 04-16 15:14:39.441: E/ExtMediaPlayer-JNI(17336): QCMediaPlayer could not be located.... 04-16 15:14:39.441: E/MediaPlayer-JNI(17336): QCMediaPlayer mediaplayer NOT present 04-16 15:14:39.441: V/MediaPlayer(17336): getAudioStreamType 04-16 15:14:39.441: V/MediaPlayer-JNI(17336): getAudioStreamType: 3 (streamtype) 04-16 15:14:39.451: V/MediaPlayer-JNI(17336): setVolume: left 1.000000 right 1.000000 04-16 15:14:39.451: V/MediaPlayer(17336): MediaPlayer::setVolume(1.000000, 1.000000) 04-16 15:14:39.451: V/MediaPlayer(17336): setVideoSurfaceTexture 04-16 15:14:39.451: V/MediaPlayer(17336): prepareAsync 04-16 15:14:39.451: I/TiAPI(17336): 16/4/2015-15:14:39.463 DEBUG: State: starting (4) 04-16 15:14:39.471: I/System.out(17336): (HTTPLog)-Static: isSBSettingEnabled false *04-16 15:14:39.471: I/System.out(17336): KnoxVpnUidStorageknoxVpnSupported API value returned is false* *04-16 15:14:48.290*: V/MediaPlayer(17336): message received msg=200, ext1=973, ext2=0 04-16 15:14:48.290: W/MediaPlayer(17336): info/warning (973, 0) 04-16 15:14:48.290: V/MediaPlayer(17336): callback application 04-16 15:14:48.300: V/MediaPlayer(17336): back from callback 04-16 15:14:48.300: V/MediaPlayer(17336): message received msg=1, ext1=0, ext2=0 04-16 15:14:48.300: V/MediaPlayer(17336): prepared 04-16 15:14:48.300: V/MediaPlayer(17336): callback application 04-16 15:14:48.300: E/MediaPlayer(17336): Should have subtitle controller already set 04-16 15:14:48.300: V/MediaPlayer-JNI(17336): setVolume: left 1.000000 right 1.000000 04-16 15:14:48.300: V/MediaPlayer(17336): MediaPlayer::setVolume(1.000000, 1.000000) 04-16 15:14:48.320: V/MediaPlayer(17336): getDuration_l 04-16 15:14:48.330: V/MediaPlayer-JNI(17336): getDuration: 0 (msec) 04-16 15:14:48.330: V/MediaPlayer-JNI(17336): seekTo: 0(msec) 04-16 15:14:48.330: V/MediaPlayer(17336): seekTo 0 04-16 15:14:48.350: V/MediaPlayer-JNI(17336): isPlaying: 0 04-16 15:14:48.350: V/MediaPlayer-JNI(17336): start 04-16 15:14:48.350: V/MediaPlayer(17336): start 04-16 15:14:48.380: V/MediaPlayer(17336): back from callback 04-16 15:14:48.390: V/MediaPlayer(17336): message received msg=4, ext1=0, ext2=0 04-16 15:14:48.380: I/TiAPI(17336): 16/4/2015-15:14:48.386 DEBUG: State: initialized (1) *04-16 15:14:48.390: I/TiAPI(17336): 16/4/2015-15:14:48.396 DEBUG: State: playing (3)* 04-16 15:14:48.390: V/MediaPlayer(17336): Received seek complete 04-16 15:14:48.390: V/MediaPlayer(17336): All seeks complete - return to regularly scheduled program 04-16 15:14:48.390: V/MediaPlayer(17336): callback application 04-16 15:14:48.390: V/MediaPlayer(17336): back from callback 04-16 15:14:48.390: V/MediaPlayer-JNI(17336): getCurrentPosition: 0 (msec) 04-16 15:14:48.390: V/MediaPlayer-JNI(17336): isPlaying: 1 04-16 15:14:48.480: V/MediaPlayer(17336): message received msg=6, ext1=0, ext2=0 04-16 15:14:48.480: V/MediaPlayer(17336): Received MEDIA_STARTED 04-16 15:14:48.480: V/MediaPlayer(17336): callback application 04-16 15:14:48.480: V/MediaPlayer(17336): back from callback 04-16 15:14:48.480: V/MediaPlayer(17336): message received msg=200, ext1=702, ext2=0 04-16 15:14:48.480: V/MediaPlayer-JNI(17336): getCurrentPosition: 65 (msec) 04-16 15:14:48.480: V/MediaPlayer-JNI(17336): isPlaying: 1 04-16 15:14:48.480: W/MediaPlayer(17336): info/warning (702, 0) 04-16 15:14:48.480: V/MediaPlayer(17336): callback application 04-16 15:14:48.480: V/MediaPlayer(17336): back from callback 04-16 15:14:49.371: V/MediaPlayer-JNI(17336): isPlaying: 1 04-16 15:14:49.381: V/MediaPlayer-JNI(17336): getCurrentPosition: 820 (msec) 04-16 15:14:49.391: I/TiAPI(17336): 16/4/2015-15:14:49.398 DEBUG: Time Played: 820 milliseconds 04-16 15:14:50.372: V/MediaPlayer-JNI(17336): isPlaying: 1 04-16 15:14:50.382: V/MediaPlayer-JNI(17336): getCurrentPosition: 1808 (msec) {panel}
  2. Alan Hutton 2019-12-09

    Closing issue as “Cannot Reproduce. We have tested the code provided, and found that it is out of date with our current release (8.3.0.GA as of the date of closure), and out of date with mobile OS versions. Updating/Creating code may not reproduce the issue reported, or be a valid test case. If community members feel that the issue is still valid, please add a comment, and include code that demonstrates/reproduces the issue.

JSON Source