Replies: 1 comment 1 reply
-
|
Yes. To accept external CMSampleBuffer objects, we provide that method. The following configuration is required. var videoSetting = await mixer.videoMixerSettings
videoSetting.mode = .offscreen
await mixer.setVideoMixerSettings(videoSetting)
await mixer.startRunning() |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Question
I would like to ask whether HaishinKit supports using an external video source instead of
AVCaptureDevice.Specifically, if I receive video frames from an external device as
CMSampleBufferand push them into the mixer using:Could you please advise how to make HaishinKit render the preview normally and apply VideoEffect (similar to the built-in camera preview) when frames are injected via mixer.append(_:)?
Background / Tried Steps
I am integrating an external HDMI capture device (Accsoon SeeMo) into my iOS app. The device provides H.264 frames over USB, which I convert into
CMSampleBuffer.Since the source is not
AVCaptureDevice, I tried pushing the frames directly into the HaishinKit mixer usingmixer.append(_:).I wanted to confirm whether this approach fits within HaishinKit’s intended design, or if there is a recommended way to support external camera sources.
Thank you very much for your time and help.
Environment
iPhone 16 Pro
Accsoon Seemo hardware
Lastest Haishinkit
Beta Was this translation helpful? Give feedback.
All reactions