Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
42c0772
feat(ios): add Studio tracks, compositor and exporter to CapKit
richiemcilroy Nov 14, 2026
5da4723
feat(ios): record Studio Mode screen and camera tracks on the phone
richiemcilroy Nov 14, 2026
27cc56c
feat(ios): turn the editor into the Studio editor
richiemcilroy Nov 14, 2026
14358ad
test(ios): cover Studio recording and every editor tool
richiemcilroy Nov 14, 2026
f8d1c25
test(ios): allow for software codecs in the export memory check
richiemcilroy Nov 14, 2026
b39a0a7
fix(ios): record Studio sound beside the picture so a muted mic can't…
richiemcilroy Nov 14, 2026
1e16f28
fix(ios): end both export loops on cancel or writer failure
richiemcilroy Nov 14, 2026
018225f
fix(ios): keep Studio drafts per account and recover them reliably
richiemcilroy Nov 14, 2026
5dbf5c3
fix(ios): wait for picked media before rendering and drop stale music…
richiemcilroy Nov 14, 2026
7ccddfb
fix(ios): never cut a still screen out as a gap
richiemcilroy Nov 14, 2026
b8c6cb5
fix(ios): keep each Studio recording in the account it started in
richiemcilroy Nov 14, 2026
6460b5c
fix(ios): stop on audio file failures, let Cancel end the media wait,…
richiemcilroy Nov 14, 2026
d3f6b99
test(ios): make the Studio frame cost check hold on CI's virtual GPUs
richiemcilroy Nov 14, 2026
4b8a409
fix(ios): close the healthy Studio file when the other one fails
richiemcilroy Nov 14, 2026
ec14283
fix(ios): read each song's waveform once however many volume changes ask
richiemcilroy Nov 14, 2026
4b1ffac
test(ios): check missing segments before reading job.json so a finish…
richiemcilroy Nov 14, 2026
2be7557
test(ios): shorten the heaviest Studio encodes so they don't starve t…
richiemcilroy Nov 14, 2026
9091cfb
test(ios): report Studio frame cost on CI instead of gating on shared…
richiemcilroy Nov 14, 2026
6f23eac
fix(mobile-ios): run the Photos change block off the main actor
richiemcilroy Nov 16, 2026
385c2d1
feat(mobile-ios): Studio presets and glow backgrounds
richiemcilroy Nov 16, 2026
728d6eb
Merge origin/main into feat/mobile-studio-mode
richiemcilroy Nov 16, 2026
17e513c
test(mobile-ios): compare a Studio take's length with the time actual…
richiemcilroy Nov 16, 2026
73448f4
fix(mobile-ios): redraw preset pictures after a paused seek, from fra…
richiemcilroy Nov 16, 2026
5f1c0e8
fix(mobile-ios): keep a preset unchanged when its photo can't be copied
richiemcilroy Nov 16, 2026
4a2211a
fix(mobile-ios): open a Studio screen recording once the extension ha…
richiemcilroy Nov 16, 2026
737a476
fix(mobile-ios): save a Studio draft to the account it was opened in
richiemcilroy Nov 16, 2026
408a8ee
Merge origin/main into feat/mobile-studio-mode
richiemcilroy Nov 16, 2026
984ea6e
test(mobile-ios): keep the presets UI test independent of presets lef…
richiemcilroy Nov 16, 2026
7ca904d
fix(mobile-ios): keep a render's cancel from racing its start
richiemcilroy Nov 16, 2026
b19e39a
fix: hold whole-file mobile uploads to the free plan's five minutes
richiemcilroy Nov 16, 2026
3c991bb
fix: need a video's length on the free plan's whole-file mobile uploa…
richiemcilroy Nov 16, 2026
4d3703c
fix(mobile-ios): keep a look chosen while undo reloads music, and red…
richiemcilroy Nov 16, 2026
2a00f13
fix(mobile-ios): leave cancelling the reader and writer to the export…
richiemcilroy Nov 16, 2026
4745fba
fix(mobile-ios): a cancel while the rendered file closes still cancels
richiemcilroy Nov 16, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions apps/mobile-ios/Cap/App/CapApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ struct MainTabView: View {
@State private var analyticsPath: [Route] = []
@State private var settingsPath: [Route] = []
@State private var recorder: RecorderRequest?
@State private var studio = StudioSession.shared
@State private var capModels = CapDetailModels()
@State private var heldLayout: CapsLayout?

Expand All @@ -182,6 +183,10 @@ struct MainTabView: View {
.fullScreenCover(item: $recorder) { request in
RecordView(session: session, folderId: request.folderId)
}
// From a notification while the recorder isn't up; the recorder shows the editor itself.
.fullScreenCover(item: Binding(get: { recorder == nil ? studio.editing : nil }, set: { studio.editing = $0 })) { project in
StudioEditorCover(project: project, session: session)
}
.onReceive(NotificationCenter.default.publisher(for: .capOpenRecorder)) { note in
guard recorder == nil else { return }
recorder = RecorderRequest(folderId: note.object as? String)
Expand All @@ -201,6 +206,7 @@ struct MainTabView: View {
}
.onAppear {
RecordingCoordinator.shared.session = session
studio.attach(session)
let coordinator = RecordingCoordinator.shared
coordinator.collectFinishedScreenRecording(showHome: false)
// A fresh launch after a recording stopped while Cap was away.
Expand Down Expand Up @@ -253,6 +259,10 @@ struct MainTabView: View {
settingsPath = [.profile]
case ("analytics", let id?):
if let capId = CapID(id) { homePath = [.capAnalytics(capId, title: "Walkthrough: the new Cap 0.6.2 editor")] }
case ("studio", let directory?):
// A folder with screen.mp4 and/or camera.mp4, opened as a Studio project for tests and measurements.
studio.attach(session)
StudioDebug.openFixture(URL(fileURLWithPath: directory))
default:
break
}
Expand Down
4 changes: 4 additions & 0 deletions apps/mobile-ios/Cap/App/PushNotifications.swift
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ final class PushNotifications {
}

func open(_ userInfo: [AnyHashable: Any]) -> Bool {
if let projectId = userInfo["studioProject"] as? String {
Task { await StudioSession.shared.open(projectId: projectId) }
return true
}
guard let id = (userInfo["capId"] as? String).flatMap(CapID.init) else { return false }
pendingCapId = id
return true
Expand Down
1 change: 1 addition & 0 deletions apps/mobile-ios/Cap/App/SessionModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ final class SessionModel {
func tearDown() {
tornDown = true
uploads.cancelAll()
StudioSession.shared.signedOut()
for library in libraries.values { library.cancel() }
libraries.removeAll()
}
Expand Down
3 changes: 2 additions & 1 deletion apps/mobile-ios/Cap/Features/Cap/CapDetailView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ struct CapDetailView: View {
EditorView(model: editor) { outcome in
self.editor = nil
switch outcome {
case .cancelled:
case .cancelled, .rendered:
// A rendered edit uploads as a new Cap; this one stays as it is.
break
case .saved:
session.toasts.show("Saving your edit. Your Cap updates in a moment.", systemImage: "scissors")
Expand Down
790 changes: 716 additions & 74 deletions apps/mobile-ios/Cap/Features/Edit/EditorModel.swift

Large diffs are not rendered by default.

Loading
Loading