Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BasicPlayback shows me black screen #18

Open
jeiea opened this issue Sep 13, 2021 · 0 comments
Open

BasicPlayback shows me black screen #18

jeiea opened this issue Sep 13, 2021 · 0 comments

Comments

@jeiea
Copy link

jeiea commented Sep 13, 2021

Describe the bug
I used other URL in the BasicPlayback sample app, it doesn't work.
I made that VOD by MediaConvert. If it is a problem of VOD, then what's the requirement of playable VOD of this SDK?

To Reproduce

  1. Replace BasicPlayback app's source url with the url provided above.
  2. Allow cleartext traffic.
  3. Build and run.

Expected behavior
VOD should be played when I touch the play button.

Screenshots
Screenshot_20210913-192220_BasicPlayback

Device details (please complete the following information):

  • Device: SM-G996N
  • OS: Android 11

Additional context

Android logcat

2021-09-13 19:28:49.990 9529-9529/com.amazonaws.ivs.player.basicplayback I/PlayerLog: Current state: READY
2021-09-13 19:28:49.993 9529-9529/com.amazonaws.ivs.player.basicplayback I/SurfaceControl: nativeRelease nativeObject s[519971548400]
2021-09-13 19:28:49.993 9529-9529/com.amazonaws.ivs.player.basicplayback I/SurfaceControl: nativeRelease nativeObject e[519971548400]
2021-09-13 19:28:49.993 9529-9529/com.amazonaws.ivs.player.basicplayback I/SurfaceControl: nativeRelease nativeObject s[519971541120]
2021-09-13 19:28:49.993 9529-9529/com.amazonaws.ivs.player.basicplayback I/SurfaceControl: nativeRelease nativeObject e[519971541120]
2021-09-13 19:28:50.088 9529-9529/com.amazonaws.ivs.player.basicplayback I/IVSPlayer: New duration: 26000
2021-09-13 19:28:50.088 9529-9529/com.amazonaws.ivs.player.basicplayback I/PlayerLog: Current state: BUFFERING
2021-09-13 19:28:50.089 9529-9786/com.amazonaws.ivs.player.basicplayback I/System.out: (HTTPLog)-Static: isSBSettingEnabled false
2021-09-13 19:28:50.089 9529-9786/com.amazonaws.ivs.player.basicplayback I/System.out: (HTTPLog)-Static: isSBSettingEnabled false
2021-09-13 19:28:50.131 9529-9786/com.amazonaws.ivs.player.basicplayback I/System.out: (HTTPLog)-Static: isSBSettingEnabled false
2021-09-13 19:28:50.131 9529-9786/com.amazonaws.ivs.player.basicplayback I/System.out: (HTTPLog)-Static: isSBSettingEnabled false
2021-09-13 19:28:50.134 9529-9773/com.amazonaws.ivs.player.basicplayback I/System.out: (HTTPLog)-Static: isSBSettingEnabled false
2021-09-13 19:28:50.134 9529-9773/com.amazonaws.ivs.player.basicplayback I/System.out: (HTTPLog)-Static: isSBSettingEnabled false
2021-09-13 19:28:50.174 9529-9529/com.amazonaws.ivs.player.basicplayback I/IVSPlayer: New duration: 27000
2021-09-13 19:28:50.188 9529-9773/com.amazonaws.ivs.player.basicplayback W/System.err: java.io.InterruptedIOException: thread interrupted
2021-09-13 19:28:50.188 9529-9773/com.amazonaws.ivs.player.basicplayback W/System.err:     at com.android.okhttp.okio.Timeout.throwIfReached(Timeout.java:147)
2021-09-13 19:28:50.188 9529-9773/com.amazonaws.ivs.player.basicplayback W/System.err:     at com.android.okhttp.okio.Okio$1.write(Okio.java:82)
2021-09-13 19:28:50.188 9529-9773/com.amazonaws.ivs.player.basicplayback W/System.err:     at com.android.okhttp.okio.AsyncTimeout$1.write(AsyncTimeout.java:157)
2021-09-13 19:28:50.189 9529-9773/com.amazonaws.ivs.player.basicplayback W/System.err:     at com.android.okhttp.okio.RealBufferedSink.flush(RealBufferedSink.java:222)
2021-09-13 19:28:50.189 9529-9773/com.amazonaws.ivs.player.basicplayback W/System.err:     at com.android.okhttp.internal.http.Http1xStream.finishRequest(Http1xStream.java:336)
2021-09-13 19:28:50.189 9529-9773/com.amazonaws.ivs.player.basicplayback W/System.err:     at com.android.okhttp.internal.http.HttpEngine.readNetworkResponse(HttpEngine.java:898)
2021-09-13 19:28:50.189 9529-9773/com.amazonaws.ivs.player.basicplayback W/System.err:     at com.android.okhttp.internal.http.HttpEngine.readResponse(HttpEngine.java:772)
2021-09-13 19:28:50.189 9529-9773/com.amazonaws.ivs.player.basicplayback W/System.err:     at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:475)
2021-09-13 19:28:50.189 9529-9773/com.amazonaws.ivs.player.basicplayback W/System.err:     at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:411)
2021-09-13 19:28:50.189 9529-9773/com.amazonaws.ivs.player.basicplayback W/System.err:     at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:542)
2021-09-13 19:28:50.189 9529-9773/com.amazonaws.ivs.player.basicplayback W/System.err:     at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getResponseCode(DelegatingHttpsURLConnection.java:106)
2021-09-13 19:28:50.189 9529-9773/com.amazonaws.ivs.player.basicplayback W/System.err:     at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:30)
2021-09-13 19:28:50.189 9529-9773/com.amazonaws.ivs.player.basicplayback W/System.err:     at com.amazonaws.ivs.net.HttpUrlConnectionClient.blockingExecute(HttpUrlConnectionClient.java:103)
2021-09-13 19:28:50.189 9529-9773/com.amazonaws.ivs.player.basicplayback W/System.err:     at com.amazonaws.ivs.net.HttpUrlConnectionClient.executeSync(HttpUrlConnectionClient.java:59)
2021-09-13 19:28:50.189 9529-9773/com.amazonaws.ivs.player.basicplayback W/System.err:     at com.amazonaws.ivs.net.HttpUrlConnectionClient.access$000(HttpUrlConnectionClient.java:25)
2021-09-13 19:28:50.189 9529-9773/com.amazonaws.ivs.player.basicplayback W/System.err:     at com.amazonaws.ivs.net.HttpUrlConnectionClient$1.run(HttpUrlConnectionClient.java:49)
2021-09-13 19:28:50.189 9529-9773/com.amazonaws.ivs.player.basicplayback W/System.err:     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
2021-09-13 19:28:50.189 9529-9773/com.amazonaws.ivs.player.basicplayback W/System.err:     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
2021-09-13 19:28:50.189 9529-9773/com.amazonaws.ivs.player.basicplayback W/System.err:     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
2021-09-13 19:28:50.189 9529-9773/com.amazonaws.ivs.player.basicplayback W/System.err:     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
2021-09-13 19:28:50.189 9529-9773/com.amazonaws.ivs.player.basicplayback W/System.err:     at java.lang.Thread.run(Thread.java:923)

