Hi, we have observed an issue where ABR doesn't work for our app's debug builds.
It seems this is caused by the bandwidth meter reporting insanely fast speeds when an OkHttp HttpLoggingInterceptor is present - up to 100x than normal. As a result ABR will always choose the highest quality regardless of network connection.
I've tested it on the demo app by adding the OkHttp data source and interceptor, then observing a Bitrate Estimate field that I added on the debug text. The branch on my changes can be found here. See the difference between the "Bitrate Estimate" on the two screenshots below:
| No interceptor |
With interceptor |
 |
 |
I'm not 100% sure why it happens - but my guess is the bandwidth meter doesn't factor in the time it takes interceptor to read the response. By the time transferStarted is called, the subsequent read is significantly faster since it's stored in some buffer?