質問編集履歴
2
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -327,3 +327,41 @@
|
|
327
327
|
}
|
328
328
|
|
329
329
|
```
|
330
|
+
|
331
|
+
|
332
|
+
|
333
|
+
---
|
334
|
+
|
335
|
+
|
336
|
+
|
337
|
+
[追記]
|
338
|
+
|
339
|
+
|
340
|
+
|
341
|
+
```Swift
|
342
|
+
|
343
|
+
if (!adaptor.appendPixelBuffer(buffer!, withPresentationTime: frameTime)) {
|
344
|
+
|
345
|
+
// Error!
|
346
|
+
|
347
|
+
print(videoWriter.error)
|
348
|
+
|
349
|
+
}
|
350
|
+
|
351
|
+
```
|
352
|
+
|
353
|
+
|
354
|
+
|
355
|
+
としたところ、
|
356
|
+
|
357
|
+
|
358
|
+
|
359
|
+
```Swift
|
360
|
+
|
361
|
+
Optional(Error Domain=NSURLErrorDomain Code=-3000 "Cannot create file" UserInfo={NSLocalizedDescription=Cannot create file, NSUnderlyingError=0x12f546a10 {Error Domain=NSOSStatusErrorDomain Code=-12149 "(null)"}})
|
362
|
+
|
363
|
+
```
|
364
|
+
|
365
|
+
|
366
|
+
|
367
|
+
上記のようなエラーが吐かれました
|
1
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -46,7 +46,7 @@
|
|
46
46
|
|
47
47
|
|
48
48
|
|
49
|
-
class
|
49
|
+
class TestCreator: NSObject {
|
50
50
|
|
51
51
|
|
52
52
|
|