summaryrefslogtreecommitdiff
path: root/pjmedia
AgeCommit message (Collapse)Author
2011-10-10Set default H.263 bandwidth to 128Kbps instead of 1Mbps (re #1370)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3805 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-07Closed #1382: Handle flipped image in dshowLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3803 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-06Misc (re #1370): limit the number of error messages caused by error in ↵Benny Prijono
send_rtp() git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3802 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-06Misc (re #1370): disable H263 codec for RTP communication (was enabled to ↵Nanang Izzuddin
test whether it can use H263-1998 packetization). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3801 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-06Re #1370: Fixed dshow enumeration device capability.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3797 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-06Close #1381:Nanang Izzuddin
- Added 'ignore_fmtp' field in pjmedia_vid_codec_param to allow application to omit SDP fmtp in codec param without risking video size and frame rate param being overridden with default values. - Updated sample app vid_streamutil.c to use that field, which currently not supplying SDP fmtp to video codec. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3795 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-06Re #1370: fixed a bug which accidentally overwrites the function parameter.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3794 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-06Misc (re #1370): vid_dev_stream should not call start() if it is already ↵Benny Prijono
been started git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3792 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-06Misc (re #1370): removed dead code in session.cBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3791 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-04More re #1362: actually try to use the device switching capability in ↵Benny Prijono
pjsua-lib, in pjsua_call_set_vid_strm(PJSUA_CALL_VID_STRM_CHANGE_CAP_DEV) operation git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3787 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-04Added pjsua_call_vid_stream_is_running() and pjmedia_vid_stream_is_running() ↵Benny Prijono
API (closes #1379) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3786 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-04Misc (re #1370): open v4l2 in blocking mode to get rid of Resource ↵Benny Prijono
temporarily unavailable error git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3783 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-03Re #1358 (minor updates in event.c):Nanang Izzuddin
- Avoid compile warning when trace is disabled. - Added pointer of subscriber in [un]subscription log trace. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3782 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-03Added PJMEDIA_VID_DEV_CAP_SWITCH capability to allow fast switching to ↵Benny Prijono
another device while the video device stream is running. Currently not implemented on any devices.(This closes #1362) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3781 74dad513-b988-da41-8d7b-12977e46ad98
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