mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-04-30 07:46:22 +00:00
try to fix crash for recordingFilePathFromCall
This commit is contained in:
parent
ccf78595cb
commit
b5a186a991
1 changed files with 2 additions and 1 deletions
|
|
@ -57,7 +57,8 @@ enum NetworkType: Int {
|
|||
let paths = NSSearchPathForDirectoriesInDomains(.cachesDirectory, .userDomainMask, true)
|
||||
var writablePath = paths[0]
|
||||
writablePath = writablePath.appending("/\(filePath)")
|
||||
Log.directLog(BCTBX_LOG_MESSAGE, text: "file path is \(writablePath)")
|
||||
let message:String = "file path is \(writablePath)"
|
||||
Log.directLog(BCTBX_LOG_MESSAGE, text: message)
|
||||
return writablePath
|
||||
//file name is recording_contact-name_dayName-day-monthName-year-hour-minutes-seconds
|
||||
//The recording prefix is used to identify recordings in the cache directory.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue