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

Add a way to set proxy for the individual media streams #6024

Closed
mvenkat3272 opened this issue Jun 12, 2019 · 1 comment
Closed

Add a way to set proxy for the individual media streams #6024

mvenkat3272 opened this issue Jun 12, 2019 · 1 comment
Assignees
Labels

Comments

@mvenkat3272
Copy link

my content is delivered from the gateway at a particular port and not on HTTP port. I need to configure the player to contact a proxy server running in the gw . my understanding is that currently there is no mechanism to do that. Can this be added ?

@tonihei tonihei self-assigned this Jun 14, 2019
@tonihei
Copy link
Collaborator

tonihei commented Jun 14, 2019

It's slightly unclear from your question what the requirements are exactly, but ExoPlayer already handles all URIs including HTTP ports and also follows server redirects. This is happening by default without any further configuration required.

In case you need to change the URI for each request dynamically (e.g. to insert to port into an existing URI), you can use a ResolvingDataSource which will be added in 2.10.2, or implement one yourself similar to the example in #5779.

@ojw28 ojw28 closed this as completed Jun 21, 2019
@google google locked and limited conversation to collaborators Oct 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants