[BUG] IDM on iPad: Losing connection to ChromeCast & Sound lowered on open

A place to share what you like about the app, what you don't like, campaigns you're working on, ask for help or share tips and tricks with other users.
Post Reply
schemen
Minion
Posts: 5
Joined: Mon Feb 11, 2019 2:46 pm

[BUG] IDM on iPad: Losing connection to ChromeCast & Sound lowered on open

Post by schemen » Mon Feb 11, 2019 2:57 pm

Heya!
I got IDM on my Ipad and I love the premise, I can closely move my entire in-session workload to my tablet with dndbeyond, spotify for music, some pdfs and IDM for the in-person VTT.

I got two issues at the moment:
1) When opening IDM while music is running (i.e. spotify), the volume of the music is lowered. Looking around at developer forums this seems to be a setting the developer can set for his app - it would be great you would disable that so the background music doesn't get a hit when changing something on the map

2) IDM seems to loose the connection to ChromeCast when the app is left in the background for about 1 minute which is really unhandy - any idea why?

Other than that, I love it - it works really great with the apple pencil!
How is the current status of support/development?


Regarding 2: https://www.reddit.com/r/Chromecast/com ... _app_from/ may help

User avatar
AtomSwitch
Site Admin
Posts: 237
Joined: Wed Aug 31, 2016 3:58 pm

Re: [BUG] IDM on iPad: Losing connection to ChromeCast & Sound lowered on open

Post by AtomSwitch » Tue Feb 12, 2019 12:47 pm

Hi schemen, thanks for your support of IDM, I'm glad you're enjoying it so far!

I was not aware of the volume reduction issue. I'll have to look into it and see what can be done about it, thanks for bringing it to my attention.

Unfortunately, the connection loss is an iOS issue. iOS is *very* aggressive about terminating background processes. I've not had much look trying to force it to remain a 'priority' process when pushed to the background, for some reason it doesn't see chromecast streaming as a valid reason to remain 'active.' So sadly, this may not be a fixable issue unless Apple relaxes the way it manages memory on iOS devices.

Development status is currently in a bit of hibernation. The original programmer chose to step down after the first few updates were completed as he felt he no longer had sufficient time to dedicate to the project. I've been looking for a replacement but have yet to find someone qualified and available within my extremely tight budget. In the mean time, I've been working on some design-side improvements but until I can afford to expand my budget, new features will remain on hold for a bit longer.

schemen
Minion
Posts: 5
Joined: Mon Feb 11, 2019 2:46 pm

Re: [BUG] IDM on iPad: Losing connection to ChromeCast & Sound lowered on open

Post by schemen » Wed Feb 13, 2019 3:28 am

AtomSwitch wrote:
Tue Feb 12, 2019 12:47 pm
Hi schemen, thanks for your support of IDM, I'm glad you're enjoying it so far!

I was not aware of the volume reduction issue. I'll have to look into it and see what can be done about it, thanks for bringing it to my attention.

Unfortunately, the connection loss is an iOS issue. iOS is *very* aggressive about terminating background processes. I've not had much look trying to force it to remain a 'priority' process when pushed to the background, for some reason it doesn't see chromecast streaming as a valid reason to remain 'active.' So sadly, this may not be a fixable issue unless Apple relaxes the way it manages memory on iOS devices.

Development status is currently in a bit of hibernation. The original programmer chose to step down after the first few updates were completed as he felt he no longer had sufficient time to dedicate to the project. I've been looking for a replacement but have yet to find someone qualified and available within my extremely tight budget. In the mean time, I've been working on some design-side improvements but until I can afford to expand my budget, new features will remain on hold for a bit longer.
Thanks! The Volume management was a bit weird :)

Regarding the ChromeCast thing, this doesn't happen with a Android tablet? Do you have any experience here?
The key issue here is that I need to "re-open" IDM from time to time which is kinda distracting, sadly.

I am an open source guy, but I guess open sourcing it would not be of interest :D Any way this can be supported?

User avatar
AtomSwitch
Site Admin
Posts: 237
Joined: Wed Aug 31, 2016 3:58 pm

Re: [BUG] IDM on iPad: Losing connection to ChromeCast & Sound lowered on open

Post by AtomSwitch » Thu Feb 14, 2019 1:21 pm

