{ "id": "81304", "key": "TIMOB-5473", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2013-10-17T21:31:55.000+0000", "created": "2011-10-10T07:14:16.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "exalture", "parity" ], "versions": [ { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "issuelinks": [ { "id": "26194", "type": { "id": "10011", "name": "Includes", "inward": "is included by", "outward": "includes" }, "inwardIssue": { "id": "105162", "key": "TIMOB-11810", "fields": { "summary": "Ti API: Address common WebView deficiencies", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "6", "description": "gh.issue.epic.desc", "name": "Epic", "subtask": false } } } }, { "id": "32471", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "113417", "key": "TIMOB-13677", "fields": { "summary": "Android: Not able to maximize(fullscreen) the video in a webView", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "27614", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "112583", "key": "TIMOB-13495", "fields": { "summary": "Android: HTML5 audio tag does not play in WebView", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-22T22:30:03.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "h3.Problem\r\nVideo streaming (HTML5) does not work on webview. While trying to play the HTML5 video it gets stucked in the loading part.\r\nWhile entering to the HTML5 through the Android browser we are able to play the video correctly.\r\n\r\nh3.Reproducible Steps\r\n1. Execute the example code\r\n2. Press the Play button on the video (on the top of the page)\r\n\r\nh3.Sample Code\r\n{code}\r\n// this sets the background color of the master UIView (when there are no windows/tab groups on it)\r\nTitanium.UI.setBackgroundColor('#000');\r\n\r\n\r\nvar win1 = Titanium.UI.createWindow({ \r\n title:'Tab 1',\r\n backgroundColor:'#fff'\r\n});\r\nvar tab1 = Titanium.UI.createTab({ \r\n icon:'KS_nav_views.png',\r\n title:'Tab 1',\r\n window:win1\r\n});\r\n\r\nvar webview = Titanium.UI.createWebView({\r\n url: 'http://videojs.com/' //http://vimeo.com/6759504\r\n});\r\n\r\nwin1.add(webview);\r\nwin1.open();\r\n\r\n{code}\r\n\r\nh3.Logs - tested on devices with Android 2.2.1\r\n{code}\r\n12-20 10:46:36.402: I/KeyInputQueue(175): Enqueueing touch event0\r\n12-20 10:46:36.402: I/WindowManager(175): Read next event 0\r\n12-20 10:46:36.402: I/WindowManager(175): Delivering pointer 0 > Window{4a0534c0 com.app.test/com.app.test.TestActivity paused=false}\r\n12-20 10:46:36.612: I/KeyInputQueue(175): Enqueueing touch event1\r\n12-20 10:46:36.612: I/WindowManager(175): Read next event 1\r\n12-20 10:46:36.612: I/WindowManager(175): Delivering pointer 1 > Window{4a0534c0 com.app.test/com.app.test.TestActivity paused=false}\r\n12-20 10:46:36.702: V/AudioFlinger(94): Track constructor name 4100, calling thread 175\r\n12-20 10:46:36.702: V/AudioFlinger(94): start(4100), calling thread 175\r\n12-20 10:46:36.702: V/AudioFlinger(94): ? => ACTIVE (4100) on thread 0x130a8\r\n12-20 10:46:36.702: V/AudioPolicyManager(94): startOutput() output 1, stream 1\r\n12-20 10:46:36.702: E/AudioPolicyManagerBase(94): unknown stream type\r\n12-20 10:46:36.702: E/AudioPolicyManagerBase(94): unknown stream type\r\n12-20 10:46:36.702: E/AudioPolicyManagerBase(94): unknown stream type\r\n12-20 10:46:36.702: V/AudioPolicyManager(94): getDeviceForStrategy() from cache strategy 0, device 2\r\n12-20 10:46:36.702: V/AudioPolicyManager(94): getNewDevice() selected device 2\r\n12-20 10:46:36.702: V/AudioPolicyManager(94): setOutputDevice() output 1 device 2 force 0 delayMs 0\r\n12-20 10:46:36.702: V/AudioPolicyManager(94): setOutputDevice() setting same device 2 or null device for output 1\r\n12-20 10:46:36.702: V/AudioFlinger(94): mWaitWorkCV.broadcast\r\n12-20 10:46:36.702: V/AudioFlinger(94): MixerThread 0xbb38 TID 151 waking up\r\n12-20 10:46:36.702: V/AudioPolicyManager(94): releaseOutput() 1\r\n12-20 10:46:36.702: V/AudioFlinger(94): remove track (4099) and delete from mixer\r\n12-20 10:46:36.702: V/AudioFlinger(94): PlaybackThread::Track destructor\r\n12-20 10:46:36.732: V/AudioHardwareMSM72XX(94): open driver\r\n12-20 10:46:36.732: V/AudioHardwareMSM72XX(94): get config\r\n12-20 10:46:36.732: V/AudioHardwareMSM72XX(94): set config\r\n12-20 10:46:36.732: V/AudioHardwareMSM72XX(94): buffer_size: 4800\r\n12-20 10:46:36.732: V/AudioHardwareMSM72XX(94): buffer_count: 2\r\n12-20 10:46:36.732: V/AudioHardwareMSM72XX(94): channel_count: 2\r\n12-20 10:46:36.732: V/AudioHardwareMSM72XX(94): sample_rate: 44100\r\n12-20 10:46:36.892: W/AudioFlinger(94): write blocked for 166 msecs, 154 delayed writes, thread 0xbb38\r\n12-20 10:46:37.122: I/Web Console(18326): Video is not ready yet (try playing the video first). at http://videojs.com/video-js/video.js?v=1292016568:116\r\n12-20 10:46:37.162: V/AudioFlinger(94): getNextBuffer() no more data for track 4100 on thread 0xbb38\r\n12-20 10:46:37.162: V/AudioFlinger(94): stop(4100), calling thread 175\r\n12-20 10:46:37.162: V/AudioFlinger(94): (> STOPPED) => STOPPED (4100) on thread 0xbb38\r\n12-20 10:46:37.162: V/AudioPolicyManager(94): stopOutput() output 1, stream 1\r\n12-20 10:46:37.162: E/AudioPolicyManagerBase(94): unknown stream type\r\n12-20 10:46:37.162: E/AudioPolicyManagerBase(94): unknown stream type\r\n12-20 10:46:37.162: E/AudioPolicyManagerBase(94): unknown stream type\r\n12-20 10:46:37.162: E/AudioPolicyManagerBase(94): unknown stream type\r\n12-20 10:46:37.162: V/AudioPolicyManager(94): getNewDevice() selected device 0\r\n12-20 10:46:37.162: V/AudioPolicyManager(94): setOutputDevice() output 1 device 0 force 0 delayMs 150\r\n12-20 10:46:37.162: V/AudioPolicyManager(94): setOutputDevice() setting same device 0 or null device for output 1\r\n12-20 10:46:37.192: V/AudioFlinger(94): TrackBase::reset\r\n12-20 10:46:40.172: V/AudioFlinger(94): Audio hardware entering standby, mixer 0xbb38, mSuspended 0\r\n12-20 10:46:40.192: V/AudioFlinger(94): MixerThread 0xbb38 TID 151 going to sleep\r\n12-20 10:46:40.582: W/TiAnalyticsSvc(18326): (Thread-56) [29606,29606] Analytics Service Started\r\n12-20 10:46:40.662: I/TiAnalyticsSvc(18326): (Thread-56) [84,29690] Sending 2 analytics events.\r\n12-20 10:46:41.482: W/TiAnalyticsSvc(18326): (Thread-56) [821,30511] Stopping Analytics Service\r\n12-20 10:46:42.422: I/KeyInputQueue(175): Enqueueing touch event0\r\n12-20 10:46:42.422: I/WindowManager(175): Read next event 0\r\n12-20 10:46:42.422: I/WindowManager(175): Delivering pointer 0 > Window{4a0534c0 com.app.test/com.app.test.TestActivity paused=false}\r\n12-20 10:46:42.622: I/KeyInputQueue(175): Enqueueing touch event1\r\n12-20 10:46:42.622: I/WindowManager(175): Read next event 1\r\n12-20 10:46:42.622: I/WindowManager(175): Delivering pointer 1 > Window{4a0534c0 com.app.test/com.app.test.TestActivity paused=false}\r\n12-20 10:46:42.892: D/BatteryService(175): update start\r\n12-20 10:46:42.892: D/BatteryService(175): update start\r\n12-20 10:46:42.902: D/BatteryService(175): update start\r\n12-20 10:46:43.022: V/AudioFlinger(94): Track constructor name 4099, calling thread 175\r\n12-20 10:46:43.022: V/AudioFlinger(94): start(4099), calling thread 175\r\n12-20 10:46:43.022: V/AudioFlinger(94): ? => ACTIVE (4099) on thread 0x13488\r\n12-20 10:46:43.022: V/AudioPolicyManager(94): startOutput() output 1, stream 1\r\n12-20 10:46:43.022: E/AudioPolicyManagerBase(94): unknown stream type\r\n12-20 10:46:43.022: E/AudioPolicyManagerBase(94): unknown stream type\r\n12-20 10:46:43.022: E/AudioPolicyManagerBase(94): unknown stream type\r\n12-20 10:46:43.022: V/AudioPolicyManager(94): getDeviceForStrategy() from cache strategy 0, device 2\r\n12-20 10:46:43.022: V/AudioPolicyManager(94): getNewDevice() selected device 2\r\n12-20 10:46:43.022: V/AudioPolicyManager(94): setOutputDevice() output 1 device 2 force 0 delayMs 0\r\n12-20 10:46:43.022: V/AudioPolicyManager(94): setOutputDevice() setting same device 2 or null device for output 1\r\n12-20 10:46:43.022: V/AudioFlinger(94): mWaitWorkCV.broadcast\r\n12-20 10:46:43.022: V/AudioFlinger(94): MixerThread 0xbb38 TID 151 waking up\r\n12-20 10:46:43.022: V/AudioPolicyManager(94): releaseOutput() 1\r\n12-20 10:46:43.022: V/AudioFlinger(94): remove track (4100) and delete from mixer\r\n12-20 10:46:43.022: V/AudioFlinger(94): PlaybackThread::Track destructor\r\n12-20 10:46:43.052: V/AudioHardwareMSM72XX(94): open driver\r\n12-20 10:46:43.052: V/AudioHardwareMSM72XX(94): get config\r\n12-20 10:46:43.052: V/AudioHardwareMSM72XX(94): set config\r\n12-20 10:46:43.052: V/AudioHardwareMSM72XX(94): buffer_size: 4800\r\n12-20 10:46:43.052: V/AudioHardwareMSM72XX(94): buffer_count: 2\r\n12-20 10:46:43.052: V/AudioHardwareMSM72XX(94): channel_count: 2\r\n12-20 10:46:43.052: V/AudioHardwareMSM72XX(94): sample_rate: 44100\r\n12-20 10:46:43.222: W/AudioFlinger(94): write blocked for 166 msecs, 155 delayed writes, thread 0xbb38\r\n12-20 10:46:43.482: V/AudioFlinger(94): getNextBuffer() no more data for track 4099 on thread 0xbb38\r\n12-20 10:46:43.492: V/AudioFlinger(94): stop(4099), calling thread 175\r\n12-20 10:46:43.492: V/AudioFlinger(94): (> STOPPED) => STOPPED (4099) on thread 0xbb38\r\n12-20 10:46:43.492: V/AudioPolicyManager(94): stopOutput() output 1, stream 1\r\n12-20 10:46:43.492: E/AudioPolicyManagerBase(94): unknown stream type\r\n12-20 10:46:43.492: E/AudioPolicyManagerBase(94): unknown stream type\r\n12-20 10:46:43.492: E/AudioPolicyManagerBase(94): unknown stream type\r\n12-20 10:46:43.492: E/AudioPolicyManagerBase(94): unknown stream type\r\n12-20 10:46:43.492: V/AudioPolicyManager(94): getNewDevice() selected device 0\r\n12-20 10:46:43.492: V/AudioPolicyManager(94): setOutputDevice() output 1 device 0 force 0 delayMs 150\r\n12-20 10:46:43.492: V/AudioPolicyManager(94): setOutputDevice() setting same device 0 or null device for output 1\r\n12-20 10:46:43.512: V/AudioFlinger(94): TrackBase::reset\r\n12-20 10:46:46.502: V/AudioFlinger(94): Audio hardware entering standby, mixer 0xbb38, mSuspended 0\r\n12-20 10:46:46.512: V/AudioFlinger(94): MixerThread 0xbb38 TID 151 going to sleep\r\n{code}\r\n\r\nh3.Associated HelpDesk Ticket\r\nhttp://appc.me/c/APP-442427", "attachment": [], "flagged": false, "summary": "Android: HTML5 video gets stuck while trying to load the video (on webview)", "creator": { "name": "kpomaski", "key": "kpomaski", "displayName": "Karol Pomaski", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kpomaski", "key": "kpomaski", "displayName": "Karol Pomaski", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Simulator, Android 2.1 & 2.3.3, Samsung with Android 2.2.1\r\nMobile SDK 1.7.2 & 1.8.0.v20110915133349", "comment": { "comments": [ { "id": "180477", "author": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Changing customer priority for the next patch.", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-01-24T17:39:21.000+0000", "updated": "2012-01-24T17:39:21.000+0000" }, { "id": "195084", "author": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "body": "Tested with 2.0.1GA2 on a HTC Sensation 4G, issue still exists. Tested on the iOS simulator, seems to work fine. Added 'parity' to the label.", "updateAuthor": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "created": "2012-05-16T15:14:46.000+0000", "updated": "2012-05-16T15:14:46.000+0000" }, { "id": "263980", "author": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Tested with Android nexus 4.3, even the native browser doesn't play the video http://videojs.com/", "updateAuthor": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-07-30T17:55:03.000+0000", "updated": "2013-07-30T17:55:03.000+0000" }, { "id": "274840", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-11T21:43:27.000+0000", "updated": "2013-10-11T21:43:27.000+0000" }, { "id": "275525", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "It appears this does not work in native Android. Can we get confirmation this is actually possible?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-17T21:31:55.000+0000", "updated": "2013-10-17T21:31:55.000+0000" }, { "id": "415132", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket due to the information that was requested was not provided.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T22:30:03.000+0000", "updated": "2017-03-22T22:30:03.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }