├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ ├── config.yml │ └── feature_request.md └── workflows │ ├── main.yml │ └── stale.yml ├── .gitignore ├── CONTRIBUTING.md ├── README.md ├── build.sh ├── build ├── openssl │ └── lib │ │ ├── ios │ │ ├── libcrypto.a │ │ └── libssl.a │ │ └── macos │ │ ├── libcrypto.a │ │ └── libssl.a ├── opus │ └── dependencies │ │ └── lib │ │ └── libopus.a └── pjproject │ └── src │ ├── pjlib-util │ ├── include │ │ ├── pjlib-util.h │ │ └── pjlib-util │ │ │ ├── base64.h │ │ │ ├── cli.h │ │ │ ├── cli_console.h │ │ │ ├── cli_imp.h │ │ │ ├── cli_telnet.h │ │ │ ├── config.h │ │ │ ├── crc32.h │ │ │ ├── dns.h │ │ │ ├── dns_server.h │ │ │ ├── errno.h │ │ │ ├── getopt.h │ │ │ ├── hmac_md5.h │ │ │ ├── hmac_sha1.h │ │ │ ├── http_client.h │ │ │ ├── json.h │ │ │ ├── md5.h │ │ │ ├── pcap.h │ │ │ ├── resolver.h │ │ │ ├── scanner.h │ │ │ ├── scanner_cis_bitwise.h │ │ │ ├── scanner_cis_uint.h │ │ │ ├── sha1.h │ │ │ ├── srv_resolver.h │ │ │ ├── string.h │ │ │ ├── stun_simple.h │ │ │ ├── types.h │ │ │ └── xml.h │ └── lib │ │ ├── libpjlib-util-apple-darwin18.6.0.a │ │ └── libpjlib-util-apple-darwin_ios.a │ ├── pjlib │ ├── include │ │ ├── pj++ │ │ │ ├── file.hpp │ │ │ ├── hash.hpp │ │ │ ├── list.hpp │ │ │ ├── lock.hpp │ │ │ ├── os.hpp │ │ │ ├── pool.hpp │ │ │ ├── proactor.hpp │ │ │ ├── scanner.hpp │ │ │ ├── sock.hpp │ │ │ ├── string.hpp │ │ │ ├── timer.hpp │ │ │ ├── tree.hpp │ │ │ └── types.hpp │ │ ├── pj │ │ │ ├── activesock.h │ │ │ ├── addr_resolv.h │ │ │ ├── array.h │ │ │ ├── assert.h │ │ │ ├── compat │ │ │ │ ├── assert.h │ │ │ │ ├── cc_armcc.h │ │ │ │ ├── cc_codew.h │ │ │ │ ├── cc_gcc.h │ │ │ │ ├── cc_gcce.h │ │ │ │ ├── cc_msvc.h │ │ │ │ ├── cc_mwcc.h │ │ │ │ ├── ctype.h │ │ │ │ ├── errno.h │ │ │ │ ├── high_precision.h │ │ │ │ ├── limits.h │ │ │ │ ├── m_alpha.h │ │ │ │ ├── m_armv4.h │ │ │ │ ├── m_auto.h │ │ │ │ ├── m_auto.h.in │ │ │ │ ├── m_i386.h │ │ │ │ ├── m_m68k.h │ │ │ │ ├── m_powerpc.h │ │ │ │ ├── m_sparc.h │ │ │ │ ├── m_x86_64.h │ │ │ │ ├── malloc.h │ │ │ │ ├── os_auto.h │ │ │ │ ├── os_auto.h.in │ │ │ │ ├── os_darwinos.h │ │ │ │ ├── os_linux.h │ │ │ │ ├── os_palmos.h │ │ │ │ ├── os_rtems.h │ │ │ │ ├── os_sunos.h │ │ │ │ ├── os_symbian.h │ │ │ │ ├── os_win32.h │ │ │ │ ├── os_win32_wince.h │ │ │ │ ├── os_winphone8.h │ │ │ │ ├── os_winuwp.h │ │ │ │ ├── rand.h │ │ │ │ ├── setjmp.h │ │ │ │ ├── size_t.h │ │ │ │ ├── socket.h │ │ │ │ ├── stdarg.h │ │ │ │ ├── stdfileio.h │ │ │ │ ├── string.h │ │ │ │ └── time.h │ │ │ ├── config.h │ │ │ ├── config_site.h │ │ │ ├── config_site_sample.h │ │ │ ├── ctype.h │ │ │ ├── doxygen.h │ │ │ ├── errno.h │ │ │ ├── except.h │ │ │ ├── fifobuf.h │ │ │ ├── file_access.h │ │ │ ├── file_io.h │ │ │ ├── guid.h │ │ │ ├── hash.h │ │ │ ├── ioqueue.h │ │ │ ├── ip_helper.h │ │ │ ├── limits.h │ │ │ ├── list.h │ │ │ ├── list_i.h │ │ │ ├── lock.h │ │ │ ├── log.h │ │ │ ├── math.h │ │ │ ├── os.h │ │ │ ├── pool.h │ │ │ ├── pool_alt.h │ │ │ ├── pool_buf.h │ │ │ ├── pool_i.h │ │ │ ├── rand.h │ │ │ ├── rbtree.h │ │ │ ├── sock.h │ │ │ ├── sock_qos.h │ │ │ ├── sock_select.h │ │ │ ├── ssl_sock.h │ │ │ ├── string.h │ │ │ ├── string_i.h │ │ │ ├── timer.h │ │ │ ├── types.h │ │ │ └── unicode.h │ │ ├── pjlib++.hpp │ │ └── pjlib.h │ └── lib │ │ ├── libpj-apple-darwin18.6.0.a │ │ └── libpj-apple-darwin_ios.a │ ├── pjmedia │ ├── include │ │ ├── pjmedia-audiodev │ │ │ ├── audiodev.h │ │ │ ├── audiodev_imp.h │ │ │ ├── audiotest.h │ │ │ ├── config.h │ │ │ └── errno.h │ │ ├── pjmedia-codec.h │ │ ├── pjmedia-codec │ │ │ ├── amr_helper.h │ │ │ ├── amr_sdp_match.h │ │ │ ├── audio_codecs.h │ │ │ ├── bcg729.h │ │ │ ├── config.h │ │ │ ├── config_auto.h │ │ │ ├── config_auto.h.in │ │ │ ├── ffmpeg_vid_codecs.h │ │ │ ├── g722.h │ │ │ ├── g7221.h │ │ │ ├── g7221_sdp_match.h │ │ │ ├── gsm.h │ │ │ ├── h263_packetizer.h │ │ │ ├── h264_packetizer.h │ │ │ ├── ilbc.h │ │ │ ├── ipp_codecs.h │ │ │ ├── l16.h │ │ │ ├── opencore_amr.h │ │ │ ├── openh264.h │ │ │ ├── opus.h │ │ │ ├── passthrough.h │ │ │ ├── silk.h │ │ │ ├── speex.h │ │ │ ├── types.h │ │ │ └── vid_toolbox.h │ │ ├── pjmedia-videodev │ │ │ ├── avi_dev.h │ │ │ ├── config.h │ │ │ ├── errno.h │ │ │ ├── opengl_dev.h │ │ │ ├── videodev.h │ │ │ └── videodev_imp.h │ │ ├── pjmedia.h │ │ ├── pjmedia │ │ │ ├── alaw_ulaw.h │ │ │ ├── audiodev.h │ │ │ ├── avi.h │ │ │ ├── avi_stream.h │ │ │ ├── bidirectional.h │ │ │ ├── circbuf.h │ │ │ ├── clock.h │ │ │ ├── codec.h │ │ │ ├── conference.h │ │ │ ├── config.h │ │ │ ├── config_auto.h │ │ │ ├── config_auto.h.in │ │ │ ├── converter.h │ │ │ ├── delaybuf.h │ │ │ ├── doxygen.h │ │ │ ├── echo.h │ │ │ ├── echo_port.h │ │ │ ├── endpoint.h │ │ │ ├── errno.h │ │ │ ├── event.h │ │ │ ├── format.h │ │ │ ├── frame.h │ │ │ ├── g711.h │ │ │ ├── jbuf.h │ │ │ ├── master_port.h │ │ │ ├── mem_port.h │ │ │ ├── null_port.h │ │ │ ├── plc.h │ │ │ ├── port.h │ │ │ ├── resample.h │ │ │ ├── rtcp.h │ │ │ ├── rtcp_fb.h │ │ │ ├── rtcp_xr.h │ │ │ ├── rtp.h │ │ │ ├── sdp.h │ │ │ ├── sdp_neg.h │ │ │ ├── session.h │ │ │ ├── signatures.h │ │ │ ├── silencedet.h │ │ │ ├── sound.h │ │ │ ├── sound_port.h │ │ │ ├── splitcomb.h │ │ │ ├── stereo.h │ │ │ ├── stream.h │ │ │ ├── stream_common.h │ │ │ ├── symbian_sound_aps.h │ │ │ ├── tonegen.h │ │ │ ├── transport.h │ │ │ ├── transport_adapter_sample.h │ │ │ ├── transport_ice.h │ │ │ ├── transport_loop.h │ │ │ ├── transport_srtp.h │ │ │ ├── transport_udp.h │ │ │ ├── types.h │ │ │ ├── vid_codec.h │ │ │ ├── vid_codec_util.h │ │ │ ├── vid_conf.h │ │ │ ├── vid_port.h │ │ │ ├── vid_stream.h │ │ │ ├── vid_tee.h │ │ │ ├── videodev.h │ │ │ ├── wav_playlist.h │ │ │ ├── wav_port.h │ │ │ ├── wave.h │ │ │ └── wsola.h │ │ ├── pjmedia_audiodev.h │ │ └── pjmedia_videodev.h │ └── lib │ │ ├── libpjmedia-apple-darwin18.6.0.a │ │ ├── libpjmedia-apple-darwin_ios.a │ │ ├── libpjmedia-audiodev-apple-darwin18.6.0.a │ │ ├── libpjmedia-audiodev-apple-darwin_ios.a │ │ ├── libpjmedia-codec-apple-darwin18.6.0.a │ │ ├── libpjmedia-codec-apple-darwin_ios.a │ │ ├── libpjmedia-videodev-apple-darwin18.6.0.a │ │ ├── libpjmedia-videodev-apple-darwin_ios.a │ │ ├── libpjsdp-apple-darwin18.6.0.a │ │ └── libpjsdp-apple-darwin_ios.a │ ├── pjnath │ ├── include │ │ ├── pjnath.h │ │ └── pjnath │ │ │ ├── config.h │ │ │ ├── errno.h │ │ │ ├── ice_session.h │ │ │ ├── ice_strans.h │ │ │ ├── nat_detect.h │ │ │ ├── stun_auth.h │ │ │ ├── stun_config.h │ │ │ ├── stun_msg.h │ │ │ ├── stun_session.h │ │ │ ├── stun_sock.h │ │ │ ├── stun_transaction.h │ │ │ ├── turn_session.h │ │ │ ├── turn_sock.h │ │ │ └── types.h │ └── lib │ │ ├── libpjnath-apple-darwin18.6.0.a │ │ └── libpjnath-apple-darwin_ios.a │ ├── pjsip │ ├── include │ │ ├── pjsip-simple │ │ │ ├── errno.h │ │ │ ├── evsub.h │ │ │ ├── evsub_msg.h │ │ │ ├── iscomposing.h │ │ │ ├── mwi.h │ │ │ ├── pidf.h │ │ │ ├── presence.h │ │ │ ├── publish.h │ │ │ ├── rpid.h │ │ │ ├── types.h │ │ │ └── xpidf.h │ │ ├── pjsip-ua │ │ │ ├── sip_100rel.h │ │ │ ├── sip_inv.h │ │ │ ├── sip_regc.h │ │ │ ├── sip_replaces.h │ │ │ ├── sip_timer.h │ │ │ └── sip_xfer.h │ │ ├── pjsip.h │ │ ├── pjsip │ │ │ ├── print_util.h │ │ │ ├── sip_auth.h │ │ │ ├── sip_auth_aka.h │ │ │ ├── sip_auth_msg.h │ │ │ ├── sip_auth_parser.h │ │ │ ├── sip_autoconf.h │ │ │ ├── sip_autoconf.h.in │ │ │ ├── sip_config.h │ │ │ ├── sip_dialog.h │ │ │ ├── sip_endpoint.h │ │ │ ├── sip_errno.h │ │ │ ├── sip_event.h │ │ │ ├── sip_module.h │ │ │ ├── sip_msg.h │ │ │ ├── sip_multipart.h │ │ │ ├── sip_parser.h │ │ │ ├── sip_private.h │ │ │ ├── sip_resolve.h │ │ │ ├── sip_tel_uri.h │ │ │ ├── sip_transaction.h │ │ │ ├── sip_transport.h │ │ │ ├── sip_transport_loop.h │ │ │ ├── sip_transport_tcp.h │ │ │ ├── sip_transport_tls.h │ │ │ ├── sip_transport_udp.h │ │ │ ├── sip_types.h │ │ │ ├── sip_ua_layer.h │ │ │ ├── sip_uri.h │ │ │ └── sip_util.h │ │ ├── pjsip_auth.h │ │ ├── pjsip_simple.h │ │ ├── pjsip_ua.h │ │ ├── pjsua-lib │ │ │ ├── pjsua.h │ │ │ └── pjsua_internal.h │ │ ├── pjsua.h │ │ ├── pjsua2.hpp │ │ └── pjsua2 │ │ │ ├── account.hpp │ │ │ ├── call.hpp │ │ │ ├── config.hpp │ │ │ ├── doxygen.hpp │ │ │ ├── endpoint.hpp │ │ │ ├── json.hpp │ │ │ ├── media.hpp │ │ │ ├── persistent.hpp │ │ │ ├── presence.hpp │ │ │ ├── siptypes.hpp │ │ │ └── types.hpp │ └── lib │ │ ├── libpjsip-apple-darwin18.6.0.a │ │ ├── libpjsip-apple-darwin_ios.a │ │ ├── libpjsip-simple-apple-darwin18.6.0.a │ │ ├── libpjsip-simple-apple-darwin_ios.a │ │ ├── libpjsip-ua-apple-darwin18.6.0.a │ │ ├── libpjsip-ua-apple-darwin_ios.a │ │ ├── libpjsua-apple-darwin18.6.0.a │ │ ├── libpjsua-apple-darwin_ios.a │ │ ├── libpjsua2-apple-darwin18.6.0.a │ │ └── libpjsua2-apple-darwin_ios.a │ └── third_party │ └── lib │ ├── libg7221codec-apple-darwin18.6.0.a │ ├── libg7221codec-apple-darwin_ios.a │ ├── libgsmcodec-apple-darwin18.6.0.a │ ├── libgsmcodec-apple-darwin_ios.a │ ├── libilbccodec-apple-darwin18.6.0.a │ ├── libilbccodec-apple-darwin_ios.a │ ├── libresample-apple-darwin18.6.0.a │ ├── libresample-apple-darwin_ios.a │ ├── libspeex-apple-darwin18.6.0.a │ ├── libspeex-apple-darwin_ios.a │ ├── libsrtp-apple-darwin18.6.0.a │ ├── libsrtp-apple-darwin_ios.a │ ├── libwebrtc-apple-darwin18.6.0.a │ ├── libwebrtc-apple-darwin_ios.a │ ├── libyuv-apple-darwin18.6.0.a │ └── libyuv-apple-darwin_ios.a ├── download.sh ├── example ├── ipjsystest │ ├── .gitignore │ ├── Classes │ │ ├── RootViewController.h │ │ ├── RootViewController.m │ │ ├── TestViewController.h │ │ ├── TestViewController.m │ │ ├── ipjsystestAppDelegate.h │ │ └── ipjsystestAppDelegate.m │ ├── Default-568h@2x.png │ ├── MainWindow.xib │ ├── Podfile │ ├── Podfile.lock │ ├── RootViewController.xib │ ├── TestViewController.xib │ ├── ipjsystest-Info.plist │ ├── ipjsystest.xcodeproj │ │ ├── project.pbxproj │ │ └── project.xcworkspace │ │ │ └── contents.xcworkspacedata │ ├── ipjsystest.xcworkspace │ │ └── contents.xcworkspacedata │ ├── ipjsystest_Prefix.pch │ └── main.m └── pjsystest │ ├── gui.h │ ├── main_console.c │ ├── main_wm.c │ ├── pjsystest_wince.rc │ ├── pjsystest_wince.rc2 │ ├── resource.h │ ├── systest.c │ └── systest.h ├── openssl ├── config │ └── 20-all-platforms.conf ├── include │ ├── LICENSE │ └── opensslconf-template.h ├── openssl.sh └── scripts │ ├── build-loop-archs.sh │ └── build-loop-targets.sh ├── opus.sh ├── pjsip.podspec └── pjsip.sh /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Issue/Bug report 3 | about: Create a report to help us improve 4 | title: '[Bug]' 5 | labels: 'Status: Pending,Type: Bug' 6 | assignees: '' 7 | 8 | --- 9 | 10 | ```txt 11 | Please notice that issues where this template is not filled out correctly won't receive an answer and get discarded and closed. 12 | 13 | Please delete the parts of the template that are not needed. 14 | 15 | Please remove these lines of text (beginning and ending with three backticks) before submitting the issue. 16 | ``` 17 | 18 | # Prerequisites 19 | 20 | Please answer the following questions for yourself before submitting an issue. 21 | 22 | - [ ] I am running the latest version 23 | - [ ] I checked the README and found no answer 24 | - [ ] I checked to make sure that this issue has not already been filed 25 | - [ ] I'm reporting the issue to the correct repository as it is related to this repository and not to the [official pjsip repository](https://www.pjsip.org) 26 | 27 | # Expected Behavior 28 | 29 | Please describe the behavior you are expecting 30 | 31 | # Current Behavior 32 | 33 | What is the current behavior? 34 | 35 | # Failure Information (for bugs) 36 | 37 | Please help provide information about the failure if this is a bug. If it is not a bug, please remove the rest of this template. 38 | 39 | ## Steps to Reproduce 40 | 41 | Please provide detailed steps for reproducing the issue. 42 | 43 | 1. step 1 44 | 2. step 2 45 | 3. you get it... 46 | 47 | ## Context 48 | 49 | Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions. 50 | 51 | * Xcode Version: 52 | * Platform and architecture building for: 53 | * Operating System: 54 | * SDK version: 55 | (if you're using any other SDK than the one shipped with the specified Xcode version) 56 | 57 | 58 | ## Failure Logs 59 | 60 | Be sure to include any relevant log snippets or files here (if you've rebuilt the project, you'll find the relevant logs under `path_to_project/build/pjproject/src/`; there's a log for each architecture you're building for, e.g.`ios-armv7s.log`). 61 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: false 2 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature Request/Question 3 | about: Request a new feature or ask for help 4 | title: '[FR/Q]' 5 | labels: 'Status: Pending' 6 | assignees: '' 7 | 8 | --- 9 | 10 | ```txt 11 | Please notice that issues where this template is not filled out correctly won't receive an answer and get discarded and closed. 12 | 13 | Please delete the parts of the template that are not needed. 14 | 15 | Please remove these lines of text (beginning and ending with three backticks) before submitting the issue. 16 | ``` 17 | 18 | ## Prerequisites 19 | 20 | Please answer the following questions for yourself before submitting an issue. 21 | 22 | - [ ] I checked to make sure that this feature request/question has not already been filed 23 | - [ ] I'm reporting the issue to the correct repository as it is related to this repository and not to the [official pjsip repository](https://www.pjsip.org) 24 | - [ ] I checked the README and found no answer 25 | - [ ] I am running the latest version 26 | 27 | ## Feature/Question Summary 28 | 29 | Please provide a brief description/summary of the feature/question. 30 | 31 | ## Solves the following problems (only relevant for feature requests): 32 | 33 | If you file a feature request, please state which existing problems/issues this feature request may solve. 34 | 35 | ## Detailed description 36 | 37 | Please provide a detailed description of the feature request/question here. 38 | 39 | ## Environment (only if relevant for feature requests) 40 | 41 | Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions. 42 | 43 | * Xcode Version: 44 | * Platform and architecture building for: 45 | * Operating System: 46 | * SDK version: 47 | (if you're using any other SDK than the one shipped with the specified Xcode version) -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- 1 | name: CI 2 | 3 | on: [push] 4 | 5 | jobs: 6 | build: 7 | 8 | runs-on: macOS-latest 9 | 10 | steps: 11 | - uses: actions/checkout@v1 12 | - name: Build pjsip universal library 13 | run: ./build.sh 14 | -------------------------------------------------------------------------------- /.github/workflows/stale.yml: -------------------------------------------------------------------------------- 1 | name: 'Close Stale Issues' 2 | on: 3 | schedule: 4 | - cron: "0 * * * *" 5 | 6 | jobs: 7 | stale: 8 | runs-on: ubuntu-latest 9 | steps: 10 | - uses: actions/stale@v3 11 | with: 12 | repo-token: ${{ secrets.GITHUB_TOKEN }} 13 | stale-issue-message: 'This issue is stale because it had been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.' 14 | stale-pr-message: 'This pull request is stale because it had been open 30 days with no activity. Remove stale label or comment or this PR will be closed in 5 days.' 15 | close-issue-message: 'This issue got closed because the stale label has not been removed and no comment has been added within the past 5 days.' 16 | close-pr-message: 'This issue got closed because the stale label has not been removed and no comment has been added within the past 5 days.' 17 | stale-issue-label: 'Status: Stale' 18 | stale-pr-label: 'Status: Stale' 19 | close-issue-label: 'Status: Abandoned' 20 | close-pr-label: 'Status: Abandoned' 21 | exempt-issue-labels: "Status: Confirmed,Status: In Progress,Status: Revision Needed" 22 | exempt-pr-labels: "Status: Confirmed,Status: In Progress,Status: Revision Needed" 23 | days-before-stale: 30 24 | days-before-close: 5 25 | 26 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | build/* 3 | 4 | # openh264 5 | !build/openh264 6 | build/openh264/* 7 | 8 | !build/openh264/lib 9 | !build/openh264/lib/* 10 | 11 | # opus 12 | !build/opus 13 | build/opus/* 14 | 15 | !build/opus/dependencies 16 | build/opus/dependencies/* 17 | 18 | !build/opus/dependencies/lib 19 | !build/opus/dependencies/lib/* 20 | 21 | # openssl 22 | !build/openssl 23 | build/openssl/* 24 | 25 | !build/openssl/lib/ 26 | !build/openssl/lib/* 27 | build/openssl/lib/.DS_Store 28 | 29 | # pjsip 30 | !build/pjproject 31 | build/pjproject/* 32 | 33 | !build/pjproject/src 34 | build/pjproject/src/* 35 | 36 | !build/pjproject/src/pjlib/ 37 | build/pjproject/src/pjlib/* 38 | !build/pjproject/src/pjlib/lib/ 39 | !build/pjproject/src/pjlib/include/ 40 | 41 | !build/pjproject/src/pjlib-util/ 42 | build/pjproject/src/pjlib-util/* 43 | !build/pjproject/src/pjlib-util/lib/ 44 | !build/pjproject/src/pjlib-util/include/ 45 | 46 | !build/pjproject/src/pjmedia/ 47 | build/pjproject/src/pjmedia/* 48 | !build/pjproject/src/pjmedia/lib/ 49 | !build/pjproject/src/pjmedia/include/ 50 | 51 | !build/pjproject/src/pjnath/ 52 | build/pjproject/src/pjnath/* 53 | !build/pjproject/src/pjnath/lib/ 54 | !build/pjproject/src/pjnath/include/ 55 | 56 | !build/pjproject/src/pjsip/ 57 | build/pjproject/src/pjsip/* 58 | !build/pjproject/src/pjsip/lib/ 59 | !build/pjproject/src/pjsip/include/ 60 | 61 | !build/pjproject/src/third_party/ 62 | build/pjproject/src/third_party/* 63 | !build/pjproject/src/third_party/lib/ 64 | !build/pjproject/src/third_party/include/ 65 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # How to contribute 2 | 3 | We're really glad you're reading this, because we need developers to help to maintain this project. 4 | 5 | Before filing a bug report or pull request, please ensure that you're reporting to the correct repository! 6 | This repository is pjsip _built for iOS/macOS_ and published on CocoaPods. If you've found a bug within pjsip itself, this is the wrong place and you'd rather go visit [pjsip.org](https://trac.pjsip.org/repos/wiki/FAQ#bug-reports). 7 | 8 | Here are some important resources: 9 | 10 | * [README](https://github.com/chebur/pjsip/blob/master/README.md) tells you what this project is about, 11 | * [Our roadmap](https://github.com/chebur/pjsip/commits/master) is the last commits to this project 12 | * Bugs? [Issues](https://github.com/chebur/pjsip/issues) is where to report them 13 | 14 | ## Submitting changes 15 | 16 | Please send a [GitHub Pull Request to pjsip](https://github.com/chebur/pjsip/compare) with a clear list of what you've done (read more about [pull requests](http://help.github.com/pull-requests/)). When you send a pull request, we will love you forever if you include detailed documentation. Please follow our coding conventions (below) and make sure all of your commits are atomic (one feature per commit). 17 | 18 | Always write a clear log message for your commits. One-line messages are fine for small changes, but bigger changes should look like this: 19 | 20 | $ git commit -m "A brief summary of the commit 21 | > 22 | > A paragraph describing what changed and its impact." 23 | 24 | ## Coding conventions 25 | 26 | Start reading our code and you'll get the hang of it. We optimize for readability: 27 | 28 | * We indent using four spaces (soft tabs) 29 | * This is open source software. Consider the people who will read your code, and make it look nice for them. It's sort of like driving a car: Perhaps you love doing donuts when you're alone, but with passengers the goal is to make the ride as smooth as possible. 30 | 31 | Thanks, 32 | 33 | `pjsip` maintainers 34 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # PJSIP 2 | 3 | PJSIP is a free and open source multimedia communication library written in C language implementing standard based protocols such as SIP, SDP, RTP, STUN, TURN, and ICE. 4 | 5 | ## Features 6 | 7 | - Supported platforms: iOS9+, macOS 10.12+ 8 | - Supported architectures: (iOS) armv7, armv7s, arm64, i386, x86_64; (macOS) x86_64 9 | - pjsip 2.9 10 | - IPv6 support 11 | - OpenSSL supported (LTS 1.1.1b) 12 | - Video support now provided by native frameworks ([VideoToolbox](https://developer.apple.com/documentation/videotoolbox?language=objc)) 13 | - OPUS now supported - this pod provides libopus (1.3.1) 14 | 15 | ## Installation 16 | 17 | Add the following line to your `Podfile` and run `pod install` command. 18 | 19 | ```sh 20 | pod 'pjsip' 21 | ``` 22 | 23 | ## Example 24 | 25 | See [example](https://github.com/chebur/pjsip/tree/master/example/ipjsystest) folder for integration example 26 | 27 | ## Build manually 28 | 29 | 1. Run [build.sh](build.sh). 30 | 2. Drag the generated libraries and headers files into your Xcode project. 31 | 32 | See also [Getting Started: Building for Apple iPhone, iPad and iPod Touch](https://trac.pjsip.org/repos/wiki/Getting-Started/iPhone) 33 | 34 | ## Call for Pull Requests 35 | 36 | It turns out that building pjsip library for iOS is not a trivial task. Since pjsip binaries has to be rebuild from time to time to automate this work I've decided to create bash scripts and share my work with a community. 37 | 38 | It's just my private initiative and I want to state this as clear as possible that this is not an official repository. 39 | 40 | I've finished developing my pjsip application, thats why I'm no longer interested in supporting this repository. But I know there are some people which relies on it. They may have buildtime and runtime issues which I'm not able to debug and investigate. 41 | 42 | If you are a kind of a person that have time and will to fix and update this build scripts, and experienced enough to debug issues, please send me your pull requests — you will be more than welcome. 43 | -------------------------------------------------------------------------------- /build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # environment variables 4 | export OPENSSL_VERSION="1.1.1c" # specify the openssl version to use 5 | export PJSIP_VERSION="2.9" 6 | export OPUS_VERSION="1.3.1" 7 | export MACOS_MIN_SDK_VERSION="10.12" 8 | export IOS_MIN_SDK_VERSION="9.0" 9 | 10 | # see http://stackoverflow.com/a/3915420/318790 11 | function realpath { echo $(cd $(dirname "$1"); pwd)/$(basename "$1"); } 12 | __FILE__=`realpath "$0"` 13 | __DIR__=`dirname "${__FILE__}"` 14 | 15 | BUILD_DIR="${__DIR__}/build" 16 | if [ ! -d ${BUILD_DIR} ]; then 17 | mkdir ${BUILD_DIR} 18 | fi 19 | 20 | # download 21 | function download() { 22 | "${__DIR__}/download.sh" "$1" "$2" #--no-cache 23 | } 24 | 25 | # openssl 26 | OPENSSL_DIR="${BUILD_DIR}/openssl" 27 | OPENSSL_ENABLED= 28 | function openssl() { 29 | if [ ! -d "${OPENSSL_DIR}/lib/iOS" ] || [ ! -d "${OPENSSL_DIR}/lib/macOS" ]; then 30 | if [ ! -d "${OPENSSL_DIR}" ]; then 31 | mkdir -p "${OPENSSL_DIR}" 32 | fi 33 | "${__DIR__}/openssl/openssl.sh" "--version=${OPENSSL_VERSION}" "--reporoot=${OPENSSL_DIR}" "--macos-min-sdk=${MACOS_MIN_SDK_VERSION}" "--ios-min-sdk=${IOS_MIN_SDK_VERSION}" 34 | else 35 | echo "Using OpenSSL..." 36 | fi 37 | 38 | OPENSSL_ENABLED=1 39 | } 40 | 41 | # opus 42 | OPUS_DIR="${BUILD_DIR}/opus" 43 | OPUS_ENABLED= 44 | function opus() { 45 | if [ ! -f "${OPUS_DIR}/dependencies/lib/libopus.a" ] || [ ! -d "${OPUS_DIR}/dependencies/include/opus/" ]; then 46 | "${__DIR__}/opus.sh" "${OPUS_DIR}" 47 | else 48 | echo "Using OPUS..." 49 | fi 50 | 51 | OPUS_ENABLED=1 52 | } 53 | 54 | # pjsip 55 | PJSIP_DIR="${BUILD_DIR}/pjproject" 56 | function pjsip() { 57 | "${__DIR__}/pjsip.sh" "${PJSIP_DIR}" --with-openssl "${OPENSSL_DIR}" --with-opus "${OPUS_DIR}/dependencies" 58 | } 59 | 60 | openssl 61 | opus 62 | pjsip 63 | -------------------------------------------------------------------------------- /build/openssl/lib/ios/libcrypto.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nesterenkodm/pjsip/3fc76adcddffec8974da25125947e05bf3755202/build/openssl/lib/ios/libcrypto.a -------------------------------------------------------------------------------- /build/openssl/lib/ios/libssl.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nesterenkodm/pjsip/3fc76adcddffec8974da25125947e05bf3755202/build/openssl/lib/ios/libssl.a -------------------------------------------------------------------------------- /build/openssl/lib/macos/libcrypto.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nesterenkodm/pjsip/3fc76adcddffec8974da25125947e05bf3755202/build/openssl/lib/macos/libcrypto.a -------------------------------------------------------------------------------- /build/openssl/lib/macos/libssl.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nesterenkodm/pjsip/3fc76adcddffec8974da25125947e05bf3755202/build/openssl/lib/macos/libssl.a -------------------------------------------------------------------------------- /build/opus/dependencies/lib/libopus.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nesterenkodm/pjsip/3fc76adcddffec8974da25125947e05bf3755202/build/opus/dependencies/lib/libopus.a -------------------------------------------------------------------------------- /build/pjproject/src/pjlib-util/include/pjlib-util.h: -------------------------------------------------------------------------------- 1 | /* $Id: pjlib-util.h 4704 2014-01-16 05:30:46Z ming $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJLIB_UTIL_H__ 21 | #define __PJLIB_UTIL_H__ 22 | 23 | /** 24 | * @file pjlib-util.h 25 | * @brief pjlib-util.h 26 | */ 27 | 28 | /* Base */ 29 | #include 30 | #include 31 | 32 | /* Getopt */ 33 | #include 34 | 35 | /* Crypto */ 36 | #include 37 | #include 38 | #include 39 | #include 40 | #include 41 | #include 42 | 43 | /* DNS and resolver */ 44 | #include 45 | #include 46 | #include 47 | 48 | /* Simple DNS server */ 49 | #include 50 | 51 | /* Text scanner and utilities */ 52 | #include 53 | #include 54 | 55 | /* XML */ 56 | #include 57 | 58 | /* JSON */ 59 | #include 60 | 61 | /* Old STUN */ 62 | #include 63 | 64 | /* PCAP */ 65 | #include 66 | 67 | /* HTTP */ 68 | #include 69 | 70 | /** CLI **/ 71 | #include 72 | #include 73 | #include 74 | 75 | #endif /* __PJLIB_UTIL_H__ */ 76 | 77 | -------------------------------------------------------------------------------- /build/pjproject/src/pjlib-util/include/pjlib-util/base64.h: -------------------------------------------------------------------------------- 1 | /* $Id: base64.h 3553 2011-05-05 06:14:19Z nanang $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJLIB_UTIL_BASE64_H__ 21 | #define __PJLIB_UTIL_BASE64_H__ 22 | 23 | /** 24 | * @file base64.h 25 | * @brief Base64 encoding and decoding 26 | */ 27 | 28 | #include 29 | 30 | PJ_BEGIN_DECL 31 | 32 | /** 33 | * @defgroup PJLIB_UTIL_BASE64 Base64 Encoding/Decoding 34 | * @ingroup PJLIB_UTIL_ENCRYPTION 35 | * @{ 36 | * This module implements base64 encoding and decoding. 37 | */ 38 | 39 | /** 40 | * Helper macro to calculate the approximate length required for base256 to 41 | * base64 conversion. 42 | */ 43 | #define PJ_BASE256_TO_BASE64_LEN(len) (len * 4 / 3 + 3) 44 | 45 | /** 46 | * Helper macro to calculate the approximage length required for base64 to 47 | * base256 conversion. 48 | */ 49 | #define PJ_BASE64_TO_BASE256_LEN(len) (len * 3 / 4) 50 | 51 | 52 | /** 53 | * Encode a buffer into base64 encoding. 54 | * 55 | * @param input The input buffer. 56 | * @param in_len Size of the input buffer. 57 | * @param output Output buffer. Caller must allocate this buffer with 58 | * the appropriate size. 59 | * @param out_len On entry, it specifies the length of the output buffer. 60 | * Upon return, this will be filled with the actual 61 | * length of the output buffer. 62 | * 63 | * @return PJ_SUCCESS on success. 64 | */ 65 | PJ_DECL(pj_status_t) pj_base64_encode(const pj_uint8_t *input, int in_len, 66 | char *output, int *out_len); 67 | 68 | 69 | /** 70 | * Decode base64 string. 71 | * 72 | * @param input Input string. 73 | * @param out Buffer to store the output. Caller must allocate 74 | * this buffer with the appropriate size. 75 | * @param out_len On entry, it specifies the length of the output buffer. 76 | * Upon return, this will be filled with the actual 77 | * length of the output. 78 | */ 79 | PJ_DECL(pj_status_t) pj_base64_decode(const pj_str_t *input, 80 | pj_uint8_t *out, int *out_len); 81 | 82 | 83 | 84 | /** 85 | * @} 86 | */ 87 | 88 | PJ_END_DECL 89 | 90 | 91 | #endif /* __PJLIB_UTIL_BASE64_H__ */ 92 | 93 | -------------------------------------------------------------------------------- /build/pjproject/src/pjlib-util/include/pjlib-util/crc32.h: -------------------------------------------------------------------------------- 1 | /* $Id: crc32.h 3553 2011-05-05 06:14:19Z nanang $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJLIB_UTIL_CRC32_H__ 21 | #define __PJLIB_UTIL_CRC32_H__ 22 | 23 | /** 24 | * @file crc32.h 25 | * @brief CRC32 implementation 26 | */ 27 | 28 | #include 29 | 30 | PJ_BEGIN_DECL 31 | 32 | /** 33 | * @defgroup PJLIB_UTIL_CRC32 CRC32 (Cyclic Redundancy Check) 34 | * @ingroup PJLIB_UTIL_ENCRYPTION 35 | * @{ 36 | * This implements CRC32 algorithm. See ITU-T V.42 for the formal 37 | * specification. 38 | */ 39 | 40 | /** CRC32 context. */ 41 | typedef struct pj_crc32_context 42 | { 43 | pj_uint32_t crc_state; /**< Current state. */ 44 | } pj_crc32_context; 45 | 46 | 47 | /** 48 | * Initialize CRC32 context. 49 | * 50 | * @param ctx CRC32 context. 51 | */ 52 | PJ_DECL(void) pj_crc32_init(pj_crc32_context *ctx); 53 | 54 | /** 55 | * Feed data incrementally to the CRC32 algorithm. 56 | * 57 | * @param ctx CRC32 context. 58 | * @param data Input data. 59 | * @param nbytes Length of the input data. 60 | * 61 | * @return The current CRC32 value. 62 | */ 63 | PJ_DECL(pj_uint32_t) pj_crc32_update(pj_crc32_context *ctx, 64 | const pj_uint8_t *data, 65 | pj_size_t nbytes); 66 | 67 | /** 68 | * Finalize CRC32 calculation and retrieve the CRC32 value. 69 | * 70 | * @param ctx CRC32 context. 71 | * 72 | * @return The current CRC value. 73 | */ 74 | PJ_DECL(pj_uint32_t) pj_crc32_final(pj_crc32_context *ctx); 75 | 76 | /** 77 | * Perform one-off CRC32 calculation to the specified data. 78 | * 79 | * @param data Input data. 80 | * @param nbytes Length of input data. 81 | * 82 | * @return CRC value of the data. 83 | */ 84 | PJ_DECL(pj_uint32_t) pj_crc32_calc(const pj_uint8_t *data, 85 | pj_size_t nbytes); 86 | 87 | 88 | /** 89 | * @} 90 | */ 91 | 92 | PJ_END_DECL 93 | 94 | 95 | #endif /* __PJLIB_UTIL_CRC32_H__ */ 96 | 97 | -------------------------------------------------------------------------------- /build/pjproject/src/pjlib-util/include/pjlib-util/md5.h: -------------------------------------------------------------------------------- 1 | /* $Id: md5.h 3553 2011-05-05 06:14:19Z nanang $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJLIB_UTIL_MD5_H__ 21 | #define __PJLIB_UTIL_MD5_H__ 22 | 23 | /** 24 | * @file md5.h 25 | * @brief MD5 Functions 26 | */ 27 | 28 | #include 29 | 30 | PJ_BEGIN_DECL 31 | 32 | /** 33 | * @defgroup PJLIB_UTIL_MD5 MD5 34 | * @ingroup PJLIB_UTIL_ENCRYPTION 35 | * @{ 36 | */ 37 | 38 | 39 | /** MD5 context. */ 40 | typedef struct pj_md5_context 41 | { 42 | pj_uint32_t buf[4]; /**< buf */ 43 | pj_uint32_t bits[2]; /**< bits */ 44 | pj_uint8_t in[64]; /**< in */ 45 | } pj_md5_context; 46 | 47 | /** Initialize the algorithm. 48 | * @param pms MD5 context. 49 | */ 50 | PJ_DECL(void) pj_md5_init(pj_md5_context *pms); 51 | 52 | /** Append a string to the message. 53 | * @param pms MD5 context. 54 | * @param data Data. 55 | * @param nbytes Length of data. 56 | */ 57 | PJ_DECL(void) pj_md5_update( pj_md5_context *pms, 58 | const pj_uint8_t *data, unsigned nbytes); 59 | 60 | /** Finish the message and return the digest. 61 | * @param pms MD5 context. 62 | * @param digest 16 byte digest. 63 | */ 64 | PJ_DECL(void) pj_md5_final(pj_md5_context *pms, pj_uint8_t digest[16]); 65 | 66 | 67 | /** 68 | * @} 69 | */ 70 | 71 | PJ_END_DECL 72 | 73 | 74 | #endif /* __PJLIB_UTIL_MD5_H__ */ 75 | -------------------------------------------------------------------------------- /build/pjproject/src/pjlib-util/include/pjlib-util/scanner_cis_uint.h: -------------------------------------------------------------------------------- 1 | /* $Id: scanner_cis_uint.h 3553 2011-05-05 06:14:19Z nanang $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJLIB_UTIL_SCANNER_CIS_BIT_H__ 21 | #define __PJLIB_UTIL_SCANNER_CIS_BIT_H__ 22 | 23 | #include 24 | 25 | PJ_BEGIN_DECL 26 | 27 | /** 28 | * This describes the type of individual character specification in 29 | * #pj_cis_buf_t. Basicly the number of bits here 30 | */ 31 | #ifndef PJ_CIS_ELEM_TYPE 32 | # define PJ_CIS_ELEM_TYPE int 33 | #endif 34 | 35 | /** 36 | * This describes the type of individual character specification in 37 | * #pj_cis_buf_t. 38 | */ 39 | typedef PJ_CIS_ELEM_TYPE pj_cis_elem_t; 40 | 41 | /** pj_cis_buf_t is not used when uint back-end is used. */ 42 | typedef int pj_cis_buf_t; 43 | 44 | /** 45 | * Character input specification. 46 | */ 47 | typedef struct pj_cis_t 48 | { 49 | PJ_CIS_ELEM_TYPE cis_buf[256]; /**< Internal buffer. */ 50 | } pj_cis_t; 51 | 52 | 53 | /** 54 | * Set the membership of the specified character. 55 | * Note that this is a macro, and arguments may be evaluated more than once. 56 | * 57 | * @param cis Pointer to character input specification. 58 | * @param c The character. 59 | */ 60 | #define PJ_CIS_SET(cis,c) ((cis)->cis_buf[(int)(c)] = 1) 61 | 62 | /** 63 | * Remove the membership of the specified character. 64 | * Note that this is a macro, and arguments may be evaluated more than once. 65 | * 66 | * @param cis Pointer to character input specification. 67 | * @param c The character to be removed from the membership. 68 | */ 69 | #define PJ_CIS_CLR(cis,c) ((cis)->cis_buf[(int)c] = 0) 70 | 71 | /** 72 | * Check the membership of the specified character. 73 | * Note that this is a macro, and arguments may be evaluated more than once. 74 | * 75 | * @param cis Pointer to character input specification. 76 | * @param c The character. 77 | */ 78 | #define PJ_CIS_ISSET(cis,c) ((cis)->cis_buf[(int)c]) 79 | 80 | 81 | 82 | PJ_END_DECL 83 | 84 | #endif /* __PJLIB_UTIL_SCANNER_CIS_BIT_H__ */ 85 | -------------------------------------------------------------------------------- /build/pjproject/src/pjlib-util/include/pjlib-util/sha1.h: -------------------------------------------------------------------------------- 1 | /* $Id: sha1.h 3553 2011-05-05 06:14:19Z nanang $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJLIB_UTIL_SHA1_H__ 21 | #define __PJLIB_UTIL_SHA1_H__ 22 | 23 | /** 24 | * @file sha1.h 25 | * @brief SHA1 encryption implementation 26 | */ 27 | 28 | #include 29 | 30 | PJ_BEGIN_DECL 31 | 32 | /** 33 | * @defgroup PJLIB_UTIL_SHA1 SHA1 34 | * @ingroup PJLIB_UTIL_ENCRYPTION 35 | * @{ 36 | */ 37 | 38 | /** SHA1 context */ 39 | typedef struct pj_sha1_context 40 | { 41 | pj_uint32_t state[5]; /**< State */ 42 | pj_uint32_t count[2]; /**< Count */ 43 | pj_uint8_t buffer[64]; /**< Buffer */ 44 | } pj_sha1_context; 45 | 46 | /** SHA1 digest size is 20 bytes */ 47 | #define PJ_SHA1_DIGEST_SIZE 20 48 | 49 | 50 | /** Initialize the algorithm. 51 | * @param ctx SHA1 context. 52 | */ 53 | PJ_DECL(void) pj_sha1_init(pj_sha1_context *ctx); 54 | 55 | /** Append a stream to the message. 56 | * @param ctx SHA1 context. 57 | * @param data Data. 58 | * @param nbytes Length of data. 59 | */ 60 | PJ_DECL(void) pj_sha1_update(pj_sha1_context *ctx, 61 | const pj_uint8_t *data, 62 | const pj_size_t nbytes); 63 | 64 | /** Finish the message and return the digest. 65 | * @param ctx SHA1 context. 66 | * @param digest 16 byte digest. 67 | */ 68 | PJ_DECL(void) pj_sha1_final(pj_sha1_context *ctx, 69 | pj_uint8_t digest[PJ_SHA1_DIGEST_SIZE]); 70 | 71 | 72 | /** 73 | * @} 74 | */ 75 | 76 | PJ_END_DECL 77 | 78 | 79 | #endif /* __PJLIB_UTIL_SHA1_H__ */ 80 | 81 | -------------------------------------------------------------------------------- /build/pjproject/src/pjlib-util/include/pjlib-util/types.h: -------------------------------------------------------------------------------- 1 | /* $Id: types.h 3553 2011-05-05 06:14:19Z nanang $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJLIB_UTIL_TYPES_H__ 21 | #define __PJLIB_UTIL_TYPES_H__ 22 | 23 | /** 24 | * @file types.h 25 | * @brief PJLIB-UTIL types. 26 | */ 27 | 28 | #include 29 | #include 30 | 31 | /** 32 | * @defgroup PJLIB_UTIL_BASE Base 33 | * @{ 34 | */ 35 | 36 | PJ_BEGIN_DECL 37 | 38 | /** 39 | * Initialize PJLIB UTIL (defined in errno.c) 40 | * 41 | * @return PJ_SUCCESS on success. 42 | */ 43 | PJ_DECL(pj_status_t) pjlib_util_init(void); 44 | 45 | 46 | 47 | PJ_END_DECL 48 | 49 | 50 | /** 51 | * @} 52 | */ 53 | 54 | /** 55 | * @defgroup PJLIB_TEXT Text and String Manipulation 56 | */ 57 | 58 | /** 59 | * @defgroup PJ_PROTOCOLS Protocols 60 | */ 61 | 62 | /** 63 | * @defgroup PJ_FILE_FMT File Formats 64 | */ 65 | 66 | /** 67 | * @mainpage PJLIB-UTIL 68 | * 69 | * \n 70 | * \n 71 | * \n 72 | * This is the documentation of PJLIB-UTIL, an auxiliary library providing 73 | * adjunct functions to PJLIB. 74 | * 75 | * Please go to the Table of Contents page 76 | * for list of modules. 77 | * 78 | * 79 | * \n 80 | * \n 81 | * \n 82 | * \n 83 | * \n 84 | * \n 85 | * \n 86 | * \n 87 | * \n 88 | * \n 89 | * \n 90 | * \n 91 | * \n 92 | */ 93 | 94 | #endif /* __PJLIB_UTIL_TYPES_H__ */ 95 | 96 | -------------------------------------------------------------------------------- /build/pjproject/src/pjlib-util/lib/libpjlib-util-apple-darwin18.6.0.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nesterenkodm/pjsip/3fc76adcddffec8974da25125947e05bf3755202/build/pjproject/src/pjlib-util/lib/libpjlib-util-apple-darwin18.6.0.a -------------------------------------------------------------------------------- /build/pjproject/src/pjlib-util/lib/libpjlib-util-apple-darwin_ios.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nesterenkodm/pjsip/3fc76adcddffec8974da25125947e05bf3755202/build/pjproject/src/pjlib-util/lib/libpjlib-util-apple-darwin_ios.a -------------------------------------------------------------------------------- /build/pjproject/src/pjlib/include/pj/compat/assert.h: -------------------------------------------------------------------------------- 1 | /* $Id: assert.h 5692 2017-11-13 06:06:25Z ming $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJ_COMPAT_ASSERT_H__ 21 | #define __PJ_COMPAT_ASSERT_H__ 22 | 23 | /** 24 | * @file assert.h 25 | * @brief Provides assert() macro. 26 | */ 27 | 28 | #if defined(PJ_HAS_ASSERT_H) && PJ_HAS_ASSERT_H != 0 29 | # include 30 | 31 | #else 32 | # warning "assert() is not implemented" 33 | # define assert(expr) 34 | #endif 35 | 36 | #endif /* __PJ_COMPAT_ASSERT_H__ */ 37 | 38 | -------------------------------------------------------------------------------- /build/pjproject/src/pjlib/include/pj/compat/cc_armcc.h: -------------------------------------------------------------------------------- 1 | /* $Id: cc_armcc.h 4624 2013-10-21 06:37:30Z ming $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJ_COMPAT_CC_ARMCC_H__ 21 | #define __PJ_COMPAT_CC_ARMCC_H__ 22 | 23 | /** 24 | * @file cc_armcc.h 25 | * @brief Describes ARMCC compiler specifics. 26 | */ 27 | 28 | #ifndef __ARMCC__ 29 | # error "This file is only for armcc!" 30 | #endif 31 | 32 | #define PJ_CC_NAME "armcc" 33 | #define PJ_CC_VER_1 (__ARMCC_VERSION/100000) 34 | #define PJ_CC_VER_2 ((__ARMCC_VERSION%100000)/10000) 35 | #define PJ_CC_VER_3 (__ARMCC_VERSION%10000) 36 | 37 | #ifdef __cplusplus 38 | # define PJ_INLINE_SPECIFIER inline 39 | #else 40 | # define PJ_INLINE_SPECIFIER static __inline 41 | #endif 42 | 43 | #define PJ_THREAD_FUNC 44 | #define PJ_NORETURN 45 | #define PJ_ATTR_NORETURN __attribute__ ((noreturn)) 46 | #define PJ_ATTR_MAY_ALIAS __attribute__ ((__may_alias__)) 47 | 48 | #define PJ_HAS_INT64 1 49 | 50 | typedef long long pj_int64_t; 51 | typedef unsigned long long pj_uint64_t; 52 | 53 | #define PJ_INT64_FMT "L" 54 | 55 | #define PJ_UNREACHED(x) 56 | 57 | #endif /* __PJ_COMPAT_CC_ARMCC_H__ */ 58 | 59 | -------------------------------------------------------------------------------- /build/pjproject/src/pjlib/include/pj/compat/cc_codew.h: -------------------------------------------------------------------------------- 1 | /* $Id: cc_codew.h 4624 2013-10-21 06:37:30Z ming $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJ_COMPAT_CC_CODEW_H__ 21 | #define __PJ_COMPAT_CC_CODEW_H__ 22 | 23 | /** 24 | * @file cc_codew.h 25 | * @brief Describes MetroWerks Code Warrior compiler specifics. 26 | */ 27 | 28 | #ifndef __MWERKS__ 29 | # error "This file is only for Code Warrior!" 30 | #endif 31 | 32 | #define PJ_CC_NAME "codewarrior" 33 | #define PJ_CC_VER_1 ((__MWERKS__ & 0xF000) >> 12) 34 | #define PJ_CC_VER_2 ((__MWERKS__ & 0x0F00) >> 8) 35 | #define PJ_CC_VER_3 ((__MWERKS__ & 0xFF)) 36 | 37 | 38 | #define PJ_INLINE_SPECIFIER static inline 39 | #define PJ_THREAD_FUNC 40 | #define PJ_NORETURN 41 | #define PJ_ATTR_NORETURN 42 | #define PJ_ATTR_MAY_ALIAS 43 | 44 | #define PJ_HAS_INT64 1 45 | 46 | typedef long long pj_int64_t; 47 | typedef unsigned long long pj_uint64_t; 48 | 49 | #define PJ_INT64(val) val##LL 50 | #define PJ_UINT64(val) val##LLU 51 | #define PJ_INT64_FMT "L" 52 | 53 | #define PJ_UNREACHED(x) 54 | 55 | #endif /* __PJ_COMPAT_CC_CODEW_H__ */ 56 | 57 | -------------------------------------------------------------------------------- /build/pjproject/src/pjlib/include/pj/compat/cc_gcc.h: -------------------------------------------------------------------------------- 1 | /* $Id: cc_gcc.h 4704 2014-01-16 05:30:46Z ming $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJ_COMPAT_CC_GCC_H__ 21 | #define __PJ_COMPAT_CC_GCC_H__ 22 | 23 | /** 24 | * @file cc_gcc.h 25 | * @brief Describes GCC compiler specifics. 26 | */ 27 | 28 | #ifndef __GNUC__ 29 | # error "This file is only for gcc!" 30 | #endif 31 | 32 | #define PJ_CC_NAME "gcc" 33 | #define PJ_CC_VER_1 __GNUC__ 34 | #define PJ_CC_VER_2 __GNUC_MINOR__ 35 | 36 | /* __GNUC_PATCHLEVEL__ doesn't exist in gcc-2.9x.x */ 37 | #ifdef __GNUC_PATCHLEVEL__ 38 | # define PJ_CC_VER_3 __GNUC_PATCHLEVEL__ 39 | #else 40 | # define PJ_CC_VER_3 0 41 | #endif 42 | 43 | 44 | 45 | #define PJ_THREAD_FUNC 46 | #define PJ_NORETURN 47 | 48 | #define PJ_HAS_INT64 1 49 | 50 | #ifdef __STRICT_ANSI__ 51 | #include 52 | typedef int64_t pj_int64_t; 53 | typedef uint64_t pj_uint64_t; 54 | #define PJ_INLINE_SPECIFIER static __inline 55 | #define PJ_ATTR_NORETURN 56 | #define PJ_ATTR_MAY_ALIAS 57 | #else 58 | typedef long long pj_int64_t; 59 | typedef unsigned long long pj_uint64_t; 60 | #define PJ_INLINE_SPECIFIER static inline 61 | #define PJ_ATTR_NORETURN __attribute__ ((noreturn)) 62 | #define PJ_ATTR_MAY_ALIAS __attribute__((__may_alias__)) 63 | #endif 64 | 65 | #define PJ_INT64(val) val##LL 66 | #define PJ_UINT64(val) val##ULL 67 | #define PJ_INT64_FMT "L" 68 | 69 | 70 | #ifdef __GLIBC__ 71 | # define PJ_HAS_BZERO 1 72 | #endif 73 | 74 | #define PJ_UNREACHED(x) 75 | 76 | #define PJ_ALIGN_DATA(declaration, alignment) declaration __attribute__((aligned (alignment))) 77 | 78 | 79 | #endif /* __PJ_COMPAT_CC_GCC_H__ */ 80 | 81 | -------------------------------------------------------------------------------- /build/pjproject/src/pjlib/include/pj/compat/cc_gcce.h: -------------------------------------------------------------------------------- 1 | /* $Id: cc_gcce.h 4624 2013-10-21 06:37:30Z ming $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJ_COMPAT_CC_GCCE_H__ 21 | #define __PJ_COMPAT_CC_GCCE_H__ 22 | 23 | /** 24 | * @file cc_gcce.h 25 | * @brief Describes GCCE compiler specifics. 26 | */ 27 | 28 | #ifndef __GCCE__ 29 | # error "This file is only for gcce!" 30 | #endif 31 | 32 | #define PJ_CC_NAME "gcce" 33 | #define PJ_CC_VER_1 __GCCE__ 34 | #define PJ_CC_VER_2 __GCCE_MINOR__ 35 | #define PJ_CC_VER_3 __GCCE_PATCHLEVEL__ 36 | 37 | 38 | #define PJ_INLINE_SPECIFIER static inline 39 | #define PJ_THREAD_FUNC 40 | #define PJ_NORETURN 41 | #define PJ_ATTR_NORETURN __attribute__ ((noreturn)) 42 | #define PJ_ATTR_MAY_ALIAS __attribute__ ((__may_alias__)) 43 | 44 | #define PJ_HAS_INT64 1 45 | 46 | typedef long long pj_int64_t; 47 | typedef unsigned long long pj_uint64_t; 48 | 49 | #define PJ_INT64(val) val##LL 50 | #define PJ_UINT64(val) val##LLU 51 | #define PJ_INT64_FMT "L" 52 | 53 | 54 | #endif /* __PJ_COMPAT_CC_GCCE_H__ */ 55 | 56 | -------------------------------------------------------------------------------- /build/pjproject/src/pjlib/include/pj/compat/cc_msvc.h: -------------------------------------------------------------------------------- 1 | /* $Id: cc_msvc.h 4624 2013-10-21 06:37:30Z ming $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJ_COMPAT_CC_MSVC_H__ 21 | #define __PJ_COMPAT_CC_MSVC_H__ 22 | 23 | /** 24 | * @file cc_msvc.h 25 | * @brief Describes Microsoft Visual C compiler specifics. 26 | */ 27 | 28 | #ifndef _MSC_VER 29 | # error "This header file is only for Visual C compiler!" 30 | #endif 31 | 32 | #define PJ_CC_NAME "msvc" 33 | #define PJ_CC_VER_1 (_MSC_VER/100) 34 | #define PJ_CC_VER_2 (_MSC_VER%100) 35 | #define PJ_CC_VER_3 0 36 | 37 | /* Disable CRT deprecation warnings. */ 38 | #if PJ_CC_VER_1 >= 8 && !defined(_CRT_SECURE_NO_DEPRECATE) 39 | # define _CRT_SECURE_NO_DEPRECATE 40 | #endif 41 | #if PJ_CC_VER_1 >= 8 && !defined(_CRT_SECURE_NO_WARNINGS) 42 | # define _CRT_SECURE_NO_WARNINGS 43 | /* The above doesn't seem to work, at least on VS2005, so lets use 44 | * this construct as well. 45 | */ 46 | # pragma warning(disable: 4996) 47 | #endif 48 | 49 | #pragma warning(disable: 4127) // conditional expression is constant 50 | #pragma warning(disable: 4611) // not wise to mix setjmp with C++ 51 | #pragma warning(disable: 4514) // unref. inline function has been removed 52 | #ifdef NDEBUG 53 | # pragma warning(disable: 4702) // unreachable code 54 | # pragma warning(disable: 4710) // function is not inlined. 55 | # pragma warning(disable: 4711) // function selected for auto inline expansion 56 | #endif 57 | 58 | #ifdef __cplusplus 59 | # define PJ_INLINE_SPECIFIER inline 60 | #else 61 | # define PJ_INLINE_SPECIFIER static __inline 62 | #endif 63 | 64 | #define PJ_EXPORT_DECL_SPECIFIER __declspec(dllexport) 65 | #define PJ_EXPORT_DEF_SPECIFIER __declspec(dllexport) 66 | #define PJ_IMPORT_DECL_SPECIFIER __declspec(dllimport) 67 | 68 | #define PJ_THREAD_FUNC 69 | #define PJ_NORETURN __declspec(noreturn) 70 | #define PJ_ATTR_NORETURN 71 | #define PJ_ATTR_MAY_ALIAS 72 | 73 | #define PJ_HAS_INT64 1 74 | 75 | typedef __int64 pj_int64_t; 76 | typedef unsigned __int64 pj_uint64_t; 77 | 78 | #define PJ_INT64(val) val##i64 79 | #define PJ_UINT64(val) val##ui64 80 | #define PJ_INT64_FMT "I64" 81 | 82 | #define PJ_UNREACHED(x) 83 | 84 | #define PJ_ALIGN_DATA(declaration, alignment) __declspec(align(alignment)) declaration 85 | 86 | 87 | #endif /* __PJ_COMPAT_CC_MSVC_H__ */ 88 | 89 | -------------------------------------------------------------------------------- /build/pjproject/src/pjlib/include/pj/compat/cc_mwcc.h: -------------------------------------------------------------------------------- 1 | /* $Id: cc_mwcc.h 4624 2013-10-21 06:37:30Z ming $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJ_COMPAT_CC_MWCC_H__ 21 | #define __PJ_COMPAT_CC_MWCC_H__ 22 | 23 | /** 24 | * @file cc_mwcc.h 25 | * @brief Describes MWCC compiler specifics. 26 | */ 27 | 28 | #ifndef __CW32__ 29 | # error "This file is only for mwcc!" 30 | #endif 31 | 32 | #define PJ_CC_NAME "mwcc32sym" 33 | #define PJ_CC_VER_1 1 34 | #define PJ_CC_VER_2 0 35 | #define PJ_CC_VER_3 0 36 | 37 | 38 | #define PJ_INLINE_SPECIFIER static inline 39 | #define PJ_THREAD_FUNC 40 | #define PJ_NORETURN 41 | #define PJ_ATTR_NORETURN __attribute__ ((noreturn)) 42 | #define PJ_ATTR_MAY_ALIAS 43 | 44 | #define PJ_HAS_INT64 1 45 | 46 | typedef long long pj_int64_t; 47 | typedef unsigned long long pj_uint64_t; 48 | 49 | #define PJ_INT64(val) val##LL 50 | #define PJ_UINT64(val) val##LLU 51 | #define PJ_INT64_FMT "L" 52 | 53 | #define PJ_UNREACHED(x) 54 | 55 | #endif /* __PJ_COMPAT_CC_MWCC_H__ */ 56 | 57 | -------------------------------------------------------------------------------- /build/pjproject/src/pjlib/include/pj/compat/ctype.h: -------------------------------------------------------------------------------- 1 | /* $Id: ctype.h 5599 2017-06-05 03:31:18Z riza $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJ_COMPAT_CTYPE_H__ 21 | #define __PJ_COMPAT_CTYPE_H__ 22 | 23 | /** 24 | * @file ctype.h 25 | * @brief Provides ctype function family. 26 | */ 27 | 28 | #if defined(PJ_HAS_CTYPE_H) && PJ_HAS_CTYPE_H != 0 29 | # include 30 | #else 31 | # define isalnum(c) (isalpha(c) || isdigit(c)) 32 | # define isalpha(c) (islower(c) || isupper(c)) 33 | # define isascii(c) (((unsigned char)(c))<=0x7f) 34 | # define isdigit(c) ((c)>='0' && (c)<='9') 35 | # define isspace(c) ((c)==' ' || (c)=='\t' ||\ 36 | (c)=='\n' || (c)=='\r' || (c)=='\v') 37 | # define islower(c) ((c)>='a' && (c)<='z') 38 | # define isupper(c) ((c)>='A' && (c)<='Z') 39 | # define isxdigit(c) (isdigit(c) || (tolower(c)>='a'&&tolower(c)<='f')) 40 | # define tolower(c) (((c) >= 'A' && (c) <= 'Z') ? (c)+('a'-'A') : (c)) 41 | # define toupper(c) (((c) >= 'a' && (c) <= 'z') ? (c)-('a'-'A') : (c)) 42 | #endif 43 | 44 | 45 | #endif /* __PJ_COMPAT_CTYPE_H__ */ 46 | -------------------------------------------------------------------------------- /build/pjproject/src/pjlib/include/pj/compat/errno.h: -------------------------------------------------------------------------------- 1 | /* $Id: errno.h 4537 2013-06-19 06:47:43Z riza $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJ_COMPAT_ERRNO_H__ 21 | #define __PJ_COMPAT_ERRNO_H__ 22 | 23 | #if defined(PJ_WIN32) && PJ_WIN32 != 0 || \ 24 | defined(PJ_WIN32_WINCE) && PJ_WIN32_WINCE != 0 || \ 25 | defined(PJ_WIN64) && PJ_WIN64 != 0 26 | 27 | typedef unsigned long pj_os_err_type; 28 | # define pj_get_native_os_error() GetLastError() 29 | # define pj_get_native_netos_error() WSAGetLastError() 30 | 31 | #elif defined(PJ_HAS_ERRNO_VAR) && PJ_HAS_ERRNO_VAR!= 0 32 | 33 | typedef int pj_os_err_type; 34 | # define pj_get_native_os_error() (errno) 35 | # define pj_get_native_netos_error() (errno) 36 | 37 | #else 38 | 39 | # error "Please define how to get errno for this platform here!" 40 | 41 | #endif 42 | 43 | 44 | #endif /* __PJ_COMPAT_ERRNO_H__ */ 45 | 46 | -------------------------------------------------------------------------------- /build/pjproject/src/pjlib/include/pj/compat/high_precision.h: -------------------------------------------------------------------------------- 1 | /* $Id: high_precision.h 5692 2017-11-13 06:06:25Z ming $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJ_COMPAT_HIGH_PRECISION_H__ 21 | #define __PJ_COMPAT_HIGH_PRECISION_H__ 22 | 23 | 24 | #if defined(PJ_HAS_FLOATING_POINT) && PJ_HAS_FLOATING_POINT != 0 25 | /* 26 | * The first choice for high precision math is to use double. 27 | */ 28 | # include 29 | typedef double pj_highprec_t; 30 | 31 | # define PJ_HIGHPREC_VALUE_IS_ZERO(a) (a==0) 32 | # define pj_highprec_mod(a,b) (a=fmod(a,b)) 33 | 34 | #elif defined(PJ_HAS_INT64) && PJ_HAS_INT64 != 0 35 | /* 36 | * Next choice is to use 64-bit arithmatics. 37 | */ 38 | typedef pj_int64_t pj_highprec_t; 39 | 40 | #else 41 | # warning "High precision math is not available" 42 | 43 | /* 44 | * Last, fallback to 32-bit arithmetics. 45 | */ 46 | typedef pj_int32_t pj_highprec_t; 47 | 48 | #endif 49 | 50 | /** 51 | * @def pj_highprec_mul 52 | * pj_highprec_mul(a1, a2) - High Precision Multiplication 53 | * Multiply a1 and a2, and store the result in a1. 54 | */ 55 | #ifndef pj_highprec_mul 56 | # define pj_highprec_mul(a1,a2) (a1 = a1 * a2) 57 | #endif 58 | 59 | /** 60 | * @def pj_highprec_div 61 | * pj_highprec_div(a1, a2) - High Precision Division 62 | * Divide a2 from a1, and store the result in a1. 63 | */ 64 | #ifndef pj_highprec_div 65 | # define pj_highprec_div(a1,a2) (a1 = a1 / a2) 66 | #endif 67 | 68 | /** 69 | * @def pj_highprec_mod 70 | * pj_highprec_mod(a1, a2) - High Precision Modulus 71 | * Get the modulus a2 from a1, and store the result in a1. 72 | */ 73 | #ifndef pj_highprec_mod 74 | # define pj_highprec_mod(a1,a2) (a1 = a1 % a2) 75 | #endif 76 | 77 | 78 | /** 79 | * @def PJ_HIGHPREC_VALUE_IS_ZERO(a) 80 | * Test if the specified high precision value is zero. 81 | */ 82 | #ifndef PJ_HIGHPREC_VALUE_IS_ZERO 83 | # define PJ_HIGHPREC_VALUE_IS_ZERO(a) (a==0) 84 | #endif 85 | 86 | 87 | #endif /* __PJ_COMPAT_HIGH_PRECISION_H__ */ 88 | 89 | -------------------------------------------------------------------------------- /build/pjproject/src/pjlib/include/pj/compat/limits.h: -------------------------------------------------------------------------------- 1 | /* $Id: limits.h 5682 2017-11-08 02:58:18Z riza $ */ 2 | /* 3 | * Copyright (C) 2017 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2017 George Joseph 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJ_COMPAT_LIMITS_H__ 21 | #define __PJ_COMPAT_LIMITS_H__ 22 | 23 | /** 24 | * @file limits.h 25 | * @brief Provides integer limits normally found in limits.h. 26 | */ 27 | 28 | #if defined(PJ_HAS_LIMITS_H) && PJ_HAS_LIMITS_H != 0 29 | # include 30 | #else 31 | 32 | # ifdef _MSC_VER 33 | # pragma message("limits.h is not found or not supported. LONG_MIN and "\ 34 | "LONG_MAX will be defined by the library in "\ 35 | "pj/compats/limits.h and overridable in config_site.h") 36 | # else 37 | # warning "limits.h is not found or not supported. LONG_MIN and LONG_MAX " \ 38 | "will be defined by the library in pj/compats/limits.h and "\ 39 | "overridable in config_site.h" 40 | # endif 41 | 42 | /* Minimum and maximum values a `signed long int' can hold. */ 43 | # ifndef LONG_MAX 44 | # if __WORDSIZE == 64 45 | # define LONG_MAX 9223372036854775807L 46 | # else 47 | # define LONG_MAX 2147483647L 48 | # endif 49 | # endif 50 | 51 | # ifndef LONG_MIN 52 | # define LONG_MIN (-LONG_MAX - 1L) 53 | # endif 54 | 55 | /* Maximum value an `unsigned long int' can hold. (Minimum is 0.) */ 56 | # ifndef ULONG_MAX 57 | # if __WORDSIZE == 64 58 | # define ULONG_MAX 18446744073709551615UL 59 | # else 60 | # define ULONG_MAX 4294967295UL 61 | # endif 62 | # endif 63 | #endif 64 | 65 | #endif /* __PJ_COMPAT_LIMITS_H__ */ 66 | -------------------------------------------------------------------------------- /build/pjproject/src/pjlib/include/pj/compat/m_alpha.h: -------------------------------------------------------------------------------- 1 | /* $Id: m_alpha.h 3553 2011-05-05 06:14:19Z nanang $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJ_COMPAT_M_ALPHA_H__ 21 | #define __PJ_COMPAT_M_ALPHA_H__ 22 | 23 | /** 24 | * @file m_alpha.h 25 | * @brief Describes Alpha processor family specifics. 26 | */ 27 | 28 | #define PJ_M_NAME "alpha" 29 | 30 | #define PJ_HAS_PENTIUM 0 31 | #define PJ_IS_LITTLE_ENDIAN 1 32 | #define PJ_IS_BIG_ENDIAN 0 33 | 34 | 35 | #endif /* __PJ_COMPAT_M_ALPHA_H__ */ 36 | 37 | -------------------------------------------------------------------------------- /build/pjproject/src/pjlib/include/pj/compat/m_armv4.h: -------------------------------------------------------------------------------- 1 | /* $Id: m_armv4.h 3553 2011-05-05 06:14:19Z nanang $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJ_COMPAT_M_ARMV4_H__ 21 | #define __PJ_COMPAT_M_ARMV4_H__ 22 | 23 | /** 24 | * @file m_armv4.h 25 | * @brief Describes ARM family processor specifics. 26 | */ 27 | 28 | /* 29 | * This file covers PJ_M_ARMV4 etc. 30 | */ 31 | 32 | #define PJ_M_NAME "armv4" 33 | 34 | #define PJ_HAS_PENTIUM 0 35 | #define PJ_IS_LITTLE_ENDIAN 1 36 | #define PJ_IS_BIG_ENDIAN 0 37 | 38 | 39 | #endif /* __PJ_COMPAT_M_ARMV4_H__ */ 40 | -------------------------------------------------------------------------------- /build/pjproject/src/pjlib/include/pj/compat/m_auto.h: -------------------------------------------------------------------------------- 1 | /* pjlib/include/pj/compat/m_auto.h. Generated from m_auto.h.in by configure. */ 2 | /* $Id: m_auto.h.in 3295 2010-08-25 12:51:29Z bennylp $ */ 3 | /* 4 | * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) 5 | * Copyright (C) 2003-2008 Benny Prijono 6 | * 7 | * This program is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation; either version 2 of the License, or 10 | * (at your option) any later version. 11 | * 12 | * This program is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | * GNU General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU General Public License 18 | * along with this program; if not, write to the Free Software 19 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 | */ 21 | #ifndef __PJ_COMPAT_M_AUTO_H__ 22 | #define __PJ_COMPAT_M_AUTO_H__ 23 | 24 | /** 25 | * @file m_auto.h 26 | * @brief Automatically generated process definition file. 27 | */ 28 | 29 | /* Machine name, filled in by autoconf script */ 30 | #define PJ_M_NAME "x86_64" 31 | 32 | /* Endianness. It's reported on pjsip list on 09/02/13 that autoconf 33 | * endianness detection failed for universal build, so special case 34 | * for it here. Thanks Ruud Klaver for the fix. 35 | */ 36 | #ifdef PJ_DARWINOS 37 | # ifdef __BIG_ENDIAN__ 38 | # define WORDS_BIGENDIAN 1 39 | # endif 40 | #else 41 | /* Endianness, as detected by autoconf */ 42 | /* # undef WORDS_BIGENDIAN */ 43 | #endif 44 | 45 | #ifdef WORDS_BIGENDIAN 46 | # define PJ_IS_LITTLE_ENDIAN 0 47 | # define PJ_IS_BIG_ENDIAN 1 48 | #else 49 | # define PJ_IS_LITTLE_ENDIAN 1 50 | # define PJ_IS_BIG_ENDIAN 0 51 | #endif 52 | 53 | 54 | /* Specify if floating point is present/desired */ 55 | #define PJ_HAS_FLOATING_POINT 1 56 | 57 | /* Deprecated */ 58 | #define PJ_HAS_PENTIUM 0 59 | 60 | #endif /* __PJ_COMPAT_M_AUTO_H__ */ 61 | 62 | -------------------------------------------------------------------------------- /build/pjproject/src/pjlib/include/pj/compat/m_auto.h.in: -------------------------------------------------------------------------------- 1 | /* $Id: m_auto.h.in 3295 2010-08-25 12:51:29Z bennylp $ */ 2 | /* 3 | * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJ_COMPAT_M_AUTO_H__ 21 | #define __PJ_COMPAT_M_AUTO_H__ 22 | 23 | /** 24 | * @file m_auto.h 25 | * @brief Automatically generated process definition file. 26 | */ 27 | 28 | /* Machine name, filled in by autoconf script */ 29 | #undef PJ_M_NAME 30 | 31 | /* Endianness. It's reported on pjsip list on 09/02/13 that autoconf 32 | * endianness detection failed for universal build, so special case 33 | * for it here. Thanks Ruud Klaver for the fix. 34 | */ 35 | #ifdef PJ_DARWINOS 36 | # ifdef __BIG_ENDIAN__ 37 | # define WORDS_BIGENDIAN 1 38 | # endif 39 | #else 40 | /* Endianness, as detected by autoconf */ 41 | # undef WORDS_BIGENDIAN 42 | #endif 43 | 44 | #ifdef WORDS_BIGENDIAN 45 | # define PJ_IS_LITTLE_ENDIAN 0 46 | # define PJ_IS_BIG_ENDIAN 1 47 | #else 48 | # define PJ_IS_LITTLE_ENDIAN 1 49 | # define PJ_IS_BIG_ENDIAN 0 50 | #endif 51 | 52 | 53 | /* Specify if floating point is present/desired */ 54 | #undef PJ_HAS_FLOATING_POINT 55 | 56 | /* Deprecated */ 57 | #define PJ_HAS_PENTIUM 0 58 | 59 | #endif /* __PJ_COMPAT_M_AUTO_H__ */ 60 | 61 | -------------------------------------------------------------------------------- /build/pjproject/src/pjlib/include/pj/compat/m_i386.h: -------------------------------------------------------------------------------- 1 | /* $Id: m_i386.h 3553 2011-05-05 06:14:19Z nanang $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJ_COMPAT_M_i386_H__ 21 | #define __PJ_COMPAT_M_i386_H__ 22 | 23 | /** 24 | * @file m_i386.h 25 | * @brief Describes Intel i386 family processor specifics. 26 | */ 27 | 28 | #define PJ_M_NAME "i386" 29 | 30 | #define PJ_HAS_PENTIUM 1 31 | #define PJ_IS_LITTLE_ENDIAN 1 32 | #define PJ_IS_BIG_ENDIAN 0 33 | 34 | 35 | #endif /* __PJ_COMPAT_M_i386_H__ */ 36 | -------------------------------------------------------------------------------- /build/pjproject/src/pjlib/include/pj/compat/m_m68k.h: -------------------------------------------------------------------------------- 1 | /* $Id: m_m68k.h 3553 2011-05-05 06:14:19Z nanang $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJ_COMPAT_M_M68K_H__ 21 | #define __PJ_COMPAT_M_M68K_H__ 22 | 23 | /** 24 | * @file m_m68k.h 25 | * @brief Describes Motorola m68k family processor specifics. 26 | */ 27 | 28 | #define PJ_M_NAME "m68k" 29 | 30 | #define PJ_HAS_PENTIUM 0 31 | #define PJ_IS_LITTLE_ENDIAN 1 32 | #define PJ_IS_BIG_ENDIAN 0 33 | 34 | 35 | #endif /* __PJ_COMPAT_M_M68K_H__ */ 36 | -------------------------------------------------------------------------------- /build/pjproject/src/pjlib/include/pj/compat/m_powerpc.h: -------------------------------------------------------------------------------- 1 | /* $Id: m_powerpc.h 3553 2011-05-05 06:14:19Z nanang $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJ_COMPAT_M_POWERPC_H__ 21 | #define __PJ_COMPAT_M_POWERPC_H__ 22 | 23 | /** 24 | * @file m_ppc.h 25 | * @brief Describes PowerPC family processor specifics. 26 | */ 27 | 28 | #define PJ_M_NAME "powerpc" 29 | 30 | #define PJ_HAS_PENTIUM 0 31 | #define PJ_IS_LITTLE_ENDIAN 0 32 | #define PJ_IS_BIG_ENDIAN 1 33 | 34 | 35 | #endif /* __PJ_COMPAT_M_POWERPC_H__ */ 36 | 37 | -------------------------------------------------------------------------------- /build/pjproject/src/pjlib/include/pj/compat/m_sparc.h: -------------------------------------------------------------------------------- 1 | /* $Id: m_sparc.h 3553 2011-05-05 06:14:19Z nanang $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJ_COMPAT_M_SPARC_H__ 21 | #define __PJ_COMPAT_M_SPARC_H__ 22 | 23 | /** 24 | * @file m_sparc.h 25 | * @brief Describes SPARC family processor specifics. 26 | */ 27 | 28 | #define PJ_M_NAME "sparc" 29 | 30 | #define PJ_HAS_PENTIUM 0 31 | #define PJ_IS_LITTLE_ENDIAN 0 32 | #define PJ_IS_BIG_ENDIAN 1 33 | 34 | 35 | #endif /* __PJ_COMPAT_M_SPARC_H__ */ 36 | -------------------------------------------------------------------------------- /build/pjproject/src/pjlib/include/pj/compat/m_x86_64.h: -------------------------------------------------------------------------------- 1 | /* $Id: m_x86_64.h 3553 2011-05-05 06:14:19Z nanang $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJ_COMPAT_M_x86_64_H__ 21 | #define __PJ_COMPAT_M_x86_64_H__ 22 | 23 | /** 24 | * @file m_i386.h 25 | * @brief Describes 64bit x86 Intel/AMD family processor specifics. 26 | */ 27 | 28 | #define PJ_M_NAME "x86_64" 29 | 30 | #define PJ_HAS_PENTIUM 1 31 | #define PJ_IS_LITTLE_ENDIAN 1 32 | #define PJ_IS_BIG_ENDIAN 0 33 | 34 | 35 | #endif /* __PJ_COMPAT_M_x86_64_H__ */ 36 | 37 | -------------------------------------------------------------------------------- /build/pjproject/src/pjlib/include/pj/compat/malloc.h: -------------------------------------------------------------------------------- 1 | /* $Id: malloc.h 3553 2011-05-05 06:14:19Z nanang $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJ_COMPAT_MALLOC_H__ 21 | #define __PJ_COMPAT_MALLOC_H__ 22 | 23 | /** 24 | * @file malloc.h 25 | * @brief Provides malloc() and free() functions. 26 | */ 27 | 28 | #if defined(PJ_HAS_MALLOC_H) && PJ_HAS_MALLOC_H != 0 29 | # include 30 | #elif defined(PJ_HAS_STDLIB_H) && PJ_HAS_STDLIB_H != 0 31 | # include 32 | #endif 33 | 34 | #endif /* __PJ_COMPAT_MALLOC_H__ */ 35 | -------------------------------------------------------------------------------- /build/pjproject/src/pjlib/include/pj/compat/rand.h: -------------------------------------------------------------------------------- 1 | /* $Id: rand.h 5692 2017-11-13 06:06:25Z ming $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJ_COMPAT_RAND_H__ 21 | #define __PJ_COMPAT_RAND_H__ 22 | 23 | /** 24 | * @file rand.h 25 | * @brief Provides platform_rand() and platform_srand() functions. 26 | */ 27 | 28 | #if defined(PJ_HAS_STDLIB_H) && PJ_HAS_STDLIB_H != 0 29 | /* 30 | * Use stdlib based rand() and srand(). 31 | */ 32 | # include 33 | # define platform_srand srand 34 | # if defined(RAND_MAX) && RAND_MAX <= 0xFFFF 35 | /* 36 | * When rand() is only 16 bit strong, double the strength 37 | * by calling it twice! 38 | */ 39 | PJ_INLINE(int) platform_rand(void) 40 | { 41 | return ((rand() & 0xFFFF) << 16) | (rand() & 0xFFFF); 42 | } 43 | # else 44 | # define platform_rand rand 45 | # endif 46 | 47 | #else 48 | # warning "platform_rand() is not implemented" 49 | # define platform_rand() 1 50 | # define platform_srand(seed) 51 | 52 | #endif 53 | 54 | 55 | #endif /* __PJ_COMPAT_RAND_H__ */ 56 | 57 | -------------------------------------------------------------------------------- /build/pjproject/src/pjlib/include/pj/compat/setjmp.h: -------------------------------------------------------------------------------- 1 | /* $Id: setjmp.h 5692 2017-11-13 06:06:25Z ming $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJ_COMPAT_SETJMP_H__ 21 | #define __PJ_COMPAT_SETJMP_H__ 22 | 23 | /** 24 | * @file setjmp.h 25 | * @brief Provides setjmp.h functionality. 26 | */ 27 | 28 | #if defined(PJ_HAS_SETJMP_H) && PJ_HAS_SETJMP_H != 0 29 | # include 30 | typedef jmp_buf pj_jmp_buf; 31 | # ifndef pj_setjmp 32 | # define pj_setjmp(buf) setjmp(buf) 33 | # endif 34 | # ifndef pj_longjmp 35 | # define pj_longjmp(buf,d) longjmp(buf,d) 36 | # endif 37 | 38 | #elif defined(PJ_SYMBIAN) && PJ_SYMBIAN!=0 39 | /* Symbian framework don't use setjmp/longjmp */ 40 | 41 | #else 42 | # warning "setjmp()/longjmp() is not implemented" 43 | typedef int pj_jmp_buf[1]; 44 | # define pj_setjmp(buf) 0 45 | # define pj_longjmp(buf,d) 0 46 | #endif 47 | 48 | 49 | #endif /* __PJ_COMPAT_SETJMP_H__ */ 50 | 51 | -------------------------------------------------------------------------------- /build/pjproject/src/pjlib/include/pj/compat/size_t.h: -------------------------------------------------------------------------------- 1 | /* $Id: size_t.h 3553 2011-05-05 06:14:19Z nanang $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJ_COMPAT_SIZE_T_H__ 21 | #define __PJ_COMPAT_SIZE_T_H__ 22 | 23 | /** 24 | * @file size_t.h 25 | * @brief Provides size_t type. 26 | */ 27 | #if PJ_HAS_STDDEF_H 28 | # include 29 | #endif 30 | 31 | #endif /* __PJ_COMPAT_SIZE_T_H__ */ 32 | 33 | -------------------------------------------------------------------------------- /build/pjproject/src/pjlib/include/pj/compat/stdarg.h: -------------------------------------------------------------------------------- 1 | /* $Id: stdarg.h 3553 2011-05-05 06:14:19Z nanang $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJ_COMPAT_STDARG_H__ 21 | #define __PJ_COMPAT_STDARG_H__ 22 | 23 | /** 24 | * @file stdarg.h 25 | * @brief Provides stdarg functionality. 26 | */ 27 | 28 | #if defined(PJ_HAS_STDARG_H) && PJ_HAS_STDARG_H != 0 29 | # include 30 | #endif 31 | 32 | #endif /* __PJ_COMPAT_STDARG_H__ */ 33 | -------------------------------------------------------------------------------- /build/pjproject/src/pjlib/include/pj/compat/stdfileio.h: -------------------------------------------------------------------------------- 1 | /* $Id: stdfileio.h 3553 2011-05-05 06:14:19Z nanang $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJ_COMPAT_STDFILEIO_H__ 21 | #define __PJ_COMPAT_STDFILEIO_H__ 22 | 23 | /** 24 | * @file stdfileio.h 25 | * @brief Compatibility for ANSI file I/O like fputs, fflush, etc. 26 | */ 27 | 28 | #if defined(PJ_HAS_STDIO_H) && PJ_HAS_STDIO_H != 0 29 | # include 30 | #endif 31 | 32 | #endif /* __PJ_COMPAT_STDFILEIO_H__ */ 33 | -------------------------------------------------------------------------------- /build/pjproject/src/pjlib/include/pj/compat/time.h: -------------------------------------------------------------------------------- 1 | /* $Id: time.h 3553 2011-05-05 06:14:19Z nanang $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJ_COMPAT_TIME_H__ 21 | #define __PJ_COMPAT_TIME_H__ 22 | 23 | /** 24 | * @file time.h 25 | * @brief Provides ftime() and localtime() etc functions. 26 | */ 27 | 28 | #if defined(PJ_HAS_TIME_H) && PJ_HAS_TIME_H != 0 29 | # include 30 | #endif 31 | 32 | #if defined(PJ_HAS_SYS_TIME_H) && PJ_HAS_SYS_TIME_H != 0 33 | # include 34 | #endif 35 | 36 | #if defined(PJ_HAS_SYS_TIMEB_H) && PJ_HAS_SYS_TIMEB_H != 0 37 | # include 38 | #endif 39 | 40 | 41 | #endif /* __PJ_COMPAT_TIME_H__ */ 42 | 43 | -------------------------------------------------------------------------------- /build/pjproject/src/pjlib/include/pj/config_site.h: -------------------------------------------------------------------------------- 1 | #define PJMEDIA_HAS_VIDEO 1 2 | #define PJMEDIA_HAS_VID_TOOLBOX_CODEC 1 3 | #define PJ_HAS_IPV6 1 4 | #include 5 | -------------------------------------------------------------------------------- /build/pjproject/src/pjlib/include/pj/fifobuf.h: -------------------------------------------------------------------------------- 1 | /* $Id: fifobuf.h 3553 2011-05-05 06:14:19Z nanang $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJ_FIFOBUF_H__ 21 | #define __PJ_FIFOBUF_H__ 22 | 23 | #include 24 | 25 | PJ_BEGIN_DECL 26 | 27 | typedef struct pj_fifobuf_t pj_fifobuf_t; 28 | struct pj_fifobuf_t 29 | { 30 | char *first, *last; 31 | char *ubegin, *uend; 32 | int full; 33 | }; 34 | 35 | PJ_DECL(void) pj_fifobuf_init (pj_fifobuf_t *fb, void *buffer, unsigned size); 36 | PJ_DECL(unsigned) pj_fifobuf_max_size (pj_fifobuf_t *fb); 37 | PJ_DECL(void*) pj_fifobuf_alloc (pj_fifobuf_t *fb, unsigned size); 38 | PJ_DECL(pj_status_t) pj_fifobuf_unalloc (pj_fifobuf_t *fb, void *buf); 39 | PJ_DECL(pj_status_t) pj_fifobuf_free (pj_fifobuf_t *fb, void *buf); 40 | 41 | PJ_END_DECL 42 | 43 | #endif /* __PJ_FIFOBUF_H__ */ 44 | 45 | -------------------------------------------------------------------------------- /build/pjproject/src/pjlib/include/pj/ip_helper.h: -------------------------------------------------------------------------------- 1 | /* $Id: ip_helper.h 3553 2011-05-05 06:14:19Z nanang $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJ_IP_ROUTE_H__ 21 | #define __PJ_IP_ROUTE_H__ 22 | 23 | /** 24 | * @file ip_helper.h 25 | * @brief IP helper API 26 | */ 27 | 28 | #include 29 | 30 | PJ_BEGIN_DECL 31 | 32 | /** 33 | * @defgroup pj_ip_helper IP Interface and Routing Helper 34 | * @ingroup PJ_IO 35 | * @{ 36 | * 37 | * This module provides functions to query local host's IP interface and 38 | * routing table. 39 | */ 40 | 41 | /** 42 | * This structure describes IP routing entry. 43 | */ 44 | typedef union pj_ip_route_entry 45 | { 46 | /** IP routing entry for IP version 4 routing */ 47 | struct 48 | { 49 | pj_in_addr if_addr; /**< Local interface IP address. */ 50 | pj_in_addr dst_addr; /**< Destination IP address. */ 51 | pj_in_addr mask; /**< Destination mask. */ 52 | } ipv4; 53 | } pj_ip_route_entry; 54 | 55 | 56 | /** 57 | * Enumerate the local IP interfaces currently active in the host. 58 | * 59 | * @param af Family of the address to be retrieved. Application 60 | * may specify pj_AF_UNSPEC() to retrieve all addresses, 61 | * or pj_AF_INET() or pj_AF_INET6() to retrieve interfaces 62 | * with specific address family. 63 | * @param count On input, specify the number of entries. On output, 64 | * it will be filled with the actual number of entries. 65 | * @param ifs Array of socket addresses, which address part will 66 | * be filled with the interface address. The address 67 | * family part will be initialized with the address 68 | * family of the IP address. 69 | * 70 | * @return PJ_SUCCESS on success, or the appropriate error code. 71 | */ 72 | PJ_DECL(pj_status_t) pj_enum_ip_interface(int af, 73 | unsigned *count, 74 | pj_sockaddr ifs[]); 75 | 76 | 77 | /** 78 | * Enumerate the IP routing table for this host. 79 | * 80 | * @param count On input, specify the number of routes entries. On output, 81 | * it will be filled with the actual number of route entries. 82 | * @param routes Array of IP routing entries. 83 | * 84 | * @return PJ_SUCCESS on success, or the appropriate error code. 85 | */ 86 | PJ_DECL(pj_status_t) pj_enum_ip_route(unsigned *count, 87 | pj_ip_route_entry routes[]); 88 | 89 | 90 | 91 | /** @} */ 92 | 93 | PJ_END_DECL 94 | 95 | 96 | #endif /* __PJ_IP_ROUTE_H__ */ 97 | 98 | -------------------------------------------------------------------------------- /build/pjproject/src/pjlib/include/pj/limits.h: -------------------------------------------------------------------------------- 1 | /* $Id: limits.h 5682 2017-11-08 02:58:18Z riza $ */ 2 | /* 3 | * Copyright (C) 2017 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2017 George Joseph 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJ_LIMITS_H__ 21 | #define __PJ_LIMITS_H__ 22 | 23 | /** 24 | * @file limits.h 25 | * @brief Common min and max values 26 | */ 27 | 28 | #include 29 | 30 | /** Maximum value for signed 32-bit integer. */ 31 | #define PJ_MAXINT32 0x7fffffff 32 | 33 | /** Minimum value for signed 32-bit integer. */ 34 | #define PJ_MININT32 0x80000000 35 | 36 | /** Maximum value for unsigned 16-bit integer. */ 37 | #define PJ_MAXUINT16 0xffff 38 | 39 | /** Maximum value for unsigned char. */ 40 | #define PJ_MAXUINT8 0xff 41 | 42 | /** Maximum value for long. */ 43 | #define PJ_MAXLONG LONG_MAX 44 | 45 | /** Minimum value for long. */ 46 | #define PJ_MINLONG LONG_MIN 47 | 48 | /** Minimum value for unsigned long. */ 49 | #define PJ_MAXULONG ULONG_MAX 50 | 51 | #endif /* __PJ_LIMITS_H__ */ 52 | -------------------------------------------------------------------------------- /build/pjproject/src/pjlib/include/pj/rand.h: -------------------------------------------------------------------------------- 1 | /* $Id: rand.h 3553 2011-05-05 06:14:19Z nanang $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJ_RAND_H__ 21 | #define __PJ_RAND_H__ 22 | 23 | /** 24 | * @file rand.h 25 | * @brief Random Number Generator. 26 | */ 27 | 28 | #include 29 | 30 | PJ_BEGIN_DECL 31 | 32 | 33 | /** 34 | * @defgroup PJ_RAND Random Number Generator 35 | * @ingroup PJ_MISC 36 | * @{ 37 | * This module contains functions for generating random numbers. 38 | * This abstraction is needed not only because not all platforms have 39 | * \a rand() and \a srand(), but also on some platforms \a rand() 40 | * only has 16-bit randomness, which is not good enough. 41 | */ 42 | 43 | /** 44 | * Put in seed to random number generator. 45 | * 46 | * @param seed Seed value. 47 | */ 48 | PJ_DECL(void) pj_srand(unsigned int seed); 49 | 50 | 51 | /** 52 | * Generate random integer with 32bit randomness. 53 | * 54 | * @return a random integer. 55 | */ 56 | PJ_DECL(int) pj_rand(void); 57 | 58 | 59 | /** @} */ 60 | 61 | 62 | PJ_END_DECL 63 | 64 | 65 | #endif /* __PJ_RAND_H__ */ 66 | 67 | -------------------------------------------------------------------------------- /build/pjproject/src/pjlib/include/pjlib++.hpp: -------------------------------------------------------------------------------- 1 | /* $Id: pjlib++.hpp 2394 2008-12-23 17:27:53Z bennylp $ */ 2 | /* 3 | * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJLIBPP_H__ 21 | #define __PJLIBPP_H__ 22 | 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | #include 29 | #include 30 | #include 31 | #include 32 | #include 33 | #include 34 | 35 | #endif /* __PJLIBPP_H__ */ 36 | -------------------------------------------------------------------------------- /build/pjproject/src/pjlib/include/pjlib.h: -------------------------------------------------------------------------------- 1 | /* $Id: pjlib.h 3553 2011-05-05 06:14:19Z nanang $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | 21 | #ifndef __PJLIB_H__ 22 | #define __PJLIB_H__ 23 | 24 | /** 25 | * @file pjlib.h 26 | * @brief Include all PJLIB header files. 27 | */ 28 | 29 | #include 30 | #include 31 | #include 32 | #include 33 | #include 34 | #include 35 | #include 36 | #include 37 | #include 38 | #include 39 | #include 40 | #include 41 | #include 42 | #include 43 | #include 44 | #include 45 | #include 46 | #include 47 | #include 48 | #include 49 | #include 50 | #include 51 | #include 52 | #include 53 | #include 54 | #include 55 | #include 56 | #include 57 | #include 58 | #include 59 | 60 | #include 61 | 62 | #endif /* __PJLIB_H__ */ 63 | 64 | -------------------------------------------------------------------------------- /build/pjproject/src/pjlib/lib/libpj-apple-darwin18.6.0.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nesterenkodm/pjsip/3fc76adcddffec8974da25125947e05bf3755202/build/pjproject/src/pjlib/lib/libpj-apple-darwin18.6.0.a -------------------------------------------------------------------------------- /build/pjproject/src/pjlib/lib/libpj-apple-darwin_ios.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nesterenkodm/pjsip/3fc76adcddffec8974da25125947e05bf3755202/build/pjproject/src/pjlib/lib/libpj-apple-darwin_ios.a -------------------------------------------------------------------------------- /build/pjproject/src/pjmedia/include/pjmedia-audiodev/audiotest.h: -------------------------------------------------------------------------------- 1 | /* $Id: audiotest.h 3553 2011-05-05 06:14:19Z nanang $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJMEDIA_AUDIODEV_AUDIOTEST_H__ 21 | #define __PJMEDIA_AUDIODEV_AUDIOTEST_H__ 22 | 23 | /** 24 | * @file audiotest.h 25 | * @brief Audio test utility. 26 | */ 27 | #include 28 | 29 | 30 | PJ_BEGIN_DECL 31 | 32 | /** 33 | * @defgroup s30_audio_test_utility Audio tests utility. 34 | * @ingroup audio_device_api 35 | * @brief Audio test utility. 36 | * @{ 37 | */ 38 | 39 | /** 40 | * Statistic for each direction. 41 | */ 42 | typedef struct pjmedia_aud_test_stat 43 | { 44 | /** 45 | * Number of frames processed during the test. 46 | */ 47 | unsigned frame_cnt; 48 | 49 | /** 50 | * Minimum inter-frame arrival time, in milliseconds 51 | */ 52 | unsigned min_interval; 53 | 54 | /** 55 | * Maximum inter-frame arrival time, in milliseconds 56 | */ 57 | unsigned max_interval; 58 | 59 | /** 60 | * Average inter-frame arrival time, in milliseconds 61 | */ 62 | unsigned avg_interval; 63 | 64 | /** 65 | * Standard deviation of inter-frame arrival time, in milliseconds 66 | */ 67 | unsigned dev_interval; 68 | 69 | /** 70 | * Maximum number of frame burst 71 | */ 72 | unsigned max_burst; 73 | 74 | } pjmedia_aud_test_stat; 75 | 76 | 77 | /** 78 | * Test results. 79 | */ 80 | typedef struct pjmedia_aud_test_results 81 | { 82 | /** 83 | * Recording statistic. 84 | */ 85 | pjmedia_aud_test_stat rec; 86 | 87 | /** 88 | * Playback statistic. 89 | */ 90 | pjmedia_aud_test_stat play; 91 | 92 | /** 93 | * Clock drifts per second, in samples. Positive number indicates rec 94 | * device is running faster than playback device. 95 | */ 96 | pj_int32_t rec_drift_per_sec; 97 | 98 | } pjmedia_aud_test_results; 99 | 100 | 101 | /** 102 | * Perform audio device testing. 103 | */ 104 | PJ_DECL(pj_status_t) pjmedia_aud_test(const pjmedia_aud_param *param, 105 | pjmedia_aud_test_results *result); 106 | 107 | /** 108 | * @} 109 | */ 110 | 111 | PJ_END_DECL 112 | 113 | 114 | #endif /* __PJMEDIA_AUDIODEV_AUDIOTEST_H__ */ 115 | 116 | 117 | -------------------------------------------------------------------------------- /build/pjproject/src/pjmedia/include/pjmedia-codec.h: -------------------------------------------------------------------------------- 1 | /* $Id: pjmedia-codec.h 5630 2017-07-19 10:29:10Z riza $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJMEDIA_CODEC_PJMEDIA_CODEC_H__ 21 | #define __PJMEDIA_CODEC_PJMEDIA_CODEC_H__ 22 | 23 | /** 24 | * @file pjmedia-codec.h 25 | * @brief Include all codecs API in PJMEDIA-CODEC 26 | */ 27 | 28 | #include 29 | #include 30 | #include 31 | #include 32 | #include 33 | #include 34 | #include 35 | #include 36 | #include 37 | #include 38 | #include 39 | #include 40 | #include 41 | #include 42 | #include 43 | #include 44 | 45 | 46 | #endif /* __PJMEDIA_CODEC_PJMEDIA_CODEC_H__ */ 47 | 48 | -------------------------------------------------------------------------------- /build/pjproject/src/pjmedia/include/pjmedia-codec/amr_sdp_match.h: -------------------------------------------------------------------------------- 1 | /* $Id: amr_sdp_match.h 3911 2011-12-15 06:45:23Z nanang $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJMEDIA_CODEC_AMR_SDP_MATCH_H__ 21 | #define __PJMEDIA_CODEC_AMR_SDP_MATCH_H__ 22 | 23 | 24 | /** 25 | * @file g7221_sdp_match.h 26 | * @brief Special SDP format match for AMR-NB and AMR-WB. 27 | */ 28 | 29 | #include 30 | 31 | PJ_BEGIN_DECL 32 | 33 | 34 | /* Match AMR-NB and AMR-WB format in the SDP media offer and answer. This 35 | * function will match some AMR settings in the SDP format parameters, i.e: 36 | * octet-align, crc, robust-sorting, interleaving. Note that, for answerer, 37 | * if octet-align mode needs to be adaptable to offerer setting, application 38 | * should set #PJMEDIA_SDP_NEG_FMT_MATCH_ALLOW_MODIFY_ANSWER in the option. 39 | * 40 | * @param pool The memory pool. 41 | * @param offer The SDP media offer. 42 | * @param o_fmt_idx Index of the AMR format in the SDP media offer. 43 | * @param answer The SDP media answer. 44 | * @param a_fmt_idx Index of the AMR format in the SDP media answer. 45 | * @param option The format matching option, see 46 | * #pjmedia_sdp_neg_fmt_match_flag. 47 | * 48 | * @return PJ_SUCCESS when the formats in offer and answer match. 49 | */ 50 | PJ_DECL(pj_status_t) pjmedia_codec_amr_match_sdp( pj_pool_t *pool, 51 | pjmedia_sdp_media *offer, 52 | unsigned o_fmt_idx, 53 | pjmedia_sdp_media *answer, 54 | unsigned a_fmt_idx, 55 | unsigned option); 56 | 57 | 58 | PJ_END_DECL 59 | 60 | 61 | #endif /* __PJMEDIA_CODEC_AMR_SDP_MATCH_H__ */ 62 | -------------------------------------------------------------------------------- /build/pjproject/src/pjmedia/include/pjmedia-codec/audio_codecs.h: -------------------------------------------------------------------------------- 1 | /* $Id: audio_codecs.h 3666 2011-07-19 08:40:20Z nanang $ */ 2 | /* 3 | * Copyright (C) 2011-2011 Teluu Inc. (http://www.teluu.com) 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 2 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program; if not, write to the Free Software 17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | #ifndef __PJMEDIA_CODEC_ALL_CODECS_H__ 20 | #define __PJMEDIA_CODEC_ALL_CODECS_H__ 21 | 22 | /** 23 | * @file pjmedia-codec/all_codecs.h 24 | * @brief Helper function to register all codecs 25 | */ 26 | #include 27 | #include 28 | 29 | 30 | PJ_BEGIN_DECL 31 | 32 | /** 33 | * @defgroup PJMEDIA_CODEC_REGISTER_ALL Codec registration helper 34 | * @ingroup PJMEDIA_CODEC_CODECS 35 | * @brief Helper function to register all codecs 36 | * @{ 37 | * 38 | * Helper function to register all codecs that are implemented in 39 | * PJMEDIA-CODEC library. 40 | */ 41 | 42 | /** 43 | * Codec configuration. Call #pjmedia_audio_codec_config_default() to initialize 44 | * this structure with the default values. 45 | */ 46 | typedef struct pjmedia_audio_codec_config 47 | { 48 | /** Speex codec settings. See #pjmedia_codec_speex_init() for more info */ 49 | struct { 50 | unsigned option; /**< Bitmask of options. */ 51 | int quality; /**< Codec quality. */ 52 | int complexity; /**< Codec complexity. */ 53 | } speex; 54 | 55 | /** iLBC settings */ 56 | struct { 57 | unsigned mode; /**< iLBC mode. */ 58 | } ilbc; 59 | 60 | /** Passthrough */ 61 | struct { 62 | pjmedia_codec_passthrough_setting setting; /**< Passthrough */ 63 | } passthrough; 64 | 65 | } pjmedia_audio_codec_config; 66 | 67 | 68 | /** 69 | * Initialize pjmedia_audio_codec_config structure with default values. 70 | * 71 | * @param cfg The codec config to be initialized. 72 | */ 73 | PJ_DECL(void) 74 | pjmedia_audio_codec_config_default(pjmedia_audio_codec_config *cfg); 75 | 76 | /** 77 | * Register all known audio codecs implemented in PJMEDA-CODEC library to the 78 | * specified media endpoint. 79 | * 80 | * @param endpt The media endpoint. 81 | * @param c Optional codec configuration, or NULL to use default 82 | * values. 83 | * 84 | * @return PJ_SUCCESS on success or the appropriate error code. 85 | */ 86 | PJ_DECL(pj_status_t) 87 | pjmedia_codec_register_audio_codecs(pjmedia_endpt *endpt, 88 | const pjmedia_audio_codec_config *c); 89 | 90 | 91 | /** 92 | * @} PJMEDIA_CODEC_REGISTER_ALL 93 | */ 94 | 95 | 96 | PJ_END_DECL 97 | 98 | #endif /* __PJMEDIA_CODEC_ALL_CODECS_H__ */ 99 | -------------------------------------------------------------------------------- /build/pjproject/src/pjmedia/include/pjmedia-codec/config_auto.h: -------------------------------------------------------------------------------- 1 | /* pjmedia/include/pjmedia-codec/config_auto.h. Generated from config_auto.h.in by configure. */ 2 | /* $Id: config_auto.h.in 5630 2017-07-19 10:29:10Z riza $ */ 3 | /* 4 | * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) 5 | * Copyright (C) 2003-2008 Benny Prijono 6 | * 7 | * This program is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation; either version 2 of the License, or 10 | * (at your option) any later version. 11 | * 12 | * This program is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | * GNU General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU General Public License 18 | * along with this program; if not, write to the Free Software 19 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 | */ 21 | #ifndef __PJMEDIA_CODEC_CONFIG_AUTO_H_ 22 | #define __PJMEDIA_CODEC_CONFIG_AUTO_H_ 23 | 24 | /** 25 | * @file config_auto.h 26 | * @brief PJMEDIA-CODEC configuration as set by autoconf script 27 | */ 28 | 29 | /* 30 | * Note: 31 | * The configuration in config_site.h overrides any other settings, 32 | * including the setting as detected by autoconf. 33 | */ 34 | 35 | /* L16 codec */ 36 | #ifndef PJMEDIA_HAS_L16_CODEC 37 | /* #undef PJMEDIA_HAS_L16_CODEC */ 38 | #endif 39 | 40 | 41 | /* GSM codec */ 42 | #ifndef PJMEDIA_HAS_GSM_CODEC 43 | /* #undef PJMEDIA_HAS_GSM_CODEC */ 44 | #endif 45 | 46 | /* #undef PJMEDIA_EXTERNAL_GSM_CODEC */ 47 | /* #undef PJMEDIA_EXTERNAL_GSM_GSM_H */ 48 | /* #undef PJMEDIA_EXTERNAL_GSM_H */ 49 | 50 | /* Speex codec */ 51 | #ifndef PJMEDIA_HAS_SPEEX_CODEC 52 | /* #undef PJMEDIA_HAS_SPEEX_CODEC */ 53 | #endif 54 | 55 | /* #undef PJMEDIA_EXTERNAL_SPEEX_CODEC */ 56 | 57 | /* iLBC codec */ 58 | #ifndef PJMEDIA_HAS_ILBC_CODEC 59 | /* #undef PJMEDIA_HAS_ILBC_CODEC */ 60 | #endif 61 | 62 | 63 | /* G722 codec */ 64 | #ifndef PJMEDIA_HAS_G722_CODEC 65 | /* #undef PJMEDIA_HAS_G722_CODEC */ 66 | #endif 67 | 68 | /* G7221 codec */ 69 | #ifndef PJMEDIA_HAS_G7221_CODEC 70 | /* #undef PJMEDIA_HAS_G7221_CODEC */ 71 | #endif 72 | 73 | /* OpenCORE AMR-NB codec */ 74 | #ifndef PJMEDIA_HAS_OPENCORE_AMRNB_CODEC 75 | #define PJMEDIA_HAS_OPENCORE_AMRNB_CODEC 1 76 | #endif 77 | 78 | /* OpenCORE AMR-WB codec */ 79 | #ifndef PJMEDIA_HAS_OPENCORE_AMRWB_CODEC 80 | #define PJMEDIA_HAS_OPENCORE_AMRWB_CODEC 0 81 | #endif 82 | 83 | /* SILK codec */ 84 | #ifndef PJMEDIA_HAS_SILK_CODEC 85 | #define PJMEDIA_HAS_SILK_CODEC 0 86 | #endif 87 | 88 | /* OPUS codec */ 89 | #ifndef PJMEDIA_HAS_OPUS_CODEC 90 | #define PJMEDIA_HAS_OPUS_CODEC 1 91 | #endif 92 | 93 | /* G.729 codec with BCG729 backend */ 94 | #ifndef PJMEDIA_HAS_BCG729 95 | #define PJMEDIA_HAS_BCG729 0 96 | #endif 97 | 98 | #endif /* __PJMEDIA_CODEC_CONFIG_AUTO_H_ */ 99 | 100 | 101 | -------------------------------------------------------------------------------- /build/pjproject/src/pjmedia/include/pjmedia-codec/config_auto.h.in: -------------------------------------------------------------------------------- 1 | /* $Id: config_auto.h.in 5630 2017-07-19 10:29:10Z riza $ */ 2 | /* 3 | * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJMEDIA_CODEC_CONFIG_AUTO_H_ 21 | #define __PJMEDIA_CODEC_CONFIG_AUTO_H_ 22 | 23 | /** 24 | * @file config_auto.h 25 | * @brief PJMEDIA-CODEC configuration as set by autoconf script 26 | */ 27 | 28 | /* 29 | * Note: 30 | * The configuration in config_site.h overrides any other settings, 31 | * including the setting as detected by autoconf. 32 | */ 33 | 34 | /* L16 codec */ 35 | #ifndef PJMEDIA_HAS_L16_CODEC 36 | #undef PJMEDIA_HAS_L16_CODEC 37 | #endif 38 | 39 | 40 | /* GSM codec */ 41 | #ifndef PJMEDIA_HAS_GSM_CODEC 42 | #undef PJMEDIA_HAS_GSM_CODEC 43 | #endif 44 | 45 | #undef PJMEDIA_EXTERNAL_GSM_CODEC 46 | #undef PJMEDIA_EXTERNAL_GSM_GSM_H 47 | #undef PJMEDIA_EXTERNAL_GSM_H 48 | 49 | /* Speex codec */ 50 | #ifndef PJMEDIA_HAS_SPEEX_CODEC 51 | #undef PJMEDIA_HAS_SPEEX_CODEC 52 | #endif 53 | 54 | #undef PJMEDIA_EXTERNAL_SPEEX_CODEC 55 | 56 | /* iLBC codec */ 57 | #ifndef PJMEDIA_HAS_ILBC_CODEC 58 | #undef PJMEDIA_HAS_ILBC_CODEC 59 | #endif 60 | 61 | 62 | /* G722 codec */ 63 | #ifndef PJMEDIA_HAS_G722_CODEC 64 | #undef PJMEDIA_HAS_G722_CODEC 65 | #endif 66 | 67 | /* G7221 codec */ 68 | #ifndef PJMEDIA_HAS_G7221_CODEC 69 | #undef PJMEDIA_HAS_G7221_CODEC 70 | #endif 71 | 72 | /* OpenCORE AMR-NB codec */ 73 | #ifndef PJMEDIA_HAS_OPENCORE_AMRNB_CODEC 74 | #undef PJMEDIA_HAS_OPENCORE_AMRNB_CODEC 75 | #endif 76 | 77 | /* OpenCORE AMR-WB codec */ 78 | #ifndef PJMEDIA_HAS_OPENCORE_AMRWB_CODEC 79 | #undef PJMEDIA_HAS_OPENCORE_AMRWB_CODEC 80 | #endif 81 | 82 | /* SILK codec */ 83 | #ifndef PJMEDIA_HAS_SILK_CODEC 84 | #undef PJMEDIA_HAS_SILK_CODEC 85 | #endif 86 | 87 | /* OPUS codec */ 88 | #ifndef PJMEDIA_HAS_OPUS_CODEC 89 | #undef PJMEDIA_HAS_OPUS_CODEC 90 | #endif 91 | 92 | /* G.729 codec with BCG729 backend */ 93 | #ifndef PJMEDIA_HAS_BCG729 94 | #undef PJMEDIA_HAS_BCG729 95 | #endif 96 | 97 | #endif /* __PJMEDIA_CODEC_CONFIG_AUTO_H_ */ 98 | 99 | 100 | -------------------------------------------------------------------------------- /build/pjproject/src/pjmedia/include/pjmedia-codec/ffmpeg_vid_codecs.h: -------------------------------------------------------------------------------- 1 | /* $Id: ffmpeg_vid_codecs.h 4049 2012-04-13 06:24:23Z ming $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJMEDIA_CODECS_FFMPEG_VID_H__ 21 | #define __PJMEDIA_CODECS_FFMPEG_VID_H__ 22 | 23 | 24 | #include 25 | #include 26 | 27 | PJ_BEGIN_DECL 28 | 29 | /** 30 | * @defgroup PJMEDIA_CODEC_VID_FFMPEG FFmpeg Codecs 31 | * @ingroup PJMEDIA_CODEC_VID_CODECS 32 | * @{ 33 | */ 34 | 35 | /** 36 | * Initialize and register FFMPEG video codecs factory to pjmedia endpoint. 37 | * 38 | * @param mgr The video codec manager instance where this codec will 39 | * be registered to. Specify NULL to use default instance 40 | * (in that case, an instance of video codec manager must 41 | * have been created beforehand). 42 | * @param pf Pool factory. 43 | * 44 | * @return PJ_SUCCESS on success. 45 | */ 46 | PJ_DECL(pj_status_t) pjmedia_codec_ffmpeg_vid_init(pjmedia_vid_codec_mgr *mgr, 47 | pj_pool_factory *pf); 48 | 49 | 50 | /** 51 | * Unregister FFMPEG video codecs factory from the video codec manager and 52 | * deinitialize the codecs library. 53 | * 54 | * @return PJ_SUCCESS on success. 55 | */ 56 | PJ_DECL(pj_status_t) pjmedia_codec_ffmpeg_vid_deinit(void); 57 | 58 | 59 | PJ_END_DECL 60 | 61 | 62 | /** 63 | * @} 64 | */ 65 | 66 | #endif /* __PJMEDIA_CODECS_FFMPEG_VID_H__ */ 67 | 68 | -------------------------------------------------------------------------------- /build/pjproject/src/pjmedia/include/pjmedia-codec/g7221.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nesterenkodm/pjsip/3fc76adcddffec8974da25125947e05bf3755202/build/pjproject/src/pjmedia/include/pjmedia-codec/g7221.h -------------------------------------------------------------------------------- /build/pjproject/src/pjmedia/include/pjmedia-codec/g7221_sdp_match.h: -------------------------------------------------------------------------------- 1 | /* $Id: g7221_sdp_match.h 3911 2011-12-15 06:45:23Z nanang $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJMEDIA_CODEC_G7221_SDP_MATCH_H__ 21 | #define __PJMEDIA_CODEC_G7221_SDP_MATCH_H__ 22 | 23 | 24 | /** 25 | * @file g7221_sdp_match.h 26 | * @brief Special SDP format match for G722.1. 27 | */ 28 | 29 | #include 30 | 31 | PJ_BEGIN_DECL 32 | 33 | /** 34 | * Match G.722.1 format in the SDP media offer and answer. This function 35 | * will match G.722.1 bitrate setting in the SDP format parameter of 36 | * offer and answer. 37 | * 38 | * @param pool The memory pool. 39 | * @param offer The SDP media offer. 40 | * @param o_fmt_idx Index of the G.722.1 format in the SDP media offer. 41 | * @param answer The SDP media answer. 42 | * @param a_fmt_idx Index of the G.722.1 format in the SDP media answer. 43 | * @param option The format matching option, see 44 | * #pjmedia_sdp_neg_fmt_match_flag. 45 | * 46 | * @return PJ_SUCCESS when the formats in offer and answer match. 47 | */ 48 | PJ_DECL(pj_status_t) pjmedia_codec_g7221_match_sdp( pj_pool_t *pool, 49 | pjmedia_sdp_media *offer, 50 | unsigned o_fmt_idx, 51 | pjmedia_sdp_media *answer, 52 | unsigned a_fmt_idx, 53 | unsigned option); 54 | 55 | 56 | PJ_END_DECL 57 | 58 | 59 | #endif /* __PJMEDIA_CODEC_G7221_SDP_MATCH_H__ */ 60 | -------------------------------------------------------------------------------- /build/pjproject/src/pjmedia/include/pjmedia-codec/gsm.h: -------------------------------------------------------------------------------- 1 | /* $Id: gsm.h 3553 2011-05-05 06:14:19Z nanang $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJMEDIA_CODEC_GSM_H__ 21 | #define __PJMEDIA_CODEC_GSM_H__ 22 | 23 | /** 24 | * @file pjmedia-codec/gsm.h 25 | * @brief GSM 06.10 codec. 26 | */ 27 | 28 | #include 29 | 30 | /** 31 | * @defgroup PJMED_GSM GSM 06.10 Codec 32 | * @ingroup PJMEDIA_CODEC_CODECS 33 | * @brief Implementation of GSM FR based on GSM 06.10 library 34 | * @{ 35 | * 36 | * This section describes functions to initialize and register GSM codec 37 | * factory to the codec manager. After the codec factory has been registered, 38 | * application can use @ref PJMEDIA_CODEC API to manipulate the codec. 39 | * 40 | * The GSM codec supports 16-bit PCM with sampling rate of 8000Hz resulting 41 | * in 13.2kbps bitrate. 42 | * 43 | * \section codec_setting Codec Settings 44 | * 45 | * \subsection general_setting General Settings 46 | * 47 | * General codec settings for this codec such as VAD and PLC can be 48 | * manipulated through the setting field in #pjmedia_codec_param. 49 | * Please see the documentation of #pjmedia_codec_param for more info. 50 | * 51 | * \subsection specific_setting Codec Specific Settings 52 | * 53 | * Currently none. 54 | */ 55 | 56 | PJ_BEGIN_DECL 57 | 58 | 59 | /** 60 | * Initialize and register GSM codec factory to pjmedia endpoint. 61 | * 62 | * @param endpt The pjmedia endpoint. 63 | * 64 | * @return PJ_SUCCESS on success. 65 | */ 66 | PJ_DECL(pj_status_t) pjmedia_codec_gsm_init( pjmedia_endpt *endpt ); 67 | 68 | 69 | 70 | /** 71 | * Unregister GSM codec factory from pjmedia endpoint and deinitialize 72 | * the GSM codec library. 73 | * 74 | * @return PJ_SUCCESS on success. 75 | */ 76 | PJ_DECL(pj_status_t) pjmedia_codec_gsm_deinit(void); 77 | 78 | 79 | PJ_END_DECL 80 | 81 | 82 | /** 83 | * @} 84 | */ 85 | 86 | #endif /* __PJMEDIA_CODEC_GSM_H__ */ 87 | 88 | -------------------------------------------------------------------------------- /build/pjproject/src/pjmedia/include/pjmedia-codec/l16.h: -------------------------------------------------------------------------------- 1 | /* $Id: l16.h 3553 2011-05-05 06:14:19Z nanang $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJMEDIA_CODEC_L16_H__ 21 | #define __PJMEDIA_CODEC_L16_H__ 22 | 23 | #include 24 | 25 | 26 | /** 27 | * @defgroup PJMED_L16 L16 Codec Family 28 | * @ingroup PJMEDIA_CODEC_CODECS 29 | * @brief Implementation of PCM/16bit/linear codecs 30 | * @{ 31 | * 32 | * This section describes functions to initialize and register L16 codec 33 | * factory to the codec manager. After the codec factory has been registered, 34 | * application can use @ref PJMEDIA_CODEC API to manipulate the codec. 35 | * 36 | * Note that the L16 codec factory registers several (about fourteen!) 37 | * L16 codec types to codec manager (different combinations of clock 38 | * rate and number of channels). 39 | * 40 | * \section codec_setting Codec Settings 41 | * 42 | * \subsection general_setting General Settings 43 | * 44 | * General codec settings for this codec such as VAD and PLC can be 45 | * manipulated through the setting field in #pjmedia_codec_param. 46 | * Please see the documentation of #pjmedia_codec_param for more info. 47 | * 48 | * \subsection specific_setting Codec Specific Settings 49 | * 50 | * Currently none. 51 | */ 52 | 53 | PJ_BEGIN_DECL 54 | 55 | 56 | /** 57 | * Initialize and register L16 codec factory to pjmedia endpoint. 58 | * 59 | * @param endpt The pjmedia endpoint. 60 | * @param options Must be zero for now. 61 | * 62 | * @return PJ_SUCCESS on success. 63 | */ 64 | PJ_DECL(pj_status_t) pjmedia_codec_l16_init( pjmedia_endpt *endpt, 65 | unsigned options); 66 | 67 | 68 | 69 | /** 70 | * Unregister L16 codec factory from pjmedia endpoint. 71 | * 72 | * @return PJ_SUCCESS on success. 73 | */ 74 | PJ_DECL(pj_status_t) pjmedia_codec_l16_deinit(void); 75 | 76 | 77 | PJ_END_DECL 78 | 79 | 80 | #endif /* __PJMEDIA_CODEC_L16_H__ */ 81 | 82 | -------------------------------------------------------------------------------- /build/pjproject/src/pjmedia/include/pjmedia-codec/openh264.h: -------------------------------------------------------------------------------- 1 | /* $Id: openh264.h 4815 2014-04-10 10:01:07Z bennylp $ */ 2 | /* 3 | * Copyright (C) 2014 Teluu Inc. (http://www.teluu.com) 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 2 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program; if not, write to the Free Software 17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | #ifndef __PJMEDIA_CODEC_OPENH264_H__ 20 | #define __PJMEDIA_CODEC_OPENH264_H__ 21 | 22 | #include 23 | #include 24 | 25 | /** 26 | * @file pjmedia-codec/openh264.h 27 | * @brief Open H.264 codec 28 | */ 29 | 30 | 31 | PJ_BEGIN_DECL 32 | 33 | /** 34 | * @defgroup PJMEDIA_CODEC_OPENH264 Open H.264 Codec 35 | * @ingroup PJMEDIA_CODEC_VID_CODECS 36 | * @{ 37 | */ 38 | 39 | /** 40 | * Initialize and register OpenH264 codec factory. 41 | * 42 | * @param mgr The video codec manager instance where this codec will 43 | * be registered to. Specify NULL to use default instance 44 | * (in that case, an instance of video codec manager must 45 | * have been created beforehand). 46 | * @param pf Pool factory. 47 | * 48 | * @return PJ_SUCCESS on success. 49 | */ 50 | PJ_DECL(pj_status_t) pjmedia_codec_openh264_vid_init(pjmedia_vid_codec_mgr *mgr, 51 | pj_pool_factory *pf); 52 | 53 | /** 54 | * Unregister OpenH264 video codecs factory from the video codec manager and 55 | * deinitialize the codec library. 56 | * 57 | * @return PJ_SUCCESS on success. 58 | */ 59 | PJ_DECL(pj_status_t) pjmedia_codec_openh264_vid_deinit(void); 60 | 61 | 62 | /** 63 | * @} PJMEDIA_CODEC_OPENH264 64 | */ 65 | 66 | 67 | PJ_END_DECL 68 | 69 | #endif /* __PJMEDIA_CODEC_OPENH264_H__ */ 70 | -------------------------------------------------------------------------------- /build/pjproject/src/pjmedia/include/pjmedia-codec/vid_toolbox.h: -------------------------------------------------------------------------------- 1 | /* $Id: vid_toolbox.h 5603 2017-06-08 06:23:56Z ming $ */ 2 | /* 3 | * Copyright (C) 2017 Teluu Inc. (http://www.teluu.com) 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 2 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program; if not, write to the Free Software 17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | #ifndef __PJMEDIA_CODEC_VID_TOOLBOX_H__ 20 | #define __PJMEDIA_CODEC_VID_TOOLBOX_H__ 21 | 22 | #include 23 | #include 24 | 25 | /** 26 | * @file pjmedia-codec/vid_toolbox.h 27 | * @brief Video Toolbox codec 28 | */ 29 | 30 | 31 | PJ_BEGIN_DECL 32 | 33 | /** 34 | * @defgroup PJMEDIA_CODEC_VID_TOOLBOX Video Toolbox Codec 35 | * @ingroup PJMEDIA_CODEC_VID_CODECS 36 | * @{ 37 | * 38 | * Video Toolbox H.264 codec wrapper for Mac and iOS. 39 | */ 40 | 41 | /** 42 | * Initialize and register Video Toolbox codec factory. 43 | * 44 | * @param mgr The video codec manager instance where this codec will 45 | * be registered to. Specify NULL to use default instance 46 | * (in that case, an instance of video codec manager must 47 | * have been created beforehand). 48 | * @param pf Pool factory. 49 | * 50 | * @return PJ_SUCCESS on success. 51 | */ 52 | PJ_DECL(pj_status_t) pjmedia_codec_vid_toolbox_init(pjmedia_vid_codec_mgr *mgr, 53 | pj_pool_factory *pf); 54 | 55 | /** 56 | * Unregister Video Toolbox video codecs factory from the video codec manager 57 | * and deinitialize the codec library. 58 | * 59 | * @return PJ_SUCCESS on success. 60 | */ 61 | PJ_DECL(pj_status_t) pjmedia_codec_vid_toolbox_deinit(void); 62 | 63 | 64 | /** 65 | * @} PJMEDIA_CODEC_VIDEO_TOOLBOX 66 | */ 67 | 68 | 69 | PJ_END_DECL 70 | 71 | #endif /* __PJMEDIA_CODEC_VID_TOOLBOX_H__ */ 72 | -------------------------------------------------------------------------------- /build/pjproject/src/pjmedia/include/pjmedia-videodev/opengl_dev.h: -------------------------------------------------------------------------------- 1 | /* $Id: opengl_dev.h 5117 2015-06-25 04:51:59Z ming $ */ 2 | /* 3 | * Copyright (C) 2013-2014 Teluu Inc. (http://www.teluu.com) 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 2 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program; if not, write to the Free Software 17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | #ifndef __PJMEDIA_VIDEODEV_OPENGL_DEV_H__ 20 | #define __PJMEDIA_VIDEODEV_OPENGL_DEV_H__ 21 | 22 | #include 23 | 24 | /* OpenGL implementation on each platform needs to implement these functions 25 | * and stream operations. 26 | */ 27 | /* Get capabilities of the implementation */ 28 | int pjmedia_vid_dev_opengl_imp_get_cap(void); 29 | 30 | /* Create OpenGL stream */ 31 | pj_status_t 32 | pjmedia_vid_dev_opengl_imp_create_stream(pj_pool_t *pool, 33 | pjmedia_vid_dev_param *param, 34 | const pjmedia_vid_dev_cb *cb, 35 | void *user_data, 36 | pjmedia_vid_dev_stream **p_vid_strm); 37 | 38 | /****************************************************************************/ 39 | /* OpenGL buffers opaque structure. */ 40 | typedef struct gl_buffers gl_buffers; 41 | 42 | /* Create OpenGL buffers. */ 43 | void pjmedia_vid_dev_opengl_create_buffers(pj_pool_t *pool, pj_bool_t direct, 44 | gl_buffers **glb); 45 | /* Initialize OpenGL buffers. */ 46 | pj_status_t pjmedia_vid_dev_opengl_init_buffers(gl_buffers *glb); 47 | /* Render a texture. */ 48 | pj_status_t pjmedia_vid_dev_opengl_draw(gl_buffers *glb,unsigned int width, 49 | unsigned int height, void *pixels); 50 | /* Destroy OpenGL buffers. */ 51 | void pjmedia_vid_dev_opengl_destroy_buffers(gl_buffers *glb); 52 | 53 | #endif /* __PJMEDIA_VIDEODEV_OPENGL_DEV_H__ */ 54 | -------------------------------------------------------------------------------- /build/pjproject/src/pjmedia/include/pjmedia.h: -------------------------------------------------------------------------------- 1 | /* $Id: pjmedia.h 5939 2019-03-05 06:23:02Z nanang $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJMEDIA_H__ 21 | #define __PJMEDIA_H__ 22 | 23 | /** 24 | * @file pjmedia.h 25 | * @brief PJMEDIA main header file. 26 | */ 27 | #include 28 | #include 29 | #include 30 | #include 31 | #include 32 | #include 33 | #include 34 | #include 35 | #include 36 | #include 37 | #include 38 | #include 39 | #include 40 | #include 41 | #include 42 | #include 43 | #include 44 | #include 45 | #include 46 | #include 47 | #include 48 | #include 49 | #include 50 | #include 51 | #include 52 | #include 53 | #include 54 | #include 55 | #include 56 | //#include 57 | #include 58 | #include 59 | #include 60 | #include 61 | #include 62 | #include 63 | #include 64 | #include 65 | #include 66 | #include 67 | #include 68 | #include 69 | #include 70 | #include 71 | #include 72 | #include 73 | #include 74 | #include 75 | //#include 76 | #include 77 | #include 78 | #include 79 | #include 80 | 81 | #endif /* __PJMEDIA_H__ */ 82 | 83 | -------------------------------------------------------------------------------- /build/pjproject/src/pjmedia/include/pjmedia/bidirectional.h: -------------------------------------------------------------------------------- 1 | /* $Id: bidirectional.h 3553 2011-05-05 06:14:19Z nanang $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJMEDIA_BIDIRECTIONAL_H__ 21 | #define __PJMEDIA_BIDIRECTIONAL_H__ 22 | 23 | /** 24 | * @file bidirectional.h 25 | * @brief Bidirectional media port. 26 | */ 27 | #include 28 | 29 | 30 | /** 31 | * @defgroup PJMEDIA_BIDIRECTIONAL_PORT Bidirectional Port 32 | * @ingroup PJMEDIA_PORT 33 | * @brief A bidirectional port combines two unidirectional ports into one 34 | * bidirectional port 35 | * @{ 36 | */ 37 | 38 | 39 | PJ_BEGIN_DECL 40 | 41 | 42 | /** 43 | * Create bidirectional port from two unidirectional ports 44 | * 45 | * @param pool Pool to allocate memory. 46 | * @param get_port Port where get_frame() will be directed to. 47 | * @param put_port Port where put_frame() will be directed to. 48 | * @param p_port Pointer to receive the port instance. 49 | * 50 | * @return PJ_SUCCESS on success. 51 | */ 52 | PJ_DECL(pj_status_t) pjmedia_bidirectional_port_create(pj_pool_t *pool, 53 | pjmedia_port *get_port, 54 | pjmedia_port *put_port, 55 | pjmedia_port **p_port ); 56 | 57 | 58 | 59 | PJ_END_DECL 60 | 61 | /** 62 | * @} 63 | */ 64 | 65 | 66 | #endif /* __PJMEDIA_BIDIRECTIONAL_H__ */ 67 | 68 | -------------------------------------------------------------------------------- /build/pjproject/src/pjmedia/include/pjmedia/config_auto.h: -------------------------------------------------------------------------------- 1 | /* pjmedia/include/pjmedia/config_auto.h. Generated from config_auto.h.in by configure. */ 2 | /* $Id: config_auto.h.in 3295 2010-08-25 12:51:29Z bennylp $ */ 3 | /* 4 | * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) 5 | * Copyright (C) 2003-2008 Benny Prijono 6 | * 7 | * This program is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation; either version 2 of the License, or 10 | * (at your option) any later version. 11 | * 12 | * This program is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | * GNU General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU General Public License 18 | * along with this program; if not, write to the Free Software 19 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 | */ 21 | #ifndef __PJMEDIA_CONFIG_AUTO_H_ 22 | #define __PJMEDIA_CONFIG_AUTO_H_ 23 | 24 | /** 25 | * @file config_auto.h 26 | * @brief PJMEDIA configuration as set by autoconf script 27 | */ 28 | 29 | /* 30 | * Note: 31 | * The configuration in config_site.h overrides any other settings, 32 | * including the setting as detected by autoconf. 33 | */ 34 | 35 | /* G711 codec */ 36 | #ifndef PJMEDIA_HAS_G711_CODEC 37 | /* #undef PJMEDIA_HAS_G711_CODEC */ 38 | #endif 39 | 40 | 41 | #endif /* __PJMEDIA_CONFIG_AUTO_H_ */ 42 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /build/pjproject/src/pjmedia/include/pjmedia/config_auto.h.in: -------------------------------------------------------------------------------- 1 | /* $Id: config_auto.h.in 3295 2010-08-25 12:51:29Z bennylp $ */ 2 | /* 3 | * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJMEDIA_CONFIG_AUTO_H_ 21 | #define __PJMEDIA_CONFIG_AUTO_H_ 22 | 23 | /** 24 | * @file config_auto.h 25 | * @brief PJMEDIA configuration as set by autoconf script 26 | */ 27 | 28 | /* 29 | * Note: 30 | * The configuration in config_site.h overrides any other settings, 31 | * including the setting as detected by autoconf. 32 | */ 33 | 34 | /* G711 codec */ 35 | #ifndef PJMEDIA_HAS_G711_CODEC 36 | #undef PJMEDIA_HAS_G711_CODEC 37 | #endif 38 | 39 | 40 | #endif /* __PJMEDIA_CONFIG_AUTO_H_ */ 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /build/pjproject/src/pjmedia/include/pjmedia/echo_port.h: -------------------------------------------------------------------------------- 1 | /* $Id: echo_port.h 3553 2011-05-05 06:14:19Z nanang $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJMEDIA_AEC_PORT_H__ 21 | #define __PJMEDIA_AEC_PORT_H__ 22 | 23 | /** 24 | * @file echo_port.h 25 | * @brief AEC (Accoustic Echo Cancellation) media port. 26 | */ 27 | #include 28 | 29 | 30 | 31 | /** 32 | * @defgroup PJMEDIA_ECHO_PORT Echo Cancellation Port 33 | * @ingroup PJMEDIA_PORT 34 | * @brief Echo Cancellation 35 | * @{ 36 | * 37 | * Wrapper to \ref PJMEDIA_Echo_Cancel into media port interface. 38 | */ 39 | 40 | 41 | PJ_BEGIN_DECL 42 | 43 | 44 | /** 45 | * Create echo canceller port. 46 | * 47 | * @param pool Pool to allocate memory. 48 | * @param dn_port Downstream port. 49 | * @param tail_ms Tail length in miliseconds. 50 | * @param latency_ms Total lacency introduced by playback and 51 | * recording device. Set to zero if the latency 52 | * is not known. 53 | * @param options Options, as in #pjmedia_echo_create(). 54 | * @param p_port Pointer to receive the port instance. 55 | * 56 | * @return PJ_SUCCESS on success. 57 | */ 58 | PJ_DECL(pj_status_t) pjmedia_echo_port_create(pj_pool_t *pool, 59 | pjmedia_port *dn_port, 60 | unsigned tail_ms, 61 | unsigned latency_ms, 62 | unsigned options, 63 | pjmedia_port **p_port ); 64 | 65 | 66 | 67 | PJ_END_DECL 68 | 69 | /** 70 | * @} 71 | */ 72 | 73 | 74 | #endif /* __PJMEDIA_AEC_PORT_H__ */ 75 | -------------------------------------------------------------------------------- /build/pjproject/src/pjmedia/include/pjmedia/g711.h: -------------------------------------------------------------------------------- 1 | /* $Id: g711.h 3553 2011-05-05 06:14:19Z nanang $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJMEDIA_G711_H__ 21 | #define __PJMEDIA_G711_H__ 22 | 23 | /** 24 | * @file g711.h 25 | * @brief G711 Codec 26 | */ 27 | 28 | #include 29 | 30 | /** 31 | * @defgroup PJMED_G711 G.711 Codec 32 | * @ingroup PJMEDIA_CODEC_CODECS 33 | * @brief Standard G.711/PCMA and PCMU codec. 34 | * @{ 35 | * 36 | * This section describes functions to initialize and register G.711 codec 37 | * factory to the codec manager. After the codec factory has been registered, 38 | * application can use @ref PJMEDIA_CODEC API to manipulate the codec. 39 | * 40 | * The G.711 is an ultra low complexity codecs and in trade-off it results 41 | * in high bitrate, i.e: 64kbps for 16-bit PCM with sampling rate 8000Hz. 42 | * 43 | * The factory contains two main compression algorithms, PCMU/u-Law and 44 | * PCMA/A-Law. 45 | * 46 | * \section codec_setting Codec Settings 47 | * 48 | * \subsection general_setting General Settings 49 | * 50 | * General codec settings for this codec such as VAD and PLC can be 51 | * manipulated through the setting field in #pjmedia_codec_param. 52 | * Please see the documentation of #pjmedia_codec_param for more info. 53 | * 54 | * \subsection specific_setting Codec Specific Settings 55 | * 56 | * Currently none. 57 | */ 58 | 59 | PJ_BEGIN_DECL 60 | 61 | 62 | /** 63 | * Initialize and register G711 codec factory to pjmedia endpoint. 64 | * This will register PCMU and PCMA codec, in that order. 65 | * 66 | * @param endpt The pjmedia endpoint. 67 | * 68 | * @return PJ_SUCCESS on success. 69 | */ 70 | PJ_DECL(pj_status_t) pjmedia_codec_g711_init(pjmedia_endpt *endpt); 71 | 72 | 73 | 74 | /** 75 | * Unregister G711 codec factory from pjmedia endpoint. 76 | * 77 | * @return PJ_SUCCESS on success. 78 | */ 79 | PJ_DECL(pj_status_t) pjmedia_codec_g711_deinit(void); 80 | 81 | 82 | PJ_END_DECL 83 | 84 | /** 85 | * @} 86 | */ 87 | 88 | #endif /* __PJMEDIA_G711_H__ */ 89 | 90 | -------------------------------------------------------------------------------- /build/pjproject/src/pjmedia/include/pjmedia/null_port.h: -------------------------------------------------------------------------------- 1 | /* $Id: null_port.h 3553 2011-05-05 06:14:19Z nanang $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJMEDIA_NULL_PORT_H__ 21 | #define __PJMEDIA_NULL_PORT_H__ 22 | 23 | /** 24 | * @file null_port.h 25 | * @brief Null media port. 26 | */ 27 | #include 28 | 29 | 30 | 31 | /** 32 | * @defgroup PJMEDIA_NULL_PORT Null Port 33 | * @ingroup PJMEDIA_PORT 34 | * @brief The simplest type of media port which does nothing. 35 | * @{ 36 | */ 37 | 38 | 39 | PJ_BEGIN_DECL 40 | 41 | 42 | /** 43 | * Create Null port. 44 | * 45 | * @param pool Pool to allocate memory. 46 | * @param sampling_rate Sampling rate of the port. 47 | * @param channel_count Number of channels. 48 | * @param samples_per_frame Number of samples per frame. 49 | * @param bits_per_sample Number of bits per sample. 50 | * @param p_port Pointer to receive the port instance. 51 | * 52 | * @return PJ_SUCCESS on success. 53 | */ 54 | PJ_DECL(pj_status_t) pjmedia_null_port_create( pj_pool_t *pool, 55 | unsigned sampling_rate, 56 | unsigned channel_count, 57 | unsigned samples_per_frame, 58 | unsigned bits_per_sample, 59 | pjmedia_port **p_port ); 60 | 61 | 62 | 63 | PJ_END_DECL 64 | 65 | /** 66 | * @} 67 | */ 68 | 69 | 70 | #endif /* __PJMEDIA_NULL_PORT_H__ */ 71 | -------------------------------------------------------------------------------- /build/pjproject/src/pjmedia/include/pjmedia/stream_common.h: -------------------------------------------------------------------------------- 1 | /* $Id: stream_common.h 5479 2016-11-04 14:57:20Z riza $ */ 2 | /* 3 | * Copyright (C) 2011 Teluu Inc. (http://www.teluu.com) 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 2 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program; if not, write to the Free Software 17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | #ifndef __PJMEDIA_STREAM_COMMON_H__ 20 | #define __PJMEDIA_STREAM_COMMON_H__ 21 | 22 | 23 | /** 24 | * @file stream_common.h 25 | * @brief Stream common functions. 26 | */ 27 | 28 | #include 29 | #include 30 | #include 31 | #include 32 | 33 | 34 | PJ_BEGIN_DECL 35 | 36 | /** 37 | * This structure describes rtp/rtcp session information of the media stream. 38 | */ 39 | typedef struct pjmedia_stream_rtp_sess_info 40 | { 41 | /** 42 | * The decode RTP session. 43 | */ 44 | const pjmedia_rtp_session *rx_rtp; 45 | 46 | /** 47 | * The encode RTP session. 48 | */ 49 | const pjmedia_rtp_session *tx_rtp; 50 | 51 | /** 52 | * The decode RTCP session. 53 | */ 54 | const pjmedia_rtcp_session *rtcp; 55 | 56 | } pjmedia_stream_rtp_sess_info; 57 | 58 | 59 | 60 | /** 61 | * This is internal function for parsing SDP format parameter of specific 62 | * format or payload type, used by stream in generating stream info from SDP. 63 | * 64 | * @param pool Pool to allocate memory, if pool is NULL, the fmtp 65 | * string pointers will point to the original string in 66 | * the SDP media descriptor. 67 | * @param m The SDP media containing the format parameter to 68 | * be parsed. 69 | * @param pt The format or payload type. 70 | * @param fmtp The format parameter to store the parsing result. 71 | * 72 | * @return PJ_SUCCESS on success. 73 | */ 74 | PJ_DECL(pj_status_t) pjmedia_stream_info_parse_fmtp(pj_pool_t *pool, 75 | const pjmedia_sdp_media *m, 76 | unsigned pt, 77 | pjmedia_codec_fmtp *fmtp); 78 | 79 | 80 | PJ_END_DECL 81 | 82 | 83 | #endif /* __PJMEDIA_STREAM_COMMON_H__ */ 84 | -------------------------------------------------------------------------------- /build/pjproject/src/pjmedia/include/pjmedia/symbian_sound_aps.h: -------------------------------------------------------------------------------- 1 | /* $Id: symbian_sound_aps.h 3553 2011-05-05 06:14:19Z nanang $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJMEDIA_SYMBIAN_SOUND_APS_H__ 21 | #define __PJMEDIA_SYMBIAN_SOUND_APS_H__ 22 | 23 | 24 | /** 25 | * @file symbian_sound_aps.h 26 | * @brief Sound device wrapper using Audio Proxy Server on 27 | * Symbian S60 3rd edition. 28 | */ 29 | #include 30 | 31 | PJ_BEGIN_DECL 32 | 33 | /** 34 | * Set audio routing for APS sound device. 35 | * 36 | * @param stream The sound device stream, the stream should be started 37 | * before calling this function. 38 | * @param route Audio routing to be set. 39 | * 40 | * @return PJ_SUCCESS on success. 41 | */ 42 | PJ_DECL(pj_status_t) pjmedia_snd_aps_set_route( pjmedia_snd_stream *stream, 43 | pjmedia_snd_route route); 44 | 45 | PJ_END_DECL 46 | 47 | 48 | #endif /* __PJMEDIA_SYMBIAN_SOUND_APS_H__ */ 49 | -------------------------------------------------------------------------------- /build/pjproject/src/pjmedia/include/pjmedia/transport_adapter_sample.h: -------------------------------------------------------------------------------- 1 | /* $Id: transport_adapter_sample.h 3841 2011-10-24 09:28:13Z ming $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJMEDIA_TRANSPORT_ADAPTER_SAMPLE_H__ 21 | #define __PJMEDIA_TRANSPORT_ADAPTER_SAMPLE_H__ 22 | 23 | 24 | /** 25 | * @file transport_adapter_sample.h 26 | * @brief Sample Media Transport Adapter 27 | */ 28 | 29 | #include 30 | 31 | 32 | /** 33 | * @defgroup PJMEDIA_TRANSPORT_ADAPTER_SAMPLE Sample Transport Adapter 34 | * @ingroup PJMEDIA_TRANSPORT 35 | * @brief Example on how to create transport adapter. 36 | * @{ 37 | * 38 | * This describes a sample implementation of transport adapter, similar to 39 | * the way the SRTP transport adapter works. 40 | */ 41 | 42 | PJ_BEGIN_DECL 43 | 44 | 45 | /** 46 | * Create the transport adapter, specifying the underlying transport to be 47 | * used to send and receive RTP/RTCP packets. 48 | * 49 | * @param endpt The media endpoint. 50 | * @param name Optional name to identify this media transport 51 | * for logging purposes. 52 | * @param base_tp The base/underlying media transport to send and 53 | * receive RTP/RTCP packets. 54 | * @param del_base Specify whether the base transport should also be 55 | * destroyed when destroy() is called upon us. 56 | * @param p_tp Pointer to receive the media transport instance. 57 | * 58 | * @return PJ_SUCCESS on success, or the appropriate error code. 59 | */ 60 | PJ_DECL(pj_status_t) pjmedia_tp_adapter_create( pjmedia_endpt *endpt, 61 | const char *name, 62 | pjmedia_transport *base_tp, 63 | pj_bool_t del_base, 64 | pjmedia_transport **p_tp); 65 | 66 | PJ_END_DECL 67 | 68 | 69 | /** 70 | * @} 71 | */ 72 | 73 | 74 | #endif /* __PJMEDIA_TRANSPORT_ADAPTER_SAMPLE_H__ */ 75 | 76 | 77 | -------------------------------------------------------------------------------- /build/pjproject/src/pjmedia/include/pjmedia_audiodev.h: -------------------------------------------------------------------------------- 1 | /* $Id: pjmedia_audiodev.h 3553 2011-05-05 06:14:19Z nanang $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJMEDIA_AUDIODEV_H__ 21 | #define __PJMEDIA_AUDIODEV_H__ 22 | 23 | /** 24 | * @file pjmedia_audiodev.h 25 | * @brief PJMEDIA main header file. 26 | */ 27 | 28 | #include 29 | #include 30 | #include 31 | 32 | #endif /* __PJMEDIA_AUDIODEV_H__ */ 33 | 34 | -------------------------------------------------------------------------------- /build/pjproject/src/pjmedia/include/pjmedia_videodev.h: -------------------------------------------------------------------------------- 1 | /* $Id: pjmedia_videodev.h 4016 2012-04-04 05:05:50Z bennylp $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 2 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program; if not, write to the Free Software 17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | #ifndef __PJMEDIA_VIDEODEV_H__ 20 | #define __PJMEDIA_VIDEODEV_H__ 21 | 22 | /** 23 | * @file pjmedia_videodev.h 24 | * @brief PJMEDIA main header file. 25 | */ 26 | 27 | #include 28 | #include 29 | #include 30 | 31 | #endif /* __PJMEDIA_VIDEODEV_H__ */ 32 | -------------------------------------------------------------------------------- /build/pjproject/src/pjmedia/lib/libpjmedia-apple-darwin18.6.0.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nesterenkodm/pjsip/3fc76adcddffec8974da25125947e05bf3755202/build/pjproject/src/pjmedia/lib/libpjmedia-apple-darwin18.6.0.a -------------------------------------------------------------------------------- /build/pjproject/src/pjmedia/lib/libpjmedia-apple-darwin_ios.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nesterenkodm/pjsip/3fc76adcddffec8974da25125947e05bf3755202/build/pjproject/src/pjmedia/lib/libpjmedia-apple-darwin_ios.a -------------------------------------------------------------------------------- /build/pjproject/src/pjmedia/lib/libpjmedia-audiodev-apple-darwin18.6.0.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nesterenkodm/pjsip/3fc76adcddffec8974da25125947e05bf3755202/build/pjproject/src/pjmedia/lib/libpjmedia-audiodev-apple-darwin18.6.0.a -------------------------------------------------------------------------------- /build/pjproject/src/pjmedia/lib/libpjmedia-audiodev-apple-darwin_ios.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nesterenkodm/pjsip/3fc76adcddffec8974da25125947e05bf3755202/build/pjproject/src/pjmedia/lib/libpjmedia-audiodev-apple-darwin_ios.a -------------------------------------------------------------------------------- /build/pjproject/src/pjmedia/lib/libpjmedia-codec-apple-darwin18.6.0.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nesterenkodm/pjsip/3fc76adcddffec8974da25125947e05bf3755202/build/pjproject/src/pjmedia/lib/libpjmedia-codec-apple-darwin18.6.0.a -------------------------------------------------------------------------------- /build/pjproject/src/pjmedia/lib/libpjmedia-codec-apple-darwin_ios.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nesterenkodm/pjsip/3fc76adcddffec8974da25125947e05bf3755202/build/pjproject/src/pjmedia/lib/libpjmedia-codec-apple-darwin_ios.a -------------------------------------------------------------------------------- /build/pjproject/src/pjmedia/lib/libpjmedia-videodev-apple-darwin18.6.0.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nesterenkodm/pjsip/3fc76adcddffec8974da25125947e05bf3755202/build/pjproject/src/pjmedia/lib/libpjmedia-videodev-apple-darwin18.6.0.a -------------------------------------------------------------------------------- /build/pjproject/src/pjmedia/lib/libpjmedia-videodev-apple-darwin_ios.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nesterenkodm/pjsip/3fc76adcddffec8974da25125947e05bf3755202/build/pjproject/src/pjmedia/lib/libpjmedia-videodev-apple-darwin_ios.a -------------------------------------------------------------------------------- /build/pjproject/src/pjmedia/lib/libpjsdp-apple-darwin18.6.0.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nesterenkodm/pjsip/3fc76adcddffec8974da25125947e05bf3755202/build/pjproject/src/pjmedia/lib/libpjsdp-apple-darwin18.6.0.a -------------------------------------------------------------------------------- /build/pjproject/src/pjmedia/lib/libpjsdp-apple-darwin_ios.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nesterenkodm/pjsip/3fc76adcddffec8974da25125947e05bf3755202/build/pjproject/src/pjmedia/lib/libpjsdp-apple-darwin_ios.a -------------------------------------------------------------------------------- /build/pjproject/src/pjnath/include/pjnath.h: -------------------------------------------------------------------------------- 1 | /* $Id: pjnath.h 5203 2015-12-01 07:04:45Z nanang $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | 21 | #ifndef __PJNATH_H__ 22 | #define __PJNATH_H__ 23 | 24 | /** 25 | * @file pjnath.h 26 | * @brief PJNATH main header file. 27 | */ 28 | #include 29 | #include 30 | #include 31 | #include 32 | #include 33 | #include 34 | #include 35 | #include 36 | #include 37 | #include 38 | #include 39 | #include 40 | #include 41 | #include 42 | 43 | #endif 44 | 45 | -------------------------------------------------------------------------------- /build/pjproject/src/pjnath/include/pjnath/types.h: -------------------------------------------------------------------------------- 1 | /* $Id: types.h 3553 2011-05-05 06:14:19Z nanang $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJNATH_TYPES_H__ 21 | #define __PJNATH_TYPES_H__ 22 | 23 | /** 24 | * @file types.h 25 | * @brief PJNATH types. 26 | */ 27 | 28 | #include 29 | #include 30 | 31 | /** 32 | * @defgroup PJNATH NAT Traversal Helper Library 33 | * @{ 34 | */ 35 | 36 | PJ_BEGIN_DECL 37 | 38 | /** 39 | * This constant describes a number to be used to identify an invalid TURN 40 | * channel number. 41 | */ 42 | #define PJ_TURN_INVALID_CHANNEL 0xFFFF 43 | 44 | 45 | /** 46 | * Initialize pjnath library. 47 | * 48 | * @return Initialization status. 49 | */ 50 | PJ_DECL(pj_status_t) pjnath_init(void); 51 | 52 | 53 | /** 54 | * Display error to the log. 55 | * 56 | * @param sender The sender name. 57 | * @param title Title message. 58 | * @param status The error status. 59 | */ 60 | #if PJNATH_ERROR_LEVEL <= PJ_LOG_MAX_LEVEL 61 | PJ_DECL(void) pjnath_perror(const char *sender, const char *title, 62 | pj_status_t status); 63 | #else 64 | # define pjnath_perror(sender, title, status) 65 | #endif 66 | 67 | 68 | 69 | PJ_END_DECL 70 | 71 | /** 72 | * @} 73 | */ 74 | 75 | #endif /* __PJNATH_TYPES_H__ */ 76 | 77 | -------------------------------------------------------------------------------- /build/pjproject/src/pjnath/lib/libpjnath-apple-darwin18.6.0.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nesterenkodm/pjsip/3fc76adcddffec8974da25125947e05bf3755202/build/pjproject/src/pjnath/lib/libpjnath-apple-darwin18.6.0.a -------------------------------------------------------------------------------- /build/pjproject/src/pjnath/lib/libpjnath-apple-darwin_ios.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nesterenkodm/pjsip/3fc76adcddffec8974da25125947e05bf3755202/build/pjproject/src/pjnath/lib/libpjnath-apple-darwin_ios.a -------------------------------------------------------------------------------- /build/pjproject/src/pjsip/include/pjsip-simple/types.h: -------------------------------------------------------------------------------- 1 | /* $Id: types.h 3553 2011-05-05 06:14:19Z nanang $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJSIP_SIMPLE_TYPES_H__ 21 | #define __PJSIP_SIMPLE_TYPES_H__ 22 | 23 | #include 24 | 25 | 26 | #define PJSIP_EVSUB_POOL_LEN 4000 27 | #define PJSIP_EVSUB_POOL_INC 4000 28 | 29 | 30 | #endif /* __PJSIP_SIMPLE_TYPES_H__ */ 31 | 32 | -------------------------------------------------------------------------------- /build/pjproject/src/pjsip/include/pjsip.h: -------------------------------------------------------------------------------- 1 | /* $Id: pjsip.h 3553 2011-05-05 06:14:19Z nanang $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJSIP_H__ 21 | #define __PJSIP_H__ 22 | 23 | /* Base types. */ 24 | #include 25 | #include 26 | 27 | /* Messaging and parsing. */ 28 | #include 29 | #include 30 | #include 31 | #include 32 | #include 33 | 34 | /* Core */ 35 | #include 36 | #include 37 | #include 38 | #include 39 | 40 | /* Transport layer */ 41 | #include 42 | #include 43 | #include 44 | #include 45 | #include 46 | #include 47 | 48 | /* Authentication. */ 49 | #include 50 | #include 51 | 52 | /* Transaction layer. */ 53 | #include 54 | 55 | /* UA Layer. */ 56 | #include 57 | #include 58 | 59 | 60 | #endif /* __PJSIP_H__ */ 61 | 62 | -------------------------------------------------------------------------------- /build/pjproject/src/pjsip/include/pjsip/sip_auth_parser.h: -------------------------------------------------------------------------------- 1 | /* $Id: sip_auth_parser.h 5883 2018-09-07 02:56:38Z ming $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJSIP_AUTH_SIP_AUTH_PARSER_H__ 21 | #define __PJSIP_AUTH_SIP_AUTH_PARSER_H__ 22 | 23 | /** 24 | * @file sip_auth_parser.h 25 | * @brief SIP Authorization Parser Module. 26 | */ 27 | 28 | #include 29 | 30 | PJ_BEGIN_DECL 31 | 32 | /** 33 | * Initialize and register authorization parser module. 34 | * This will register parser handler for various Authorization related headers 35 | * such as Authorization, WWW-Authenticate, Proxy-Authorizization, and 36 | * Proxy-Authenticate headers. 37 | * 38 | * This function is called automatically by the main SIP parser. 39 | * 40 | * @return PJ_SUCCESS or the appropriate status code. 41 | */ 42 | PJ_DECL(pj_status_t) pjsip_auth_init_parser(void); 43 | 44 | /** 45 | * DeInitialize authorization parser module. 46 | */ 47 | PJ_DECL(void) pjsip_auth_deinit_parser(); 48 | 49 | 50 | 51 | extern const pj_str_t pjsip_USERNAME_STR, /**< "username" string const. */ 52 | pjsip_REALM_STR, /**< "realm" string const. */ 53 | pjsip_NONCE_STR, /**< "nonce" string const. */ 54 | pjsip_URI_STR, /**< "uri" string const. */ 55 | pjsip_RESPONSE_STR, /**< "response" string const. */ 56 | pjsip_ALGORITHM_STR,/**< "algorithm" string const. */ 57 | pjsip_DOMAIN_STR, /**< "domain" string const. */ 58 | pjsip_STALE_STR, /**< "stale" string const. */ 59 | pjsip_QOP_STR, /**< "qop" string const. */ 60 | pjsip_CNONCE_STR, /**< "cnonce" string const. */ 61 | pjsip_OPAQUE_STR, /**< "opaque" string const. */ 62 | pjsip_NC_STR, /**< "nc" string const. */ 63 | pjsip_TRUE_STR, /**< "true" string const. */ 64 | pjsip_FALSE_STR, /**< "false" string const. */ 65 | pjsip_DIGEST_STR, /**< "digest" string const. */ 66 | pjsip_PGP_STR, /**< "pgp" string const. */ 67 | pjsip_BEARER_STR, /**< "bearer" string const. */ 68 | pjsip_MD5_STR, /**< "md5" string const. */ 69 | pjsip_AUTH_STR; /**< "auth" string const. */ 70 | 71 | PJ_END_DECL 72 | 73 | #endif /* __PJSIP_AUTH_SIP_AUTH_PARSER_H__ */ 74 | 75 | -------------------------------------------------------------------------------- /build/pjproject/src/pjsip/include/pjsip/sip_autoconf.h: -------------------------------------------------------------------------------- 1 | /* pjsip/include/pjsip/sip_autoconf.h. Generated from sip_autoconf.h.in by configure. */ 2 | /* $Id: sip_autoconf.h.in 3295 2010-08-25 12:51:29Z bennylp $ */ 3 | /* 4 | * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) 5 | * Copyright (C) 2003-2008 Benny Prijono 6 | * 7 | * This program is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation; either version 2 of the License, or 10 | * (at your option) any later version. 11 | * 12 | * This program is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | * GNU General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU General Public License 18 | * along with this program; if not, write to the Free Software 19 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 | */ 21 | #ifndef __PJSIP_SIP_AUTOCONF_H__ 22 | #define __PJSIP_SIP_AUTOCONF_H__ 23 | 24 | /** 25 | * @file sip_autoconf.h 26 | * @brief Describes operating system specifics (automatically detected by 27 | * autoconf) 28 | */ 29 | 30 | /* 31 | * Enable/disable TLS transport, as configured by autoconf. 32 | * But only do this if user doesn't explicitly configure in pj/config_site.h. 33 | */ 34 | /* Since 1.5, the default setting will follow PJ_HAS_SSL_SOCK setting. */ 35 | //#ifndef PJSIP_HAS_TLS_TRANSPORT 36 | //#undef PJSIP_HAS_TLS_TRANSPORT 37 | //#endif 38 | 39 | #endif /* __PJSIP_SIP_AUTOCONF_H__ */ 40 | 41 | -------------------------------------------------------------------------------- /build/pjproject/src/pjsip/include/pjsip/sip_autoconf.h.in: -------------------------------------------------------------------------------- 1 | /* $Id: sip_autoconf.h.in 3295 2010-08-25 12:51:29Z bennylp $ */ 2 | /* 3 | * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJSIP_SIP_AUTOCONF_H__ 21 | #define __PJSIP_SIP_AUTOCONF_H__ 22 | 23 | /** 24 | * @file sip_autoconf.h 25 | * @brief Describes operating system specifics (automatically detected by 26 | * autoconf) 27 | */ 28 | 29 | /* 30 | * Enable/disable TLS transport, as configured by autoconf. 31 | * But only do this if user doesn't explicitly configure in pj/config_site.h. 32 | */ 33 | /* Since 1.5, the default setting will follow PJ_HAS_SSL_SOCK setting. */ 34 | //#ifndef PJSIP_HAS_TLS_TRANSPORT 35 | //#undef PJSIP_HAS_TLS_TRANSPORT 36 | //#endif 37 | 38 | #endif /* __PJSIP_SIP_AUTOCONF_H__ */ 39 | 40 | -------------------------------------------------------------------------------- /build/pjproject/src/pjsip/include/pjsip/sip_private.h: -------------------------------------------------------------------------------- 1 | /* $Id: sip_private.h 3553 2011-05-05 06:14:19Z nanang $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJSIP_SIP_PRIVATE_H__ 21 | #define __PJSIP_SIP_PRIVATE_H__ 22 | 23 | /** 24 | * @file sip_private.h 25 | * @brief Private structures and functions for PJSIP Library. 26 | */ 27 | 28 | #include 29 | 30 | 31 | #endif /* __PJSIP_PRIVATE_I_H__ */ 32 | 33 | -------------------------------------------------------------------------------- /build/pjproject/src/pjsip/include/pjsip/sip_tel_uri.h: -------------------------------------------------------------------------------- 1 | /* $Id: sip_tel_uri.h 3553 2011-05-05 06:14:19Z nanang $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJSIP_TEL_URI_H__ 21 | #define __PJSIP_TEL_URI_H__ 22 | 23 | /** 24 | * @file sip_tel_uri.h 25 | * @brief Tel: URI 26 | */ 27 | 28 | #include 29 | 30 | /** 31 | * @addtogroup PJSIP_TEL_URI tel URI Scheme 32 | * @ingroup PJSIP_URI 33 | * @brief Support for "tel:" URI scheme. 34 | * @{ 35 | */ 36 | 37 | 38 | PJ_BEGIN_DECL 39 | 40 | /** 41 | * tel: URI. 42 | */ 43 | typedef struct pjsip_tel_uri 44 | { 45 | pjsip_uri_vptr *vptr; /**< Pointer to virtual function table. */ 46 | pj_str_t number; /**< Global or local phone number */ 47 | pj_str_t context; /**< Phone context (for local number). */ 48 | pj_str_t ext_param; /**< Extension param. */ 49 | pj_str_t isub_param; /**< ISDN sub-address param. */ 50 | pjsip_param other_param;/**< Other parameter. */ 51 | } pjsip_tel_uri; 52 | 53 | 54 | /** 55 | * Create a new tel: URI. 56 | * 57 | * @param pool The pool. 58 | * 59 | * @return New instance of tel: URI. 60 | */ 61 | PJ_DECL(pjsip_tel_uri*) pjsip_tel_uri_create(pj_pool_t *pool); 62 | 63 | /** 64 | * This function compares two numbers for equality, according to rules as 65 | * specified in RFC 3966. 66 | * 67 | * @param nb1 The first number. 68 | * @param nb2 The second number. 69 | * 70 | * @return Zero if equal, -1 if nb1 is less than nb2, or +1 if 71 | * nb1 is greater than nb2. 72 | */ 73 | PJ_DECL(int) pjsip_tel_nb_cmp(const pj_str_t *nb1, const pj_str_t *nb2); 74 | 75 | 76 | PJ_END_DECL 77 | 78 | 79 | /** 80 | * @} 81 | */ 82 | 83 | 84 | #endif /* __PJSIP_TEL_URI_H__ */ 85 | -------------------------------------------------------------------------------- /build/pjproject/src/pjsip/include/pjsip_auth.h: -------------------------------------------------------------------------------- 1 | /* $Id: pjsip_auth.h 3553 2011-05-05 06:14:19Z nanang $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJSIP_AUTH_H__ 21 | #define __PJSIP_AUTH_H__ 22 | 23 | /** 24 | * @defgroup PJSIP_AUTH SIP Authorization module 25 | */ 26 | 27 | /** 28 | * @file pjsip_auth.h 29 | * @brief SIP Authorization Module. 30 | */ 31 | 32 | 33 | #include 34 | #include 35 | #include 36 | 37 | #endif /* __PJSIP_AUTH_H__ */ 38 | 39 | -------------------------------------------------------------------------------- /build/pjproject/src/pjsip/include/pjsip_simple.h: -------------------------------------------------------------------------------- 1 | /* $Id: pjsip_simple.h 3553 2011-05-05 06:14:19Z nanang $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | 21 | /** 22 | * @defgroup PJSIP_SIMPLE Event and Presence Framework 23 | */ 24 | 25 | /** 26 | * @file pjsip_simple.h 27 | * @brief SIP SIMPLE Extension 28 | */ 29 | 30 | /* 31 | * Include this header file to get all functionalities for SIMPLE extension 32 | * (SIP for Instant Messaging and Presence Leveraging Extension). 33 | */ 34 | #ifndef __PJSIP_SIMPLE_H__ 35 | #define __PJSIP_SIMPLE_H__ 36 | 37 | #include 38 | #include 39 | #include 40 | #include 41 | #include 42 | #include 43 | #include 44 | #include 45 | 46 | #endif /* __PJSIP_SIMPLE_H__ */ 47 | -------------------------------------------------------------------------------- /build/pjproject/src/pjsip/include/pjsip_ua.h: -------------------------------------------------------------------------------- 1 | /* $Id: pjsip_ua.h 3553 2011-05-05 06:14:19Z nanang $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * Copyright (C) 2003-2008 Benny Prijono 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 | */ 20 | #ifndef __PJSIP_UA_H__ 21 | #define __PJSIP_UA_H__ 22 | 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | #include 29 | 30 | 31 | #endif /* __PJSIP_UA_H__ */ 32 | 33 | -------------------------------------------------------------------------------- /build/pjproject/src/pjsip/include/pjsua.h: -------------------------------------------------------------------------------- 1 | #include 2 | -------------------------------------------------------------------------------- /build/pjproject/src/pjsip/include/pjsua2.hpp: -------------------------------------------------------------------------------- 1 | /* $Id: pjsua2.hpp 4704 2014-01-16 05:30:46Z ming $ */ 2 | /* 3 | * Copyright (C) 2008-2013 Teluu Inc. (http://www.teluu.com) 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 2 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program; if not, write to the Free Software 17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | #ifndef __PJSUA2_HPP__ 20 | #define __PJSUA2_HPP__ 21 | 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /build/pjproject/src/pjsip/include/pjsua2/config.hpp: -------------------------------------------------------------------------------- 1 | /* $Id: config.hpp 6026 2019-06-12 06:00:35Z nanang $ */ 2 | /* 3 | * Copyright (C) 2013 Teluu Inc. (http://www.teluu.com) 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 2 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program; if not, write to the Free Software 17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | #ifndef __PJSUA2_CONFIG_HPP__ 20 | #define __PJSUA2_CONFIG_HPP__ 21 | 22 | /** 23 | * @file pjsua2/config.hpp 24 | * @brief PJSUA2 Base Agent Operation 25 | */ 26 | #include 27 | 28 | /** 29 | * @defgroup PJSUA2_CFG_Compile Compile time settings 30 | * @ingroup PJSUA2_DS 31 | * @{ 32 | */ 33 | 34 | /** 35 | * Specify if the Error exception info should contain operation and source 36 | * file information. 37 | */ 38 | #ifndef PJSUA2_ERROR_HAS_EXTRA_INFO 39 | # define PJSUA2_ERROR_HAS_EXTRA_INFO 1 40 | #endif 41 | 42 | /** 43 | * Maximum buffer length to print SDP content for SdpSession. Set this to 0 44 | * if the printed SDP is not needed. 45 | */ 46 | #ifndef PJSUA2_MAX_SDP_BUF_LEN 47 | # define PJSUA2_MAX_SDP_BUF_LEN 1024 48 | #endif 49 | 50 | 51 | /* 52 | * C++11 deprecated dynamic exception specification, but SWIG needs it. 53 | */ 54 | #ifndef SWIG 55 | # define PJSUA2_THROW(x) 56 | #else 57 | # define PJSUA2_THROW(x) throw(x) 58 | #endif 59 | 60 | /** 61 | * @} PJSUA2_CFG 62 | */ 63 | 64 | #endif /* __PJSUA2_CONFIG_HPP__ */ 65 | -------------------------------------------------------------------------------- /build/pjproject/src/pjsip/include/pjsua2/doxygen.hpp: -------------------------------------------------------------------------------- 1 | /* $Id: doxygen.hpp 4704 2014-01-16 05:30:46Z ming $ */ 2 | /* 3 | * Copyright (C) 2008-2012 Teluu Inc. (http://www.teluu.com) 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 2 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program; if not, write to the Free Software 17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | #ifndef __PJSUA2_DOXYGEN_HPP__ 20 | #define __PJSUA2_DOXYGEN_HPP__ 21 | 22 | /** 23 | * @file pjsua2/doxygen.hpp 24 | * @brief PJSUA2 Doxygen documentation 25 | */ 26 | 27 | /** 28 | @mainpage pjsua2 API 29 | 30 | This documentation contains the API Reference for pjsua2. Please 31 | go to Modules section above for navigation. 32 | 33 | For more info regarding pjsua2, including some tutorials, please 34 | see The PJSIP Book. 35 | */ 36 | 37 | 38 | /** 39 | * @defgroup PJSUA2_Ref pjsua2 API Reference 40 | */ 41 | 42 | /** 43 | * @defgroup PJSUA2_DS Data Structure 44 | * @ingroup PJSUA2_Ref 45 | */ 46 | 47 | 48 | /** 49 | * @} PJSUA2_CFG 50 | */ 51 | 52 | #endif /* __PJSUA2_DOXYGEN_HPP__ */ 53 | -------------------------------------------------------------------------------- /build/pjproject/src/pjsip/lib/libpjsip-apple-darwin18.6.0.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nesterenkodm/pjsip/3fc76adcddffec8974da25125947e05bf3755202/build/pjproject/src/pjsip/lib/libpjsip-apple-darwin18.6.0.a -------------------------------------------------------------------------------- /build/pjproject/src/pjsip/lib/libpjsip-apple-darwin_ios.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nesterenkodm/pjsip/3fc76adcddffec8974da25125947e05bf3755202/build/pjproject/src/pjsip/lib/libpjsip-apple-darwin_ios.a -------------------------------------------------------------------------------- /build/pjproject/src/pjsip/lib/libpjsip-simple-apple-darwin18.6.0.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nesterenkodm/pjsip/3fc76adcddffec8974da25125947e05bf3755202/build/pjproject/src/pjsip/lib/libpjsip-simple-apple-darwin18.6.0.a -------------------------------------------------------------------------------- /build/pjproject/src/pjsip/lib/libpjsip-simple-apple-darwin_ios.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nesterenkodm/pjsip/3fc76adcddffec8974da25125947e05bf3755202/build/pjproject/src/pjsip/lib/libpjsip-simple-apple-darwin_ios.a -------------------------------------------------------------------------------- /build/pjproject/src/pjsip/lib/libpjsip-ua-apple-darwin18.6.0.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nesterenkodm/pjsip/3fc76adcddffec8974da25125947e05bf3755202/build/pjproject/src/pjsip/lib/libpjsip-ua-apple-darwin18.6.0.a -------------------------------------------------------------------------------- /build/pjproject/src/pjsip/lib/libpjsip-ua-apple-darwin_ios.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nesterenkodm/pjsip/3fc76adcddffec8974da25125947e05bf3755202/build/pjproject/src/pjsip/lib/libpjsip-ua-apple-darwin_ios.a -------------------------------------------------------------------------------- /build/pjproject/src/pjsip/lib/libpjsua-apple-darwin18.6.0.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nesterenkodm/pjsip/3fc76adcddffec8974da25125947e05bf3755202/build/pjproject/src/pjsip/lib/libpjsua-apple-darwin18.6.0.a -------------------------------------------------------------------------------- /build/pjproject/src/pjsip/lib/libpjsua-apple-darwin_ios.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nesterenkodm/pjsip/3fc76adcddffec8974da25125947e05bf3755202/build/pjproject/src/pjsip/lib/libpjsua-apple-darwin_ios.a -------------------------------------------------------------------------------- /build/pjproject/src/pjsip/lib/libpjsua2-apple-darwin18.6.0.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nesterenkodm/pjsip/3fc76adcddffec8974da25125947e05bf3755202/build/pjproject/src/pjsip/lib/libpjsua2-apple-darwin18.6.0.a -------------------------------------------------------------------------------- /build/pjproject/src/pjsip/lib/libpjsua2-apple-darwin_ios.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nesterenkodm/pjsip/3fc76adcddffec8974da25125947e05bf3755202/build/pjproject/src/pjsip/lib/libpjsua2-apple-darwin_ios.a -------------------------------------------------------------------------------- /build/pjproject/src/third_party/lib/libg7221codec-apple-darwin18.6.0.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nesterenkodm/pjsip/3fc76adcddffec8974da25125947e05bf3755202/build/pjproject/src/third_party/lib/libg7221codec-apple-darwin18.6.0.a -------------------------------------------------------------------------------- /build/pjproject/src/third_party/lib/libg7221codec-apple-darwin_ios.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nesterenkodm/pjsip/3fc76adcddffec8974da25125947e05bf3755202/build/pjproject/src/third_party/lib/libg7221codec-apple-darwin_ios.a -------------------------------------------------------------------------------- /build/pjproject/src/third_party/lib/libgsmcodec-apple-darwin18.6.0.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nesterenkodm/pjsip/3fc76adcddffec8974da25125947e05bf3755202/build/pjproject/src/third_party/lib/libgsmcodec-apple-darwin18.6.0.a -------------------------------------------------------------------------------- /build/pjproject/src/third_party/lib/libgsmcodec-apple-darwin_ios.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nesterenkodm/pjsip/3fc76adcddffec8974da25125947e05bf3755202/build/pjproject/src/third_party/lib/libgsmcodec-apple-darwin_ios.a -------------------------------------------------------------------------------- /build/pjproject/src/third_party/lib/libilbccodec-apple-darwin18.6.0.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nesterenkodm/pjsip/3fc76adcddffec8974da25125947e05bf3755202/build/pjproject/src/third_party/lib/libilbccodec-apple-darwin18.6.0.a -------------------------------------------------------------------------------- /build/pjproject/src/third_party/lib/libilbccodec-apple-darwin_ios.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nesterenkodm/pjsip/3fc76adcddffec8974da25125947e05bf3755202/build/pjproject/src/third_party/lib/libilbccodec-apple-darwin_ios.a -------------------------------------------------------------------------------- /build/pjproject/src/third_party/lib/libresample-apple-darwin18.6.0.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nesterenkodm/pjsip/3fc76adcddffec8974da25125947e05bf3755202/build/pjproject/src/third_party/lib/libresample-apple-darwin18.6.0.a -------------------------------------------------------------------------------- /build/pjproject/src/third_party/lib/libresample-apple-darwin_ios.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nesterenkodm/pjsip/3fc76adcddffec8974da25125947e05bf3755202/build/pjproject/src/third_party/lib/libresample-apple-darwin_ios.a -------------------------------------------------------------------------------- /build/pjproject/src/third_party/lib/libspeex-apple-darwin18.6.0.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nesterenkodm/pjsip/3fc76adcddffec8974da25125947e05bf3755202/build/pjproject/src/third_party/lib/libspeex-apple-darwin18.6.0.a -------------------------------------------------------------------------------- /build/pjproject/src/third_party/lib/libspeex-apple-darwin_ios.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nesterenkodm/pjsip/3fc76adcddffec8974da25125947e05bf3755202/build/pjproject/src/third_party/lib/libspeex-apple-darwin_ios.a -------------------------------------------------------------------------------- /build/pjproject/src/third_party/lib/libsrtp-apple-darwin18.6.0.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nesterenkodm/pjsip/3fc76adcddffec8974da25125947e05bf3755202/build/pjproject/src/third_party/lib/libsrtp-apple-darwin18.6.0.a -------------------------------------------------------------------------------- /build/pjproject/src/third_party/lib/libsrtp-apple-darwin_ios.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nesterenkodm/pjsip/3fc76adcddffec8974da25125947e05bf3755202/build/pjproject/src/third_party/lib/libsrtp-apple-darwin_ios.a -------------------------------------------------------------------------------- /build/pjproject/src/third_party/lib/libwebrtc-apple-darwin18.6.0.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nesterenkodm/pjsip/3fc76adcddffec8974da25125947e05bf3755202/build/pjproject/src/third_party/lib/libwebrtc-apple-darwin18.6.0.a -------------------------------------------------------------------------------- /build/pjproject/src/third_party/lib/libwebrtc-apple-darwin_ios.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nesterenkodm/pjsip/3fc76adcddffec8974da25125947e05bf3755202/build/pjproject/src/third_party/lib/libwebrtc-apple-darwin_ios.a -------------------------------------------------------------------------------- /build/pjproject/src/third_party/lib/libyuv-apple-darwin18.6.0.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nesterenkodm/pjsip/3fc76adcddffec8974da25125947e05bf3755202/build/pjproject/src/third_party/lib/libyuv-apple-darwin18.6.0.a -------------------------------------------------------------------------------- /build/pjproject/src/third_party/lib/libyuv-apple-darwin_ios.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nesterenkodm/pjsip/3fc76adcddffec8974da25125947e05bf3755202/build/pjproject/src/third_party/lib/libyuv-apple-darwin_ios.a -------------------------------------------------------------------------------- /download.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Downloads file form the URL passed as $1 and saves it to path as $2. 4 | # Extracts the archive if needed. 5 | # Pass --no-cache option to force script to download a file. 6 | # 7 | 8 | DOWNLOAD_URL="${1}" 9 | DOWNLOAD_PATH="${2}.download" 10 | FINAL_PATH="${2}" 11 | CACHE=1 12 | 13 | while [ "$#" -gt 0 ]; do 14 | case $1 in 15 | --no-cache) 16 | CACHE=0 17 | ;; 18 | esac 19 | shift 20 | done 21 | 22 | # download 23 | if [ ! -f "${DOWNLOAD_PATH}" ]; then 24 | if [ ! -d `dirname "${DOWNLOAD_PATH}"` ]; then 25 | mkdir -p `dirname "${DOWNLOAD_PATH}"` 26 | fi 27 | echo "Downloading ${DOWNLOAD_URL}..." 28 | curl -L -# -o ${DOWNLOAD_PATH} "${DOWNLOAD_URL}" 29 | fi 30 | 31 | # unarchive 32 | FILE=`file "${DOWNLOAD_PATH}" | awk '{print tolower($0)}'` 33 | if [[ "${FILE}" == *"zip"* ]]; then 34 | echo "Unarchiving ${DOWNLOAD_PATH}..." 35 | 36 | if [ -d "${FINAL_PATH}" ]; then 37 | rm -rf "${FINAL_PATH}" 38 | fi 39 | mkdir -p "${FINAL_PATH}" 40 | 41 | pushd . > /dev/null 42 | 43 | cd "${FINAL_PATH}" 44 | tar -xf "${DOWNLOAD_PATH}" 45 | 46 | NUMBER_OF_LINES=`ls -1 | wc -l` 47 | if (( ${NUMBER_OF_LINES} == 1 )); then 48 | if [ -d "`ls -1`" ]; then 49 | mv "${FINAL_PATH}/`ls -1`" "${FINAL_PATH}~" 50 | rm -rf "${FINAL_PATH}" 51 | mv "${FINAL_PATH}~" "${FINAL_PATH}" 52 | fi 53 | fi 54 | 55 | popd > /dev/null 56 | else 57 | cp "${DOWNLOAD_PATH}" "${FINAL_PATH}" 58 | fi 59 | 60 | if (( ${CACHE} == 0 )); then 61 | rm ${DOWNLOAD_PATH} 62 | fi 63 | -------------------------------------------------------------------------------- /example/ipjsystest/.gitignore: -------------------------------------------------------------------------------- 1 | Pods/ 2 | 3 | # Created by https://www.gitignore.io 4 | 5 | ### Xcode ### 6 | build/ 7 | *.pbxuser 8 | !default.pbxuser 9 | *.mode1v3 10 | !default.mode1v3 11 | *.mode2v3 12 | !default.mode2v3 13 | *.perspectivev3 14 | !default.perspectivev3 15 | xcuserdata 16 | *.xccheckout 17 | *.moved-aside 18 | DerivedData 19 | *.xcuserstate 20 | 21 | 22 | ### OSX ### 23 | .DS_Store 24 | .AppleDouble 25 | .LSOverride 26 | 27 | # Icon must end with two \r 28 | Icon 29 | 30 | 31 | # Thumbnails 32 | ._* 33 | 34 | # Files that might appear on external disk 35 | .Spotlight-V100 36 | .Trashes 37 | 38 | # Directories potentially created on remote AFP share 39 | .AppleDB 40 | .AppleDesktop 41 | Network Trash Folder 42 | Temporary Items 43 | .apdisk 44 | -------------------------------------------------------------------------------- /example/ipjsystest/Classes/RootViewController.h: -------------------------------------------------------------------------------- 1 | /* $Id: RootViewController.h 3552 2011-05-05 05:50:48Z nanang $ */ 2 | /* 3 | * Copyright (C) 2010-2011 Teluu Inc. (http://www.teluu.com) 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 2 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program; if not, write to the Free Software 17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | #import "TestViewController.h" 20 | 21 | @interface RootViewController : UITableViewController { 22 | NSMutableArray *titles; 23 | NSMutableArray *menus; 24 | 25 | TestViewController *testView; 26 | } 27 | 28 | @property (nonatomic, retain) NSMutableArray *titles; 29 | @property (nonatomic, retain) NSMutableArray *menus; 30 | @property (nonatomic, retain) TestViewController *testView; 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /example/ipjsystest/Classes/TestViewController.h: -------------------------------------------------------------------------------- 1 | /* $Id: TestViewController.h 3552 2011-05-05 05:50:48Z nanang $ */ 2 | /* 3 | * Copyright (C) 2010-2011 Teluu Inc. (http://www.teluu.com) 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 2 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program; if not, write to the Free Software 17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | #import 20 | 21 | 22 | @interface TestViewController : UIViewController { 23 | IBOutlet UITextView *testDesc; 24 | IBOutlet UIButton *button1; 25 | IBOutlet UIButton *button2; 26 | 27 | NSInteger key; 28 | } 29 | 30 | @property (nonatomic, retain) IBOutlet UITextView *testDesc; 31 | @property (nonatomic, retain) IBOutlet UIButton *button1; 32 | @property (nonatomic, retain) IBOutlet UIButton *button2; 33 | @property (nonatomic) NSInteger key; 34 | 35 | @end 36 | -------------------------------------------------------------------------------- /example/ipjsystest/Classes/TestViewController.m: -------------------------------------------------------------------------------- 1 | /* $Id: TestViewController.m 3552 2011-05-05 05:50:48Z nanang $ */ 2 | /* 3 | * Copyright (C) 2010-2011 Teluu Inc. (http://www.teluu.com) 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 2 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program; if not, write to the Free Software 17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | #import "TestViewController.h" 20 | 21 | @implementation TestViewController 22 | @synthesize testDesc; 23 | @synthesize button1; 24 | @synthesize button2; 25 | @synthesize key; 26 | 27 | - (void)button1Pressed:(id)sender { 28 | self.key = 1; 29 | [self.button1 setHidden:true]; 30 | [self.button2 setHidden:true]; 31 | } 32 | 33 | - (void)button2Pressed:(id)sender { 34 | self.key = 2; 35 | [self.button1 setHidden:true]; 36 | [self.button2 setHidden:true]; 37 | } 38 | 39 | /* 40 | // The designated initializer. Override if you create the controller programmatically and want to perform customization that is not appropriate for viewDidLoad. 41 | - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil { 42 | if (self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]) { 43 | // Custom initialization 44 | } 45 | return self; 46 | } 47 | */ 48 | 49 | /* 50 | // Implement loadView to create a view hierarchy programmatically, without using a nib. 51 | - (void)loadView { 52 | } 53 | */ 54 | 55 | 56 | // Implement viewDidLoad to do additional setup after loading the view, typically from a nib. 57 | - (void)viewDidLoad { 58 | [super viewDidLoad]; 59 | 60 | [button1 addTarget:self action:@selector(button1Pressed:) forControlEvents:(UIControlEvents)UIControlEventTouchDown]; 61 | [button2 addTarget:self action:@selector(button2Pressed:) forControlEvents:(UIControlEvents)UIControlEventTouchDown]; 62 | [testDesc setEditable:false]; 63 | } 64 | 65 | /* 66 | // Override to allow orientations other than the default portrait orientation. 67 | - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { 68 | // Return YES for supported orientations 69 | return (interfaceOrientation == UIInterfaceOrientationPortrait); 70 | } 71 | */ 72 | 73 | - (void)didReceiveMemoryWarning { 74 | // Releases the view if it doesn't have a superview. 75 | [super didReceiveMemoryWarning]; 76 | 77 | // Release any cached data, images, etc that aren't in use. 78 | } 79 | 80 | - (void)viewDidUnload { 81 | // Release any retained subviews of the main view. 82 | // e.g. self.myOutlet = nil; 83 | } 84 | 85 | 86 | - (void)dealloc { 87 | [super dealloc]; 88 | } 89 | 90 | 91 | @end 92 | -------------------------------------------------------------------------------- /example/ipjsystest/Classes/ipjsystestAppDelegate.h: -------------------------------------------------------------------------------- 1 | /* $Id: ipjsystestAppDelegate.h 3552 2011-05-05 05:50:48Z nanang $ */ 2 | /* 3 | * Copyright (C) 2010-2011 Teluu Inc. (http://www.teluu.com) 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 2 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program; if not, write to the Free Software 17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | @interface ipjsystestAppDelegate : NSObject { 20 | 21 | UIWindow *window; 22 | UINavigationController *navigationController; 23 | } 24 | 25 | @property (nonatomic, retain) IBOutlet UIWindow *window; 26 | @property (nonatomic, retain) IBOutlet UINavigationController *navigationController; 27 | 28 | @end 29 | 30 | -------------------------------------------------------------------------------- /example/ipjsystest/Classes/ipjsystestAppDelegate.m: -------------------------------------------------------------------------------- 1 | /* $Id: ipjsystestAppDelegate.m 3552 2011-05-05 05:50:48Z nanang $ */ 2 | /* 3 | * Copyright (C) 2010-2011 Teluu Inc. (http://www.teluu.com) 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 2 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program; if not, write to the Free Software 17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | #import "ipjsystestAppDelegate.h" 20 | #import "RootViewController.h" 21 | 22 | 23 | @implementation ipjsystestAppDelegate 24 | 25 | @synthesize window; 26 | @synthesize navigationController; 27 | 28 | #pragma mark - 29 | #pragma mark Application lifecycle 30 | 31 | - (void)applicationDidFinishLaunching:(UIApplication *)application { 32 | 33 | // Override point for customization after app launch 34 | [window addSubview:[navigationController view]]; 35 | [window makeKeyAndVisible]; 36 | } 37 | 38 | 39 | - (void)applicationWillTerminate:(UIApplication *)application { 40 | // Save data if appropriate 41 | } 42 | 43 | 44 | #pragma mark - 45 | #pragma mark Memory management 46 | 47 | - (void)dealloc { 48 | [navigationController release]; 49 | [window release]; 50 | [super dealloc]; 51 | } 52 | 53 | 54 | @end 55 | 56 | -------------------------------------------------------------------------------- /example/ipjsystest/Default-568h@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nesterenkodm/pjsip/3fc76adcddffec8974da25125947e05bf3755202/example/ipjsystest/Default-568h@2x.png -------------------------------------------------------------------------------- /example/ipjsystest/Podfile: -------------------------------------------------------------------------------- 1 | platform :ios, '7.0' 2 | source 'https://github.com/CocoaPods/Specs.git' 3 | 4 | pod 'pjsip', :git => 'https://github.com/chebur/pjsip.git', :commit => '890929be9d82900cba8996427725794a244725b5' 5 | #pod 'pjsip', :path => '/Users/chebur/Documents/Projects/ObjC/pjsip/' 6 | -------------------------------------------------------------------------------- /example/ipjsystest/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - OpenSSL-Universal (1.0.1.k) 3 | - pjsip (2.3.0.7): 4 | - OpenSSL-Universal (= 1.0.1.k) 5 | 6 | DEPENDENCIES: 7 | - pjsip (from `https://github.com/chebur/pjsip.git`, commit `890929be9d82900cba8996427725794a244725b5`) 8 | 9 | EXTERNAL SOURCES: 10 | pjsip: 11 | :commit: 890929be9d82900cba8996427725794a244725b5 12 | :git: https://github.com/chebur/pjsip.git 13 | 14 | CHECKOUT OPTIONS: 15 | pjsip: 16 | :commit: 890929be9d82900cba8996427725794a244725b5 17 | :git: https://github.com/chebur/pjsip.git 18 | 19 | SPEC CHECKSUMS: 20 | OpenSSL-Universal: 60ee5ddf6530100c0aa702c2e0c9881cfd4a89a5 21 | pjsip: c969e2ccb0432bf3fbd2c4c3504524b65b806c53 22 | 23 | COCOAPODS: 0.35.0 24 | -------------------------------------------------------------------------------- /example/ipjsystest/ipjsystest-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleDisplayName 8 | ${PRODUCT_NAME} 9 | CFBundleExecutable 10 | ${EXECUTABLE_NAME} 11 | CFBundleIconFile 12 | 13 | CFBundleIdentifier 14 | com.teluu.${PRODUCT_NAME:rfc1034identifier} 15 | CFBundleInfoDictionaryVersion 16 | 6.0 17 | CFBundleName 18 | ${PRODUCT_NAME} 19 | CFBundlePackageType 20 | APPL 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1.0 25 | LSRequiresIPhoneOS 26 | 27 | NSMainNibFile 28 | MainWindow 29 | UIBackgroundModes 30 | 31 | audio 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /example/ipjsystest/ipjsystest.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /example/ipjsystest/ipjsystest.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /example/ipjsystest/ipjsystest_Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'ipjsystest' target in the 'ipjsystest' project 3 | // 4 | #import 5 | 6 | #ifndef __IPHONE_3_0 7 | #warning "This project uses features only available in iPhone SDK 3.0 and later." 8 | #endif 9 | 10 | 11 | #ifdef __OBJC__ 12 | #import 13 | #import 14 | #endif 15 | -------------------------------------------------------------------------------- /example/ipjsystest/main.m: -------------------------------------------------------------------------------- 1 | /* $Id: main.m 3552 2011-05-05 05:50:48Z nanang $ */ 2 | /* 3 | * Copyright (C) 2010-2011 Teluu Inc. (http://www.teluu.com) 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 2 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program; if not, write to the Free Software 17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | #import 20 | 21 | int main(int argc, char *argv[]) { 22 | 23 | NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; 24 | int retVal = UIApplicationMain(argc, argv, nil, nil); 25 | [pool release]; 26 | return retVal; 27 | } 28 | -------------------------------------------------------------------------------- /example/pjsystest/gui.h: -------------------------------------------------------------------------------- 1 | /* $Id: gui.h 3553 2011-05-05 06:14:19Z nanang $ */ 2 | /* 3 | * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com) 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 2 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program; if not, write to the Free Software 17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | #ifndef __GUI_H__ 20 | #define __GUI_H__ 21 | 22 | #include 23 | 24 | PJ_BEGIN_DECL 25 | 26 | typedef char gui_title[32]; 27 | 28 | typedef void (*gui_menu_handler) (void); 29 | 30 | typedef struct gui_menu 31 | { 32 | gui_title title; 33 | gui_menu_handler handler; 34 | unsigned submenu_cnt; 35 | struct gui_menu *submenus[16]; 36 | } gui_menu; 37 | 38 | enum gui_flag 39 | { 40 | WITH_OK = 0, 41 | WITH_YESNO = 1, 42 | WITH_OKCANCEL = 2 43 | }; 44 | 45 | enum gui_key 46 | { 47 | KEY_CANCEL = '9', 48 | KEY_NO = '0', 49 | KEY_YES = '1', 50 | KEY_OK = '1', 51 | }; 52 | 53 | /* Initialize GUI with the menus and stuff */ 54 | pj_status_t gui_init(gui_menu *menu); 55 | 56 | /* Run GUI main loop */ 57 | pj_status_t gui_start(gui_menu *menu); 58 | 59 | /* Signal GUI mainloop to stop */ 60 | void gui_destroy(void); 61 | 62 | /* AUX: display messagebox */ 63 | enum gui_key gui_msgbox(const char *title, const char *message, enum gui_flag flag); 64 | 65 | /* AUX: sleep */ 66 | void gui_sleep(unsigned sec); 67 | 68 | 69 | PJ_END_DECL 70 | 71 | 72 | #endif /* __GUI_H__ */ 73 | -------------------------------------------------------------------------------- /example/pjsystest/pjsystest_wince.rc: -------------------------------------------------------------------------------- 1 | // Microsoft Visual C++ generated resource script. 2 | // 3 | #include "resource.h" 4 | 5 | #define APSTUDIO_READONLY_SYMBOLS 6 | ///////////////////////////////////////////////////////////////////////////// 7 | // 8 | // Generated from the TEXTINCLUDE 2 resource. 9 | // 10 | #include "afxres.h" 11 | 12 | ///////////////////////////////////////////////////////////////////////////// 13 | #undef APSTUDIO_READONLY_SYMBOLS 14 | 15 | ///////////////////////////////////////////////////////////////////////////// 16 | // English (U.S.) resources 17 | 18 | #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) 19 | #ifdef _WIN32 20 | LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US 21 | #pragma code_page(1252) 22 | #endif //_WIN32 23 | 24 | #ifdef APSTUDIO_INVOKED 25 | ///////////////////////////////////////////////////////////////////////////// 26 | // 27 | // TEXTINCLUDE 28 | // 29 | 30 | 1 TEXTINCLUDE 31 | BEGIN 32 | "resource.h\0" 33 | END 34 | 35 | 2 TEXTINCLUDE 36 | BEGIN 37 | "#include ""afxres.h""\r\n" 38 | "\0" 39 | END 40 | 41 | 3 TEXTINCLUDE 42 | BEGIN 43 | "#include ""pjsystest_wince.rc2""\r\n" 44 | "\r\n" 45 | "\0" 46 | END 47 | 48 | #endif // APSTUDIO_INVOKED 49 | 50 | 51 | ///////////////////////////////////////////////////////////////////////////// 52 | // 53 | // Dialog 54 | // 55 | 56 | IDD_MAIN_DIALOG DIALOG 0, 0, 82, 73 57 | STYLE DS_SETFONT | WS_VISIBLE | WS_VSCROLL 58 | FONT 8, "MS Sans Serif" 59 | BEGIN 60 | EDITTEXT IDC_EDIT1,7,7,57,59,ES_MULTILINE | ES_AUTOVSCROLL | ES_READONLY | NOT WS_BORDER | NOT WS_TABSTOP 61 | END 62 | 63 | 64 | ///////////////////////////////////////////////////////////////////////////// 65 | // 66 | // DESIGNINFO 67 | // 68 | 69 | #ifdef APSTUDIO_INVOKED 70 | GUIDELINES DESIGNINFO 71 | BEGIN 72 | IDD_MAIN_DIALOG, DIALOG 73 | BEGIN 74 | LEFTMARGIN, 7 75 | RIGHTMARGIN, 64 76 | TOPMARGIN, 7 77 | BOTTOMMARGIN, 66 78 | END 79 | END 80 | #endif // APSTUDIO_INVOKED 81 | 82 | 83 | ///////////////////////////////////////////////////////////////////////////// 84 | // 85 | // String Table 86 | // 87 | 88 | STRINGTABLE 89 | BEGIN 90 | IDS_MAIN_TITLE "PJSYSTEST" 91 | END 92 | 93 | #endif // English (U.S.) resources 94 | ///////////////////////////////////////////////////////////////////////////// 95 | 96 | 97 | 98 | #ifndef APSTUDIO_INVOKED 99 | ///////////////////////////////////////////////////////////////////////////// 100 | // 101 | // Generated from the TEXTINCLUDE 3 resource. 102 | // 103 | #include "pjsystest_wince.rc2" 104 | 105 | 106 | ///////////////////////////////////////////////////////////////////////////// 107 | #endif // not APSTUDIO_INVOKED 108 | 109 | -------------------------------------------------------------------------------- /example/pjsystest/pjsystest_wince.rc2: -------------------------------------------------------------------------------- 1 | #ifdef APSTUDIO_INVOKED 2 | #error this file is not editable by Microsoft Visual C++ 3 | #endif //APSTUDIO_INVOKED 4 | 5 | 6 | ///////////////////////////////////////////////////////////////////////////// 7 | // Add manually edited resources here... 8 | 9 | 10 | ///////////////////////////////////////////////////////////////////////////// 11 | -------------------------------------------------------------------------------- /example/pjsystest/resource.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Visual C++ generated include file. 3 | // Used by pjsystest_wince.rc 4 | // 5 | #define IDD_MAIN_DIALOG 101 6 | #define IDS_MAIN_TITLE 102 7 | #define IDC_EDIT1 1001 8 | 9 | // Next default values for new objects 10 | // 11 | #ifdef APSTUDIO_INVOKED 12 | #ifndef APSTUDIO_READONLY_SYMBOLS 13 | #define _APS_NEXT_RESOURCE_VALUE 103 14 | #define _APS_NEXT_COMMAND_VALUE 40001 15 | #define _APS_NEXT_CONTROL_VALUE 1002 16 | #define _APS_NEXT_SYMED_VALUE 101 17 | #endif 18 | #endif 19 | -------------------------------------------------------------------------------- /openssl/include/opensslconf-template.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Building OpenSSL for the different architectures of all iOS and tvOS devices requires different settings. 3 | * In order to be able to use assembly code on all devices, the choice was made to keep optimal settings for all 4 | * devices and use this intermediate header file to use the proper opensslconf.h file for each architecture. 5 | 6 | * See also https://github.com/x2on/OpenSSL-for-iPhone/issues/126 and referenced pull requests 7 | */ 8 | 9 | #include 10 | 11 | --------------------------------------------------------------------------------