Post

Replies

Boosts

Views

Activity

How to? ShazamKit and streaming audio?
Hi all, I have an app that is playing music from http live streams using AVPlayer. Have been trying to figure out how to use ShazamKit to recognise the music playing but I just can't figure out how to do it :-( Works well with local files and microphone recordings, but how do I get the data from a stream that is currently playing??? Feels like I tried everything... Have tried to install an MTAudioProcessingTap but it doesn't seem to work on streaming assets even though I can get hold of the proper AVAssetTrack containing the audio. No callback with data are received? Bug? I can open the streaming url and just save the bytes to disk and that's fine, but I'm not in sync with what is playing in AVPlayerItem so the recognition isn't working with the same audio data as the user is currently hearing. Hmmm. Any suggestions and ideas are welcome. It would be such a nice feature for my app so I'm really looking forward to solving this. Thx in advance / Jörgen, Bitfield
2
0
1.4k
Mar ’22
@SectionedFetchRequest total number of records?
Hi all, Looking into the new @SectionedFetchRequest in SwiftUI 3 and it's really awesome. Thx! But how can I keep track of the total number of records fetched now that they are separated into sections? Can't find anything useful in the docs. Want to update the counter inte the Quakes sample app now that I'm using @SectionedFetchRequest instead of @FetchRequest. Thx in advance / Jörgen, Bitfield
1
0
1.2k
Nov ’21
Catalyst VPN NetworkExtension not loading in macOS 10.15
Hi all, We have a Catalyst VPN client app running on macOS 10.15.7 where the PacketTunnel extension refuses to launch? The App and PacketTunnel works as expected on macOS 11 and later, but on macOS Catalina it doesn't even launch the extension? When I check the console logs I get a nesessionmanager message Found 0 (0 active) registrations for our.bundle.id (com.apple.networkextension.packet-tunnel) and neagent Failed to create an NSExtension with type our.bundle.id: (null) I made sure that the deployment targets for the app and the extension are the same (iOS 13.6, macOS 10.15). It's very confusing since the exact same app runs flawlessly on macOS 11 (and macOS 12)? Any ideas? Best regards / Jörgen at Clavister
1
0
939
Sep ’21
How to? ShazamKit and streaming audio?
Hi all, I have an app that is playing music from http live streams using AVPlayer. Have been trying to figure out how to use ShazamKit to recognise the music playing but I just can't figure out how to do it :-( Works well with local files and microphone recordings, but how do I get the data from a stream that is currently playing??? Feels like I tried everything... Have tried to install an MTAudioProcessingTap but it doesn't seem to work on streaming assets even though I can get hold of the proper AVAssetTrack containing the audio. No callback with data are received? Bug? I can open the streaming url and just save the bytes to disk and that's fine, but I'm not in sync with what is playing in AVPlayerItem so the recognition isn't working with the same audio data as the user is currently hearing. Hmmm. Any suggestions and ideas are welcome. It would be such a nice feature for my app so I'm really looking forward to solving this. Thx in advance / Jörgen, Bitfield
Replies
2
Boosts
0
Views
1.4k
Activity
Mar ’22
@SectionedFetchRequest total number of records?
Hi all, Looking into the new @SectionedFetchRequest in SwiftUI 3 and it's really awesome. Thx! But how can I keep track of the total number of records fetched now that they are separated into sections? Can't find anything useful in the docs. Want to update the counter inte the Quakes sample app now that I'm using @SectionedFetchRequest instead of @FetchRequest. Thx in advance / Jörgen, Bitfield
Replies
1
Boosts
0
Views
1.2k
Activity
Nov ’21
Catalyst VPN NetworkExtension not loading in macOS 10.15
Hi all, We have a Catalyst VPN client app running on macOS 10.15.7 where the PacketTunnel extension refuses to launch? The App and PacketTunnel works as expected on macOS 11 and later, but on macOS Catalina it doesn't even launch the extension? When I check the console logs I get a nesessionmanager message Found 0 (0 active) registrations for our.bundle.id (com.apple.networkextension.packet-tunnel) and neagent Failed to create an NSExtension with type our.bundle.id: (null) I made sure that the deployment targets for the app and the extension are the same (iOS 13.6, macOS 10.15). It's very confusing since the exact same app runs flawlessly on macOS 11 (and macOS 12)? Any ideas? Best regards / Jörgen at Clavister
Replies
1
Boosts
0
Views
939
Activity
Sep ’21