Skip to content

[Bug]: iOS app crashing on ref.current.startStreaming on RN > 0.80.0 and fabric=true #107

@trickyc0d3r

Description

@trickyc0d3r

Version

v2.0.2

Which operating systems have you used?

  • Android
  • iOS

Environment that reproduces the issue

iPhone 12 Pro, iPhone 13 pro, iPhone 16 Pro Max

Is it reproducible in the example application?

Yes

RTMP Server

any server dosent matter

Reproduction steps

Run app. On screen where <ApiVideoLiveStreamView style={ss.stream} ref={props.stream_ref} camera="front" enablePinchedZoom={true} video={{ fps: 24, resolution: '720p', // Alternatively, you can specify the resolution in pixels: { width: 1280, height: 720 } bitrate: .5 * 1024 * 1024, // # 2 Mbps gopDuration: 1, // 1 second }} audio={{ bitrate: 128000, sampleRate: 44100, isStereo: true, }} isMuted={false} onConnectionSuccess={(data: any, err: any) => { console.log('connection success', { data, err }); //do what you want }} onConnectionFailed={(err: any) => console.log('CONNECTION FAILURE ', err) } onDisconnect={() => { console.log('disconnect'); //do what you want }} onStartStreaming={(data: any, err: any) => { console.log('start streaming', { data, err }); }} /> is visible - there is camera frame with stuck frame. On acting stream_ref.current.startStreaming - app crashing

Image

Expected result

app works fine

Actual result

2025-07-22_21-04-01.4244_+0200-0e8f3cb1d85a6c3c1f596c2a41d4c2626387883e.txt

Additional context

No response

Relevant logs output

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions