Post

Replies

Boosts

Views

Created

How to properly use NSURLSession for audio streaming
I am trying to use NSURLSession for http and https streaming, but I encounter numerous issues doing so. For one thing, my file open function must be synchronous, since the caller is expecting to be able to start reading data the moment the open function returns. Also, the read requests are expected to complete on the same thread as the file is opened from, which also implies synchronous access. I also do my own decoding and playback interface, and support a whole host of exotic formats, so it's really impractical for me to use the AVPlayer interface.I also have a concern with using Core Audio to decode indeterminate length non-seekable streams which may not start on a packet boundary, but I'll take that to another sub forum of this site, since it's not really a networking question.
2
0
1.1k
Apr ’20
How do I author a generic privacy policy for a simple iMessage sticker pack?
Apparently, now plain iMessage sticker packs require a privacy policy, so where can I find one that discloses that it would be impossible for my sticker pack to collect any information, so I can publish a new version of the thing?
Replies
1
Boosts
0
Views
1.3k
Activity
Jun ’21
How to properly use NSURLSession for audio streaming
I am trying to use NSURLSession for http and https streaming, but I encounter numerous issues doing so. For one thing, my file open function must be synchronous, since the caller is expecting to be able to start reading data the moment the open function returns. Also, the read requests are expected to complete on the same thread as the file is opened from, which also implies synchronous access. I also do my own decoding and playback interface, and support a whole host of exotic formats, so it's really impractical for me to use the AVPlayer interface.I also have a concern with using Core Audio to decode indeterminate length non-seekable streams which may not start on a packet boundary, but I'll take that to another sub forum of this site, since it's not really a networking question.
Replies
2
Boosts
0
Views
1.1k
Activity
Apr ’20
Home app doesn't work...
... unless you copy the Frameworks folder from the News app into it. Yes, that's right, Home, as distributed with the first beta, is missing its Frameworks folder.
Replies
3
Boosts
0
Views
1.2k
Activity
Jun ’18
Could not create a preboot volume for APFS install.
I get this errorif I either attempt to install to an empty APFS partition, or if I convert a working HFS+ partition and attempt to reinstall onto it to make it bootable.
Replies
18
Boosts
1
Views
108k
Activity
Jun ’17