Pass your proxy server in the SDK Builder
The IP and port must be define as a Builder parameter:
private fun initDeliveryClient(newPlayer: SimpleExoPlayer) =
LumenDeliveryClient.orchestratorBuilder(applicationContext)
.qosInterface(ExoPlayerQosModule(newPlayer))
.options {
...
proxyServer(<string>)
...
}
.build(mStreamUrl)
- proxyServer: the IP and Port of your Charles Proxy server in this format "ipAddress:port"
Enable Transparent HTTP proxying
You need to enable HTTP transparency so Charles Proxy will show all the requests even those redirected by the SDK.
Bypass localhost
When setting the proxy server in your Android phone, it is important to bypass "localhost".