iOS log

2021-09-13 19:33:47.166237+0900 BasicPlayback[3745:2350578] [connection] nw_endpoint_handler_set_adaptive_read_handler [C1.1 3.36.219.31:80 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for read_timeout failed
2021-09-13 19:33:47.166408+0900 BasicPlayback[3745:2350578] [connection] nw_endpoint_handler_set_adaptive_write_handler [C1.1 3.36.219.31:80 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for write_timeout failed
2021-09-13 19:33:47.466093+0900 BasicPlayback[3745:2350578] [connection] nw_endpoint_handler_set_adaptive_read_handler [C2.1 13.225.125.106:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for read_timeout failed
2021-09-13 19:33:47.466311+0900 BasicPlayback[3745:2350578] [connection] nw_endpoint_handler_set_adaptive_write_handler [C2.1 13.225.125.106:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for write_timeout failed
2021-09-13 19:33:47.544512+0900 BasicPlayback[3745:2350587] [IVSPlayer] TS invalid sync 274 byte(s)
2021-09-13 19:33:47.545211+0900 BasicPlayback[3745:2350587] [IVSPlayer] TS parse error unsupported scrambling control position 278
2021-09-13 19:33:47.576272+0900 BasicPlayback[3745:2350587] [IVSPlayer] TS invalid sync 1805 byte(s)
2021-09-13 19:33:47.576460+0900 BasicPlayback[3745:2350587] [IVSPlayer] TS parse error unsupported scrambling control position 1042
2021-09-13 19:33:47.576648+0900 BasicPlayback[3745:2350587] [IVSPlayer] TS invalid sync 21 byte(s)
2021-09-13 19:33:47.586258+0900 BasicPlayback[3745:2350587] [IVSPlayer] TS invalid sync 71 byte(s)
2021-09-13 19:33:47.586677+0900 BasicPlayback[3745:2350587] [IVSPlayer] TS invalid sync 349 byte(s)
2021-09-13 19:33:47.586919+0900 BasicPlayback[3745:2350587] [IVSPlayer] TS parse error unsupported scrambling control position 612
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant