jellyfin / Swiftfin

Native Jellyfin Client for iOS and tvOS
Mozilla Public License 2.0
2.62k stars 285 forks source link

Replace UDPBroadcast #554

Open LePips opened 2 years ago

LePips commented 2 years ago

Replace UDPBroadcast with a different socket framework, picking between SwiftNIO (more bare metal) and BlueSocket (has basic TCP/UDP sockets, just what we need). All we need for this is a basic UDP broadcast/multicast pings and listener for server pongs.

Needs to work along with https://github.com/jellyfin/Swiftfin/issues/408, if applicable.

Should think about moving this overall functionality to the sdk instead.

LePips commented 2 years ago

I have a simple replacement using BlueSocket however it would require the multicast entitlement. This is a problem when it comes to open source development.

Correction: we should have had the multicast entitlement all along but it just wasn't "required" in iOS 15

anthonylavado commented 2 years ago

I have applied for the multicast entitlement, just in case.

anthonylavado commented 2 years ago

Updating here - we have received the entitlement from the App Store.

DT3264 commented 5 months ago

Any updates around this one? / what work is required to be able to work on this issue?

LePips commented 5 months ago

There is no technical issue, just a local replacement would be needed.