Skip to content

EXC_BREAKPOINT when using VideoRendererView and Swift 6 #926

@reddavis

Description

@reddavis

What did you do?

i've been experimenting with Stream for video calling.

one thing that will be

important for us is the ability to roll our own custom UI.

i've been playing around with something super basic

  1. setting up a StreamVideo using the test credentials provided in the docs
  2. creating a call
  3. joining the call
  4. using VideoRendererView to display the participants

What did you expect to happen?

the VideoRendererView's to render the video.

What happened instead?

EXC_BREAKPOINT (code=1, subcode=0x1016e2f18)
VideoRendererView 
line: 149
Image

after some poking around, i found that this crash only happens when Swift 6 is chosen.

it works fine on Swift 5.

i've attached a demo project.

if you build on Swift 6, you'll get the crash, but when you build with Swift 5 it'll work.

GetStream Environment

GetStream Video version:
1.31.0

GetStream Video frameworks:
StreamVideo, StreamVideoSwiftUI

iOS version:

Tested on iOS26 and iOS18

Swift version:

  • 5 (works fine)
  • 6 (crashes)

Xcode version:

  • 26

Device:

iPhone 16

Additional context

StreamExample.zip

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or request

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions