Screen Sharing - Express Capture 2.0
Screen Sharing
The user can record a screen, a window or a browser tab. Set allowScreenShare: false in the Settings to remove this option.
Screen and Camera Together
When the user shares their screen with the camera on, the recorder records two videos, the screen and the camera, and uploads them as two linked entries:
- the screen as the parent entry
- the camera as its child entry
The Kaltura Player shows the two entries together and lets the viewer control the layout. See Multi-Stream for how parent and child entries work.
With the camera off, a screen share records the screen alone, as one entry. Without a screen share, the recorder records the camera alone.
Where the Audio Goes
In a screen share, all the audio is on the screen video: the microphone, mixed with any shared tab or system audio. The camera video has no audio track, so the parent entry carries the sound.
In production today, the camera video also carries the microphone audio. The silent camera video arrives with the next recorder release.
Shared Tab and System Audio
Chrome and Edge offer a "Share system audio" or "Share tab audio" checkbox in their own screen-picker dialog. When the user ticks it, the shared surface's audio is mixed with the microphone into the screen video's audio. There is no in-app toggle: the choice is the user's, in the browser's picker.
Safari and Firefox don't support sharing audio this way, so on those browsers the screen video carries the microphone only.
What Your Page Receives
| Recording | onRecordingComplete / onUseThisSelected | onUploadComplete entries |
|---|---|---|
| Camera only | cameraBlob set, screenBlob null | One entry: source: 'camera', role: 'primary' |
| Screen share, camera on | Both blobs set; the audio is on screenBlob | Two entries: the screen (role: 'primary', the parent) and the camera (role: 'secondary', the child) |
| Screen share, camera off | screenBlob set, cameraBlob null | One entry: source: 'screen', role: 'primary' |
onUploadComplete fires once, after both entries of a screen share have uploaded. If the screen uploads but the camera doesn't, it doesn't fire at all. Read role rather than relying on the order of entries. See Upload Results.
In production today, onUploadComplete fires once per entry instead, with { entryId, source } and no role: twice for a screen share with the camera on, the screen first.
Downloads
A screen share with the camera on downloads both files in one click, and a notice tells the user that two files were saved:
rec-<YYYYMMDD-HHMM>-screenrec-<YYYYMMDD-HHMM>-camera
Every other recording downloads one file, under the plain name rec-<YYYYMMDD-HHMM>.
In production today, the camera file takes the plain name, and only the screen file ends in -screen.