obsproject / obsproject/obs-studio

[macOS 15.5] Modern mac-avcapture loses reference to iOS Display using Video Capture Device

Open
#12,062 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
76.4k
Forks
10.2k
Avg merge
4d 23h
Merged PRs (30d)
12

Description

Operating System Info

macOS 15

Other OS

No response

OBS Studio Version

31.0.3

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/X0dkFVTqeBIATpa0

OBS Studio Crash Log URL

No response

Expected Behavior

When restarting OBS, iOS devices being captured (not Continuity Camera devices, the actual iOS display over USB) should be found and reconnected.

Current Behavior

What actually happens is the iOS device ID cannot be found and the device is not initialized until viewing the settings pane for the Video Capture Device source and swapping out and back in the iOS device.

Log reports iPhone VIdeo Capture: Unable to initialize device with unique ID 'UUID'

Steps to Reproduce
  1. Add a new Video Capture Device
  2. Connect an unlocked iPhone via USB
  3. Set the VCD source to the iPhone display
  4. Restart OBS
Anything else we should know?

Originally, my iPhone was an VCD under the mac-avcapture-legacy plugin, and did not have this issue. After finding it was under the legacy plugin I then upgraded to a source under the modern mac-avcapture plugin.

Now I have this issue at all times. Issue is not experienced when using "Video Capture Device (Legacy)".

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the modern mac-avcapture plugin's device initialization and reconnection path, using the linked OBS log to compare the failed unique-ID lookup with the legacy source. Reproduce with an unlocked iPhone over USB, restart OBS, and verify that the iOS display reconnects without opening the Video Capture Device settings or swapping the device.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, macos
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.