Saving a file to a directory in iOS via filesink

antchi antchien at
Wed Jul 24 14:57:25 UTC 2019

I'm receiving an audio stream, which I'm then trying to encode into a wav
file and save it to a temporary directory in an iOS app.  Does anyone know
if this is possible?  I haven't been able to find anything online about

I'm generating the file location using the following (swift):
let exportPath: String =
let audioExportUrl = URL.init(fileURLWithPath: exportPath)

audioExportUrl then equals to something like

I'm then setting the location property of the filesink to audioExportUrl. 
But when I try to set the pipeline to play, it fails.  I've tried
manipulating the audioExportUrl to different things (like turning into a
string, removing the "file://" prefix etc), but nothing has worked. 

Does anyone have experience with saving files to iOS via gstreamer?  Thanks!

Sent from:

More information about the gstreamer-devel mailing list