Skip to content

Commit

Permalink
recordkit: Update documentation changelog 0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tomlokhorst committed Jun 25, 2024
1 parent d8b3bbd commit b5c7071
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions recordkit/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@

- Fix: Don't show window sharing indicator in WindowBasedCrop recorder

### 0.9.0

- Swift: Add Display recorder
- Swift: Add Microphone recorder
- Swift: `RKRecorderScheme` has been renamed `RKRecorder.Scheme`

### 0.8.0

- Fix: Other windows are no longer being recorded in WindowBasedCrop recorder
Expand Down
4 changes: 2 additions & 2 deletions recordkit/try-swift.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ let appleDevices = await RKRecorder.getAppleDevices() // iPhones, iPads, etc.

```Swift
// Configure the recorder
let recorder = RKRecorder(schema: RKRecorderSchema(items: [
let recorder = RKRecorder([
.windowBasedCrop(windowID: windows.first!.id),
.webcam(microphoneID: microphones.first!.id, cameraID: cameras.first!.id),
.appleDeviceStaticOrientation(deviceID: appleDevices.first!.id)
])) { _ in }
])

// Calling prepare is highly recommended, this activates all devices and makes sure a call to start will start the recording instantly.
// (Screen recording & camera indicators will be visible to the user after calling prepare, also permission alerts might be triggered.)
Expand Down

0 comments on commit b5c7071

Please sign in to comment.