summaryrefslogtreecommitdiff
path: root/pjmedia
AgeCommit message (Collapse)Author
2011-10-03Fix #1358:Nanang Izzuddin
- Fixed wrong place of video capture & render event subscription initialization, causing it getting reinitted while being subscribed. - Moved capture/render event unsubscription to be after capture/render port stopped. Also restart the capturer (after being stopped for unsubsciption & stream detachment) only when the capturer is being used by other, e.g: stream or preview. - Fixed error handling in pjsua_call_reinvite(), call pjsip_dlg_dec_lock() only if dlg is successfully acquired. - Minor: added [un]subscribtion log to event. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3778 74dad513-b988-da41-8d7b-12977e46ad98
2011-09-29Closed #1361: codec API change. Details:Benny Prijono
- changed encode(), packetize(), unpacketize(), and decode() to encode_begin(), encode_more(), and decode() - codec has new "packing" setting - updated stream, aviplay, codec-test, and stream-util due to above - minor doxygen documentation fixes here and there git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3776 74dad513-b988-da41-8d7b-12977e46ad98
2011-09-27Close #1360: implementated video orientation (currently only for video devices).Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3774 74dad513-b988-da41-8d7b-12977e46ad98
2011-09-23Misc video (re #1370): fixed function definition specifier of ↵Nanang Izzuddin
pjmedia_vid_tee_remove_dst_port(). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3773 74dad513-b988-da41-8d7b-12977e46ad98
2011-09-20Related to preview (re #1340): handle problems with starting or stopping ↵Benny Prijono
preview during a call git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3758 74dad513-b988-da41-8d7b-12977e46ad98
2011-09-20Misc video (re #1370): ignore return value of sws_scale() as it returned ↵Benny Prijono
zero on Linux in some conversion, although the resulting picture looks okay git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3757 74dad513-b988-da41-8d7b-12977e46ad98
2011-09-19Implemented native video preview support. This closes #1340Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3756 74dad513-b988-da41-8d7b-12977e46ad98
2011-09-16Re #1370: Use GCD instead of NSThread for iOS video device.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3750 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-29Fixed #1353: memory leak in qt_devLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3736 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-29Disabled H.264 codec [re #1320/Misc]Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3734 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-29Re #1320 (misc): shut off v4l2 stderr loggingBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3731 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-29Fixed compilation error on conf_switch.c if PJMEDIA_CONF_USE_SWITCH_BOARD is ↵Benny Prijono
enabled (re #1320, thanks Bo Shi for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3730 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-26Fixed #1352:Nanang Izzuddin
- Updated maximum video tee ports in pjsua video preview to (PJSUA_MAX_CALLS+1). - Removed video tee maximum ports compile-time setting, MAX_DST_PORT_COUNT. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3725 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-25Re #1351: option to initially hide video preview window to avoid floating ↵Benny Prijono
window. Also added pjsua_vid_preview_param_default() git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3724 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-25Re #1349: Fixed a potential problem when stopping the video port. We should ↵Liong Sauw Ming
stop the clock first then stop the stream. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3723 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-25Fixed #1349:Liong Sauw Ming
It seems that QTCaptureSession's stopRunning only posts a message to stop the input worker thread so we need to make sure the message is processed if it is called from the main thread. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3722 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-24Fixed #1334: Fix the problem of getting stuck when trying to quit SDL.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3720 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-24Re #1334:Liong Sauw Ming
* Removed support for SDL 1.2 * Add job queue inside SDL git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3718 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-19Fixed #1348:Nanang Izzuddin
- updated the year in all copyright texts with 2011 - put copyright text into newly added files git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3715 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-18Re #1347: Fixed case 1, 2, and 3 above:Nanang Izzuddin
- Generating a deactivated pre-answer media by cloning remote media. There was a case that the media transport in the offer is bad/unrecognized, PJSUA still generated the preanswer with RTP/AVP. - When generating answer, it should apply max media count (max_audio/video_cnt in account setting) after SDP negotiation instead of in the pjsua_media_channel_init()). This will require PJSUA to perform SDP re-negotiation when the SDP answer get changed. - Fixed media priority/acceptibility sorting, e.g: media with RTP/SAVP transport still got acceptable score in SRTP disabled mode, this messed up the algorithm of applying max media count setting. - Fixed SDP negotiator to skip format match in generating answer when the pre-answer provided is deactivated (port 0). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3714 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-18Fix #1345: Fixed samples-per-frame calculation formula bug in PJMEDIA_SPF().Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3709 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-17Re #1320: Fixed SDP negotiator in generating connection info for SDP media ↵Nanang Izzuddin
answer when the media is deactivated (was always adding connection line for the media, even if SDP session already has one). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3708 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-15Re #1285: Updates for SDL 1.3 only:Nanang Izzuddin
- Changed window mode from 'resizable' to 'borderless'. - Fixed window resize handling so resizing won't need destroy-recreate the SDL objects (this also fixes lost-focus problem in resizing window on Windows platform). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3698 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-15Re #1285 (SDL): fixed compilation error with SDL < 1.3 (this support should ↵Benny Prijono
be dropped soon) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3696 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-09Re #1324: Fixed compilation error on iPhone OS.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3690 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-08Re #1334: support for various thread models for SDL 1.3. There are three ↵Liong Sauw Ming
thread models implemented: running SDL on the main thread (by default it will be used on Mac/iOS), running SDL in ONE thread (by default it will be used on Linux), or running SDL in a single thread for each window (by default it will be used on Windows). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3689 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-08Misc (re #1320): fixed link error in pjmedia_test and aviplay samples if ↵Benny Prijono
ffmpeg is not enabled git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3688 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-23Misc (re #1320): fixed compilation error if SRTP is disabled. Thanks Bo Shi ↵Benny Prijono
for the report git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3678 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-22Re #1334: Refactor SDL deviceLiong Sauw Ming
* Separate Obj-C implementation for Mac OS X so that the code will be more organized and readable. * Add get native window capability via OUTPUT_WINDOW cap git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3676 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-22Re #1332: Added type definition of video window handle.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3675 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-20Re #1324:Nanang Izzuddin
- Changed default value of PJMEDIA_HAS_VIDEO to disabled. - Fixed code and build setting on Symbian for build correctness, it builds fine now. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3671 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-19Re #1254 Doxygen configuration and makefile changes to support version ↵Perry Ismangil
specific documentation git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3669 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-19Misc (re #1320): wrongly used the obj-c version on Linux buildBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3668 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-19Fixed #1271: protected all video features with PJMEDIA_HAS_VIDEO macro setting.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3667 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-19Re #1326:Nanang Izzuddin
- Fixed compile warnings on vs2005 - Fixed compile error when PJMEDIA_HAS_VIDEO set to 0 on vs2005 git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3666 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-19Re #1326: Updated vs2005 project setting for newly added file audio_codecs.h/cNanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3665 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-19Re #1326: Initial code integration from branch 2.0-dev to trunk as ↵Nanang Izzuddin
"2.0-pre-alpha-svn". git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3664 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-05Re #1250: Updated the year in all copyright texts with 2011!Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3553 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-05Re #1250: Added and updated copyright text in several files (with "standard" ↵Nanang Izzuddin
Teluu copyright text). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3550 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-02Fix #1249: fixed overwritten buffer bug in splitcomb put_frame().Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3548 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-28Fixed #1243: ICE bug: If RTCP is not in use, the agent MUST signal that ↵Liong Sauw Ming
using b=RS:0 and b=RR:0 git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3547 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-25Fix #1233: Fixed SDP parser bug when parsing transport in SDP media line ↵Nanang Izzuddin
without format list. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3541 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-16Fix #1212:Nanang Izzuddin
- Updated pj_register_strerror() to just return PJ_SUCCESS when the same range and handler is being re-registered. - Removed the usage of static flag of error string handler registration in some modules, which prevent the re-registration of the handler, e.g: in restarting pjsua, as such flags never got reseted. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3455 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-16Re #1175 (Misc): coreaudio fixes:Liong Sauw Ming
* Setting audio session category is now during stream creation instead of in the factory initialization. * Reset the audio session category after an interruption. * By default, audio route change property listener is disabled as it is no longer required. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3454 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-15Misc (re #1175) (thanks to Seth Hinze for the patch):Liong Sauw Ming
* uri_test: Fixes a divide by zero error when the benchmark is run on a really fast machine. * presence: Fixes a compiler warning about potential referencing of an uninitialized variable. * echo_speex: Allow for compilation when PJMEDIA_HAS_SPEEX_AEC is not defined. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3443 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-15Closed #1206: Add pjmedia_stream API to get the last frame type retrieved ↵Liong Sauw Ming
from the jitter buffer. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3442 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-15Re #1204:Liong Sauw Ming
* Update audio device's list after refreshing the device. * Fixed WMME macro. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3440 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-11Fixed #1204: Support for refreshing audio device list.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3438 74dad513-b988-da41-8d7b-12977e46ad98
2011-02-28Re #1174 (coreaudio_dev work): minor changes to replace "Error" message with ↵Benny Prijono
"Warning" for non-fatal errors git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3422 74dad513-b988-da41-8d7b-12977e46ad98
2011-02-22Re #1200: updated IPP codecs to support IPP v7.0 on MSVC, only include ↵Nanang Izzuddin
"ippsr.lib" in auto link when IPP major version is 6 or below. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3417 74dad513-b988-da41-8d7b-12977e46ad98