eerimoq / moblin

Moblin, a free iOS app for IRL streaming.
MIT License
107 stars 15 forks source link

Disconnects after being in the background #2

Closed rubaz100 closed 7 months ago

rubaz100 commented 7 months ago

Could you add a feature to stream with the screen turned off? It should save a lot energy.

And is it compatible with Bluetooth and wired mic compatiblen

eerimoq commented 7 months ago

Apple does not allow streaming in background, so it will disconnect. Not much to do about it. Screen does not use as much power as you think. Networking and widgets use way more. That said, I think iOS has some feature built in to make screen black/off. Not sure how. Someone in Discord knows.

From Xcode:

image

I've only tested Bluetooth mic, but I think wired works as well.

rubaz100 commented 7 months ago

Maybe this could be a solution https://developer.apple.com/forums/thread/79998

how can I choose the mic? I only see the mics from the iphone? Or will it appear if I connect it?

eerimoq commented 7 months ago

Yes and will be automatically selected. If not, it is a bug.