casolorz
casolorz

Reputation: 9594

Chromecast user agent

Is it possible to change the user agent the chromecast sends to servers?

I am trying to load a mobile video and the server requires that the user agent be from a mobile device.

Thanks.

Upvotes: 5

Views: 2634

Answers (2)

Angel
Angel

Reputation: 93

It's a good question, but I'm afraid you won't be able. Anyway, you can play with the host method to change/send custom headers, so maybe you can figure out how to send the request to simulate a mobile device into your servers.

Also, be careful with the media you want to play in Chromecast, there's a list of supported formats and the recommendation is to follow that "rule".

Upvotes: 1

Ali Naddaf
Ali Naddaf

Reputation: 19094

No, you cannot change the user agent

Upvotes: 2

Related Questions