Skip to content

[iOS] Opus: audio codec causes crashes on iPad devices #138

@CosmopolitiWideverse

Description

@CosmopolitiWideverse

Hi,
with @SabeeenoGH and @potitoaghilar We've encountered an issue on iPad devices.

Unity: 2022.3.50f1 or 6000.0.49f
Livekit 1.2.4.

When a room is created and the microphone is subsequently published, after a few seconds the app freezes and then crashes.

The problem appears to be caused by Opus, which handles the audio codec, the problem seems to be both in the decoding and decoder phases.

During testing we tried to create the room without publishing the microphone and only the video, the crash in that case did not occur.

To publish the microphone I used the official code that are in the README.

In the attachment you can see on XCode the moment when the crash occurs and the message regarding Opus

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions