implementing a custom audio decoder for iOS?
implementing a custom audio decoder for iOS?
- Subject: implementing a custom audio decoder for iOS?
- From: Doug McCoy <email@hidden>
- Date: Wed, 04 Apr 2018 12:31:35 -0700
Hey all,
I am investigating how I can implement a custom audio decoder to be used
via AVFoundation classes on iOS.
What I have is:
- a C library that takes:
- input: frames of custom encoded audio (from MP4 container)
- output: frames of stereo PCM
- assume this must be done in realtime with streams, not files.
What I'd like to know:
- Are there any hooks into the AVFoundation processing flow that allow
custom decoding?
- If not AVFoundation, can this be done with other iOS audio frameworks?
MTAudioProcessingTap? methinks not.
I was initially pleased to see the MTAudioProcessingTap available for use,
but this seem only useful for processing the decoded PCM, not the encoded
frames directly from the input stream.
Pipe Dream?
What would be amazing is to find a hook into AVPlayer or AVAsset that
allows for custom decoding of stream packets.
Any guidance is appreciated!
Doug
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden