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

Im getting issues only in firestick device java.util.concurrent.ExecutionException: java.io.IOException: Cannot set Url on media device #418

Open
ezcode147 opened this issue Aug 1, 2024 · 5 comments

Comments

@ezcode147
Copy link

When I cast images or videos to fire tv, I get this error
SimplePlayerException(error:com.amazon.whisperlink.service.fling.media.SimplePlayerError@1661027, message:Requires ACCESS_HDMI_SERVICE_ADVANCED permission).
And when I debug deep inside, I get this error
java.util.concurrent.ExecutionException: java.io.IOException: Cannot set Url on media device
It happens on Amazon Fling version 1.6.2
Has anyone fixed it yet?

@theduc0x
Copy link

If I remember correctly, go to the Fire TV homepage and update the AmazingFling lib

@petergoczan
Copy link

@theduc0x do you mean to download the latest SDK from here?

I'm using the 1.6.3 version and still getting the exact same issue.

First I'm getting:
SimplePlayerException(error:com.amazon.whisperlink.service.fling.media.SimplePlayerError@74da573, message:Requires ACCESS_HDMI_SERVICE_ADVANCED permission)

Then:
Connection - calling Connection.close for device() [device: local=false, uuid=MY_UUID, routes={inet=Route(ipv4:192.168.100.8, unsecurePort:45663, securePort:40625)}] WhisperLink my.package.name I TWhisperLinkTransport - Closing connection for Service: my.package.name.custom.player on Device A21ABBFC202DE7CE853FCFC8BEC7A066 isClient: true Connection Id: 3299 Channel: inet

Then:
exception: java.io.IOException: Cannot set Url on media device

@theduc0x
Copy link

theduc0x commented Oct 9, 2024

@petergoczan I checked and there is indeed an error, but I see it does not affect connecting and streaming media to Fire TV.

@petergoczan
Copy link

Thanks @theduc0x , I'd like to add that this java.io.IOException: Cannot set Url on media device error is also coming for the FlingSample project, the calling Connection.close for device() is still concerning though

@ezcode147
Copy link
Author

Has anyone been able to fix this problem?

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

3 participants