Skip to content

Unhandled promise rejection error #246

Description

@ahreenah

Hi! I get following warning when trying to sun my code.

 WARN  Possible Unhandled Promise Rejection (id: 0):
"Title:       pjsua_codec_set_priority(&codec_str, priority)
Code:        70006
Description: Not found (PJ_ENOTFOUND)
Location:    ../src/pjsua2/endpoint.cpp:1962\

and also this promse never resolves.

 endpoint.changeCodecSettings({
        "PCMA/8000/1": 100,
        "PCMU/8000/1": 110,
        "H263/90000": 120,
      }).then(() => {console.log(settings.codecs)});

What can I try to change?
Any help appreciated. Thanks in advance

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions