Skip to content

when ext field not exits, extractRtpCapabilities crash #192

Description

@richmonkey

https://github.com/versatica/libmediasoupclient/blob/v3/src/sdp/Utils.cpp#L136
https://github.com/versatica/mediasoup-client/blob/v3/src/handlers/sdp/commonUtils.ts#L113
The implementation logic differs between the C++ and JS libraries.

How to reproduce the crash?

  1. create a producer then close it.
  2. create a producer again, the app crashed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions