Commit graph

1811 commits

Author SHA1 Message Date
Saúl Ibarra Corretgé
c5fdece84a
v4l2: add support for YUV420 (#2310) 2020-02-28 11:41:04 +08:00
sauwming
d992606db0
Limit log printing if video conference is connected to a sink port that's not running (#2301)
* Limit log printing

* rev 1

* Add error counter info in the log
2020-02-26 09:18:08 +08:00
mingteluu
b76c134fea Add more log in pjsua_vid and vid_conf 2020-02-25 10:51:43 +08:00
Saúl Ibarra Corretgé
e6dedfaedd Update parameter docs 2020-02-21 12:29:28 +01:00
Saúl Ibarra Corretgé
b65f09e81f vid_stream: add API for sending an RTCP PLI 2020-02-21 12:27:36 +01:00
Riza Sulistyo
0cc933a091 use stream name instead of encoder channel name as log when send rtcp
fail.
2020-02-21 15:15:05 +07:00
Riza Sulistyo
a21754043b Close #2282: Fix build error when using ffmpeg version 4.x. 2020-02-18 09:03:56 +07:00
Riza Sulistyo
ae2e919d9e Misc (re #2210): Fixed various warnings on Visual Studio 2015.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6159 74dad513-b988-da41-8d7b-12977e46ad98
2020-02-06 04:02:56 +00:00
Nanang Izzuddin
95c09007dc Misc (re #2210): Fixed various compile warnings on MSVC2005.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6157 74dad513-b988-da41-8d7b-12977e46ad98
2020-02-05 03:05:30 +00:00
Sauw Ming
d125d73149 Re #2253: Check for insufficient buffer if remote is sending higher res than we can handle.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6153 74dad513-b988-da41-8d7b-12977e46ad98
2020-02-04 05:08:14 +00:00
Sauw Ming
e215f7990c Re #2253: Changed keyframe max distance to a max of 60s
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6151 74dad513-b988-da41-8d7b-12977e46ad98
2020-02-04 03:17:56 +00:00
Sauw Ming
283cfc4398 Re #2253: Apply local fmtp setting
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6150 74dad513-b988-da41-8d7b-12977e46ad98
2020-02-04 02:49:13 +00:00
Sauw Ming
7df07048c4 Re #2253
Fix vpx fmtp apply:
- Only adjust the frame rate if it exceeds max-fr
- Maintain aspect ratio when adjusting resolution



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6149 74dad513-b988-da41-8d7b-12977e46ad98
2020-02-03 06:26:55 +00:00
Riza Sulistyo
1b67249cc8 Re #2253:
- Add vpx.h/vpx.c to Visual Studio project files
- Fix compile error/warning from Visual Studio



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6147 74dad513-b988-da41-8d7b-12977e46ad98
2020-01-31 03:15:41 +00:00
Sauw Ming
bde1167cc3 Closed #2143: Add AEC info to call info & statistics dump
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6140 74dad513-b988-da41-8d7b-12977e46ad98
2020-01-28 06:58:45 +00:00
Nanang Izzuddin
d5ec2f4592 Misc (re #2210): Get rid of annoying persistent log lines due to video conference connection between active capturer and stopped/hidden renderer (thanks to Dmytrii Gonchar for the feedback).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6138 74dad513-b988-da41-8d7b-12977e46ad98
2020-01-28 02:42:42 +00:00
Nanang Izzuddin
85887b2367 Re #2251: Fixed bug in memory capture, wrong user data passed in invoking callback.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6132 74dad513-b988-da41-8d7b-12977e46ad98
2020-01-10 07:26:36 +00:00
Nanang Izzuddin
74eb0a0289 Re #2251: Fixed bug in memory player, wrong user data passed in invoking callback. Thanks to Marcus Froeschl for the report and the fix.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6131 74dad513-b988-da41-8d7b-12977e46ad98
2020-01-10 07:09:51 +00:00
Sauw Ming
e98fe43314 Closed #589: Update Speex AEC to the latest version to get multichannel EC
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6129 74dad513-b988-da41-8d7b-12977e46ad98
2020-01-09 09:05:50 +00:00
Sauw Ming
3147bc0235 Re #1778: Temporarily disable VPIO on Mac for stereo due to recording sound defects.
Steps to reproduce:
- Revert this changeset
- Use pjsua to do sound loopback (cc 0 0) with --ec-tail=0 (VPIO disabled->audio fine) and ec-tail=1 (VPIO enabled->recording sound defects)

Several observations:
- Playback is totally fine in VPIO stereo mode.
- Defect more noticable in 44.1 kHz



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6128 74dad513-b988-da41-8d7b-12977e46ad98
2020-01-08 08:55:30 +00:00
Sauw Ming
1e2b570d7a Re #1778: Fixed incorrect calculation for stereo mode
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6127 74dad513-b988-da41-8d7b-12977e46ad98
2020-01-08 08:40:04 +00:00
Nanang Izzuddin
245cc13ce8 Re #2255: Fixed compile warning on MacOS.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6125 74dad513-b988-da41-8d7b-12977e46ad98
2019-12-24 02:13:32 +00:00
Sauw Ming
e9e71f8753 Re #2210 (misc): Fixed incorrect error printing in Darwin dev when there's a runtime session error
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6124 74dad513-b988-da41-8d7b-12977e46ad98
2019-12-23 07:11:50 +00:00
Nanang Izzuddin
4f5a7a5016 Re #2255: Fixed wrong check of fullscreen mode in window creation and added pjsua app commands for fullscreen.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6123 74dad513-b988-da41-8d7b-12977e46ad98
2019-12-23 03:27:09 +00:00
Riza Sulistyo
43e4680406 Close #2257: Filter SRTP crypto setting for DTLS-SRTP profile.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6118 74dad513-b988-da41-8d7b-12977e46ad98
2019-12-16 12:37:57 +00:00
Nanang Izzuddin
b9fd883dc2 Close #2255: Add API for making video window full screen.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6117 74dad513-b988-da41-8d7b-12977e46ad98
2019-12-10 03:55:51 +00:00
Nanang Izzuddin
e8c72cf9ba Misc (#2210): Put back PJMEDIA_STREAM_CHECK_RTP_PT feature in stream (introduced in #1160).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6116 74dad513-b988-da41-8d7b-12977e46ad98
2019-12-06 05:57:48 +00:00
Nanang Izzuddin
8631ffe736 Fix #2254: Updated SDP encoder of SDES to avoid deactivating/disabling media, it should be done by the parent/SRTP instead.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6115 74dad513-b988-da41-8d7b-12977e46ad98
2019-12-04 09:01:19 +00:00
Sauw Ming
81b29e9aa2 Re #2252: Fixed failed pjmedia-test, due to unsupported conversion format.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6113 74dad513-b988-da41-8d7b-12977e46ad98
2019-11-29 07:53:43 +00:00
Sauw Ming
e472147378 Fixed #2251: Deadlock between PJSUA LOCK and conference mutex
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6112 74dad513-b988-da41-8d7b-12977e46ad98
2019-11-29 04:21:17 +00:00
Sauw Ming
3c9fa7ae2d Fixed #2253: Support for VP8 and VP9 video codec
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6110 74dad513-b988-da41-8d7b-12977e46ad98
2019-11-22 06:18:55 +00:00
Sauw Ming
3237e7b188 Fixed #2252: Fix Darwin video issue if supplied image height is different from the resolution
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6109 74dad513-b988-da41-8d7b-12977e46ad98
2019-11-18 06:24:11 +00:00
Nanang Izzuddin
1bfd835547 Re #1437: Fixed linking error when PJMEDIA_HAS_VIDEO is not set.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6107 74dad513-b988-da41-8d7b-12977e46ad98
2019-11-13 10:08:59 +00:00
Nanang Izzuddin
2d9f105d82 Close #1437: Video keyframe request/response using RTCP-FB PLI.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6106 74dad513-b988-da41-8d7b-12977e46ad98
2019-11-13 09:11:04 +00:00
Nanang Izzuddin
dc0335a046 Close #1297:
- Updated PJMEDIA endpoint to rearrange dynamic payload type allocation in generating SDP for audio, the allocation arranged in pjmedia_audio_pt enumeation is no longer used.
 - Updated PJMEDIA_RTP_PT_TELEPHONE_EVENTS default value to 120, so lower PT values will be used by audio codecs.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6105 74dad513-b988-da41-8d7b-12977e46ad98
2019-11-13 08:09:34 +00:00
Nanang Izzuddin
b48fd409dd Close #2088: Generate and negotiate telephone-event with multiple clock-rates in SDP offer/answer.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6103 74dad513-b988-da41-8d7b-12977e46ad98
2019-11-08 10:17:16 +00:00
Riza Sulistyo
948bbed19e Close #2250: Enable OpenH264 native log.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6101 74dad513-b988-da41-8d7b-12977e46ad98
2019-11-06 08:10:42 +00:00
Sauw Ming
a441c67a54 Fixed #2248: Memory leak if stream fails to be created
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6098 74dad513-b988-da41-8d7b-12977e46ad98
2019-10-30 05:20:06 +00:00
Sauw Ming
e001752e3c Re #2210 (misc): Add passthrough codec source into Makefile
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6096 74dad513-b988-da41-8d7b-12977e46ad98
2019-10-22 03:07:26 +00:00
Nanang Izzuddin
c342e68d75 Fix #2247: Distorted video sent by iOS 13 devices.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6095 74dad513-b988-da41-8d7b-12977e46ad98
2019-10-21 01:58:11 +00:00
Sauw Ming
a0be35b381 Fixed #1778: Support for Voice Processing IO Audio Unit on Mac
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6094 74dad513-b988-da41-8d7b-12977e46ad98
2019-10-17 07:02:50 +00:00
Nanang Izzuddin
fc665ef46f Fix #2245: Reconnect video stream listeners in video conference bridge after format changed.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6093 74dad513-b988-da41-8d7b-12977e46ad98
2019-10-15 08:58:41 +00:00
Nanang Izzuddin
33a3c9e0a5 Fixed #2239:
- Deinit OpenGL immediately when initialization fails, so video device {{{start()}}} and {{{put_frame()}}} will return immediately.
 - Introduced new media event {{{PJMEDIA_EVENT_VID_DEV_ERROR}}}, used for notifying app when video device reinit (due to format change) fails.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6085 74dad513-b988-da41-8d7b-12977e46ad98
2019-10-04 04:26:39 +00:00
Sauw Ming
59cd1bb5c6 Re #2210 (misc): Add log if WebRTC AEC fails to be created (currently it only supports mono)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6084 74dad513-b988-da41-8d7b-12977e46ad98
2019-10-04 02:38:14 +00:00
Nanang Izzuddin
5dc221e74b Fix #2236: Fixed exception in iOS Video Toolbox H264 due to UI API called on background thread.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6078 74dad513-b988-da41-8d7b-12977e46ad98
2019-09-25 03:34:38 +00:00
Riza Sulistyo
1914af648e Fix #2234: Memory leak with third party resampling.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6076 74dad513-b988-da41-8d7b-12977e46ad98
2019-09-24 14:46:12 +00:00
Sauw Ming
d024a392ec Fixed #2229: Limitations in ICE data sending
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6071 74dad513-b988-da41-8d7b-12977e46ad98
2019-09-23 07:25:41 +00:00
Sauw Ming
b073ccb3cc Fixed #2231: Potential premature buffer reuse in UDP media transport
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6070 74dad513-b988-da41-8d7b-12977e46ad98
2019-09-23 07:24:24 +00:00
Nanang Izzuddin
1773fa8da6 Re #2228: Also updated PCM shifting in G722.1.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6065 74dad513-b988-da41-8d7b-12977e46ad98
2019-09-06 05:20:32 +00:00
Nanang Izzuddin
6cf2381849 Re #2228: Fixed bugs in PCM shifting in G722 codec.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6064 74dad513-b988-da41-8d7b-12977e46ad98
2019-09-06 05:19:40 +00:00