{"action":"created","issue":{"url":"https://api.github.com/repos/google/ExoPlayer/issues/1271","repository_url":"https://api.github.com/repos/google/ExoPlayer","labels_url":"https://api.github.com/repos/google/ExoPlayer/issues/1271/labels{/name}","comments_url":"https://api.github.com/repos/google/ExoPlayer/issues/1271/comments","events_url":"https://api.github.com/repos/google/ExoPlayer/issues/1271/events","html_url":"https://github.com/google/ExoPlayer/issues/1271","id":134082024,"number":1271,"title":"Android Wear: Black screen but audio with demo streams","user":{"login":"pflammertsma","id":286051,"avatar_url":"https://avatars.githubusercontent.com/u/286051?v=3","gravatar_id":"","url":"https://api.github.com/users/pflammertsma","html_url":"https://github.com/pflammertsma","followers_url":"https://api.github.com/users/pflammertsma/followers","following_url":"https://api.github.com/users/pflammertsma/following{/other_user}","gists_url":"https://api.github.com/users/pflammertsma/gists{/gist_id}","starred_url":"https://api.github.com/users/pflammertsma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pflammertsma/subscriptions","organizations_url":"https://api.github.com/users/pflammertsma/orgs","repos_url":"https://api.github.com/users/pflammertsma/repos","events_url":"https://api.github.com/users/pflammertsma/events{/privacy}","received_events_url":"https://api.github.com/users/pflammertsma/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/google/ExoPlayer/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-02-16T19:57:21Z","updated_at":"2016-02-17T10:33:02Z","closed_at":null,"body":"I'm trying to get the ExoPlayer demo app working for Android Wear (sounds absurd, but we hope to use it to display a pretty video in a production app).\r\n\r\nI've tested it on a Samsung Galaxy Gear Live (AW 1.3, Android 5.1) and two host GPU-accelerated emulators (API 22 and API 23), and they give the same results: video is not displayed but playback suggests all is working correctly.\r\n\r\nThe emulator merrily plays the audio over my system speakers; I haven't had the opportunity to pair bluetooth speakers to the Gear Live to confirm audio is working there as well.\r\n\r\nHaving tested all samples, the \"Video\" button never appears when bringing up the controls; only the \"Audio\" and \"Logging\" buttons.\r\n\r\nHere are two screenshots (note that the buttons have been renamed to single letters so they fit in the tiny display):  \r\n![Imgur](http://i.imgur.com/0m33WJ5.png)![Imgur](http://i.imgur.com/3UkObqE.png)\r\n\r\nLoading up the \"Google Play (MP4,H264)\" sample under \"YouTube Dash\" gives this Logcat output (logging set to \"verbose\"):\r\n\r\n```\r\n02-16 20:40:39.965 23194-23194/com.pixplicity.exoplayertest I/ExoPlayerImpl: Init 1.5.5\r\n02-16 20:40:39.979 23194-23194/com.pixplicity.exoplayertest D/EventLogger: start [0]\r\n02-16 20:40:39.979 23194-23194/com.pixplicity.exoplayertest D/EventLogger: state [0.00, false, P]\r\n02-16 20:40:39.980 23194-23194/com.pixplicity.exoplayertest D/EventLogger: state [0.00, true, P]\r\n02-16 20:40:40.141 23194-23204/com.pixplicity.exoplayertest W/art: Suspending all threads took: 10.894ms\r\n02-16 20:40:40.290 23194-23194/com.pixplicity.exoplayertest D/EventLogger: availableRange [true, 0, 59280000]\r\n02-16 20:40:40.290 23194-23194/com.pixplicity.exoplayertest V/EventLogger: loadStart [0.31, 1, 2, 0, 0]\r\n02-16 20:40:40.309 23194-23194/com.pixplicity.exoplayertest D/EventLogger: state [0.33, true, B]\r\n02-16 20:40:40.359 23194-23194/com.pixplicity.exoplayertest D/EventLogger: bandwidth [0.38, 696, 0.00, 5568000]\r\n02-16 20:40:40.365 23194-23194/com.pixplicity.exoplayertest V/EventLogger: loadEnd [0.39, 1, 75]\r\n02-16 20:40:40.365 23194-23194/com.pixplicity.exoplayertest V/EventLogger: loadStart [0.39, 1, 1, 0, 10007]\r\n02-16 20:40:40.373 23194-23194/com.pixplicity.exoplayertest D/EventLogger: audioFormat [0.39, 140, 2]\r\n02-16 20:40:40.385 23194-2637/com.pixplicity.exoplayertest I/OMXClient: Using client-side OMX mux.\r\n02-16 20:40:40.399 23194-23194/com.pixplicity.exoplayertest D/EventLogger: decoderInitialized [0.42, OMX.google.aac.decoder]\r\n02-16 20:40:40.418 23194-2638/com.pixplicity.exoplayertest I/SoftAAC2: limiting to stereo output\r\n02-16 20:40:40.438 23194-23194/com.pixplicity.exoplayertest D/EventLogger: state [0.46, true, R]\r\n02-16 20:40:40.450 23194-2638/com.pixplicity.exoplayertest I/SoftAAC2: Reconfiguring decoder: 0->44100 Hz, 0->2 channels\r\n02-16 20:40:40.521 23194-23194/com.pixplicity.exoplayertest D/EventLogger: bandwidth [0.54, 159166, 0.11, 11169543]\r\n02-16 20:40:40.524 23194-23194/com.pixplicity.exoplayertest V/EventLogger: loadEnd [0.55, 1, 159]\r\n02-16 20:40:40.533 23194-23194/com.pixplicity.exoplayertest V/EventLogger: loadStart [0.55, 1, 1, 10007, 20015]\r\n02-16 20:40:40.720 23194-23194/com.pixplicity.exoplayertest D/EventLogger: bandwidth [0.74, 159072, 0.13, 9714320]\r\n02-16 20:40:40.732 23194-23194/com.pixplicity.exoplayertest V/EventLogger: loadEnd [0.75, 1, 199]\r\n02-16 20:40:40.733 23194-23194/com.pixplicity.exoplayertest V/EventLogger: loadStart [0.75, 1, 1, 20015, 30000]\r\n02-16 20:40:40.902 23194-23209/com.pixplicity.exoplayertest I/art: Background sticky concurrent mark sweep GC freed 25336(1183KB) AllocSpace objects, 3(144KB) LOS objects, 11% free, 11MB/12MB, paused 1.265ms total 149.829ms\r\n02-16 20:40:41.011 23194-23209/com.pixplicity.exoplayertest W/art: Suspending all threads took: 5.603ms\r\n02-16 20:40:41.087 23194-23194/com.pixplicity.exoplayertest D/EventLogger: bandwidth [1.11, 158742, 0.15, 9714320]\r\n02-16 20:40:41.090 23194-23194/com.pixplicity.exoplayertest V/EventLogger: loadEnd [1.11, 1, 357]\r\n02-16 20:40:41.090 23194-23194/com.pixplicity.exoplayertest V/EventLogger: loadStart [1.11, 1, 1, 30000, 40007]\r\n02-16 20:40:41.256 23194-23194/com.pixplicity.exoplayertest D/EventLogger: bandwidth [1.28, 158555, 0.10, 9714320]\r\n02-16 20:40:41.260 23194-23194/com.pixplicity.exoplayertest V/EventLogger: loadEnd [1.28, 1, 170]\r\n02-16 20:40:41.260 23194-23194/com.pixplicity.exoplayertest V/EventLogger: loadStart [1.28, 1, 1, 40007, 50015]\r\n02-16 20:40:41.377 23194-23194/com.pixplicity.exoplayertest D/EventLogger: bandwidth [1.40, 158942, 0.08, 11169543]\r\n02-16 20:40:41.381 23194-23194/com.pixplicity.exoplayertest V/EventLogger: loadEnd [1.40, 1, 121]\r\n02-16 20:40:41.381 23194-23194/com.pixplicity.exoplayertest V/EventLogger: loadStart [1.40, 1, 1, 50015, 59280]\r\n02-16 20:40:41.491 23194-23194/com.pixplicity.exoplayertest D/EventLogger: bandwidth [1.51, 146952, 0.08, 12435686]\r\n02-16 20:40:41.495 23194-23194/com.pixplicity.exoplayertest V/EventLogger: loadEnd [1.52, 1, 114]\r\n02-16 20:41:40.632 23194-23194/com.pixplicity.exoplayertest D/EventLogger: state [60.65, true, E]\r\n```\r\n\r\nA quick breakdown of the samples:\r\n- YouTube Dash: all samples give the behavior described in this issue\r\n the behavior described in this issue\r\n- Widevine GTS:\r\n  - all samples give a toast with \"This device does not support the required DRM scheme\"\r\n- Widevine HDCP:\r\n  - all samples give a toast with \"This device does not support the required DRM scheme\"\r\n- Widevine Dash MP4,H264:\r\n  - all \"Clear\" samples give the behavior described in this issue\r\n  - all \"Secure\" samples give a toast with \"This device does not support the required DRM scheme\"\r\n- Widevine Dash WebM,VP9: \r\n  - all \"Clear\" samples give the behavior described in this issue\r\n  - all \"Secure\" samples give a toast with \"This device does not support the required DRM scheme\"\r\n- Widevine Dash MP4,H265:\r\n  - all \"Clear\" samples give the behavior described in this issue\r\n  - all \"Secure\" samples give a toast with \"This device does not support the required DRM scheme\"\r\n- SmoothStreaming:\r\n  - \"Super speed\" gives the behavior described in this issue\r\n  - \"Super speed (PlayReady)\" gives a toast with \"This device does not support the required DRM scheme\"\r\n- HLS:\r\n  - \"Apple master playlist advanced\" remains stuck on \"preparing\" despite outputting `loadEnd [8.08, 0, 822]`\r\n  - all other samples give the behavior described in this issue\r\n\r\nI'm having troubles figuring out how to troubleshoot this, so any suggestions are welcome."},"comment":{"url":"https://api.github.com/repos/google/ExoPlayer/issues/comments/185144055","html_url":"https://github.com/google/ExoPlayer/issues/1271#issuecomment-185144055","issue_url":"https://api.github.com/repos/google/ExoPlayer/issues/1271","id":185144055,"user":{"login":"pflammertsma","id":286051,"avatar_url":"https://avatars.githubusercontent.com/u/286051?v=3","gravatar_id":"","url":"https://api.github.com/users/pflammertsma","html_url":"https://github.com/pflammertsma","followers_url":"https://api.github.com/users/pflammertsma/followers","following_url":"https://api.github.com/users/pflammertsma/following{/other_user}","gists_url":"https://api.github.com/users/pflammertsma/gists{/gist_id}","starred_url":"https://api.github.com/users/pflammertsma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pflammertsma/subscriptions","organizations_url":"https://api.github.com/users/pflammertsma/orgs","repos_url":"https://api.github.com/users/pflammertsma/repos","events_url":"https://api.github.com/users/pflammertsma/events{/privacy}","received_events_url":"https://api.github.com/users/pflammertsma/received_events","type":"User","site_admin":false},"created_at":"2016-02-17T10:33:02Z","updated_at":"2016-02-17T10:33:02Z","body":"Excellent response, thanks so much @andrewlewis! I'll take a look at that demo and continue tinkering.\r\n\r\nThe breakdown of all samples in the issue description were actually all on a Samsung Galaxy Gear Live, so it would appear that this device specifically doesn't have video decoding. I'll do some additional tests on a Huawei Watch and LG G Watch R."}}