Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 744507 Details for
Bug 817803
net-libs/pjproject silently ignore opus use flag
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Simple application for listing available codes in PJSIP
pjtest.cpp (text/x-c++src), 580 bytes, created by
Ilia Pavlikhin
on 2021-10-11 20:24:07 UTC
(
hide
)
Description:
Simple application for listing available codes in PJSIP
Filename:
MIME Type:
Creator:
Ilia Pavlikhin
Created:
2021-10-11 20:24:07 UTC
Size:
580 bytes
patch
obsolete
>#include <iostream> >#include <pj/log.h> >#include <pjsua2.hpp> > >using namespace pj; > >int main(int argc, char** argv) { > auto ep = new Endpoint(); > > if (!ep) { > std::cout << "Failed to initialize Endpoint" << std::endl; > return 1; > } > pj_log_set_level(0); > ep->libCreate(); > > auto epConfig = new EpConfig(); > epConfig->logConfig.consoleLevel = 0; > > ep->libInit(*epConfig); > > std::cout << "Available codecs:\n" << std::endl; > for (auto c : ep->codecEnum2()) { > std::cout << " - " << c.codecId << " (priority: " << static_cast<int>(c.priority) << ")" << std::endl; > } > return 0; >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 817803
:
744501
|
744504
| 744507