Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled promise rejection error #246

Open
ahreenah opened this issue Aug 31, 2021 · 0 comments
Open

Unhandled promise rejection error #246

ahreenah opened this issue Aug 31, 2021 · 0 comments

Comments

@ahreenah
Copy link

ahreenah commented Aug 31, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant