(device screencapture.IosDevice)
| 329 | } |
| 330 | |
| 331 | func deactivate(device screencapture.IosDevice) { |
| 332 | log.Debugf("Disabling device: %v", device) |
| 333 | var err error |
| 334 | device, err = screencapture.DisableQTConfig(device) |
| 335 | if err != nil { |
| 336 | printErrJSON(err, "Error disabling QT config") |
| 337 | return |
| 338 | } |
| 339 | |
| 340 | printJSON(map[string]interface{}{ |
| 341 | "device_activated": device.DetailsMap(), |
| 342 | }) |
| 343 | } |
| 344 | |
| 345 | func record(h264FilePath string, wavFilePath string, device screencapture.IosDevice) { |
| 346 | log.Debugf("Writing video output to:'%s' and audio to: %s", h264FilePath, wavFilePath) |
no test coverage detected