With android - I was going to say no, it doesn't happen on android, but it looks like in more recent versions of the OS (7.0+), it does now happen. I went to boot up an older device running Android 6.x that it DID stay connected on when running in the background, but unfortunately the battery seems to have finally gone out on it so I can't boot it to confirm.

As another warning, some devices running Android 9.0 have just recently started crashing when connecting to Chromecast, which I am also investigating.

The Chromecast API is surprisingly poorly supported by Google, especially for Unity (the engine the app was built on), so it has been taking quite a bit of digging to figure out what they changed that is causing the issue on some (but not all) 9.0+ devices.

The best thing you can do to support feature updates is to spread the word about the app. Getting sales to a point where they can actively fund development (all dev up to now has been funded either by the original Kickstarter, or with my own personal funds) will be tough with such a niche product, but word of mouth is the most powerful way to expand the userbase, which in turn expands my development options.

schemen
Minion
Posts: 5
Joined: Mon Feb 11, 2019 2:46 pm

Re: [BUG] IDM on iPad: Losing connection to ChromeCast & Sound lowered on open

Post by schemen » Tue Feb 26, 2019 3:33 am

Hm, really to bad about the chromecast thing - I hope this improves in the future!

Anything found regarding the audio setting?

User avatar
AtomSwitch
Site Admin
Posts: 237
Joined: Wed Aug 31, 2016 3:58 pm

Re: [BUG] IDM on iPad: Losing connection to ChromeCast & Sound lowered on open

Post by AtomSwitch » Tue Feb 26, 2019 3:44 pm

The audio setting looks to be something that has to be done externally from Unity, possibly with some custom additional android-specific code, so it will take some time to get that addressed. IDM sales have actually been picking up a bit lately, so hopefully I'll be able to fund a bit more development if I can find an affordable replacement programmer.

It looks like for other reasons (primarily 64bit device support), I'll be forced to update the app to Unity 2018 (it's currently on 5.4.x, aka ~2016) by 2020 in order to keep InfinitasDM on the android app store. So that means no Chromecast support PERIOD as things stand right now (as their chromecast API isn't supported by Unity 2017 or 2018)...

So it looks like either way I'm going to have to figure out some way to connect to chromecast without the use of Google's API as soon as I can.

schemen
Minion
Posts: 5
Joined: Mon Feb 11, 2019 2:46 pm

Re: [BUG] IDM on iPad: Losing connection to ChromeCast & Sound lowered on open

Post by schemen » Wed Feb 27, 2019 4:56 am

Regarding audio, I have found something like this: https://stackoverflow.com/questions/290 ... l-plays-it
Regarding promotions, I just finished my in-person screen and posted my setup on reddit, including instructions to InfinitasDM, hoping to help any way I can :) https://www.reddit.com/r/DnD/comments/a ... rson_play/

Mh that does sound bad. Maybe you could build a casting website in unity and use a a JS api to cast it? this would circumvent the Unity Chromecast plugin which looks broken, lol.

User avatar
AtomSwitch
Site Admin
Posts: 237
Joined: Wed Aug 31, 2016 3:58 pm

Re: [BUG] IDM on iPad: Losing connection to ChromeCast & Sound lowered on open

Post by AtomSwitch » Wed Feb 27, 2019 12:22 pm

What I've always wanted to do, but haven't had the budget for, is have a free companion app that acts as the Player's View.

Something that can load in a web browser (so you could chromecast it with native cast support) in addition to running as a native app on a secondary device (so you could use a tablet or phone as a player's view on the go).

On a side note, I'm not sure how this was lost on me, but I managed to forget you're dealing with this on an iOS device and not android! I've been dealing with some separate Android chromecast issues so my brain crossed a few wires there. The issue of being forced to remove cast API support on both platforms still stands though as a future problem.

Since the sound issue is universal (it's a Unity quirk that needs to be manually defeated apparently), my brain didn't flip back from Android to iOS there either. I'll look into the link you posted, thanks!

Thank you so much for posting your setup on reddit! Not only did it turn out amazing, but that is always a HUGE help in spreading awareness of the app!

schemen
Minion
Posts: 5
Joined: Mon Feb 11, 2019 2:46 pm

Re: [BUG] IDM on iPad: Losing connection to ChromeCast & Sound lowered on open

Post by schemen » Thu Feb 28, 2019 2:36 am

Cheers! I look forward to the fixes and try to help as well as I can. This app is tremendiously usefull for the in-person players :)

Post Reply