summaryrefslogtreecommitdiff
path: root/pjmedia
AgeCommit message (Collapse)Author
2012-03-30Misc (re #1446): Avoid unnecessary high latency caused by clock drift or ↵Nanang Izzuddin
call setup lag by overriding initial framerate setting to be 1.5x higher in video stream decoding direction. Note that a previous method in r3972 has just been cancelled. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3998 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-30Re #1446 (misc fix): Add more robust checking and logs for SDL job queue ↵Liong Sauw Ming
creation/destruction. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3997 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-29Fix #1473: Fixed H263 encoder setting negotiation in ↵Nanang Izzuddin
pjmedia_vid_codec_h263_apply_fmtp() to be based on pjmedia_vid_codec_param.enc_fmt.det.vid.fps (it was based on local H263 SDP fmtp). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3995 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-29Re #1472: Fixed assertion if stream role is passiveLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3993 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-29Fixed #1472: Modify video port to create its own clock instead of using the ↵Liong Sauw Ming
device's clock git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3992 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-22Re #1463 (3rd party media support): fixed VS2005 project setting for newly ↵Nanang Izzuddin
added files (pjmedia/stream_info.c, pjmedia/vid_stream_info.c, pjsua-lib/pjsua_aud.c). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3985 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-22Re: #1463 (Third party media support). Tnitial work and it works, tested on ↵Benny Prijono
Linux. Details: * add PJSUA_MEDIA_HAS_PJMEDIA macro * move pjmedia specific implementation in pjsua_media.c and pjsua_call.c into pjsua_aud.c * add pjsip-apps/src/third_party_media sample containing: - alt_pjsua_aud.c - alt_pjsua_vid.c * moved pjmedia_vid_stream_info_from_sdp() into pjmedia/vid_stream_info.c * moved pjmedia_stream_info_from_sdp() into pjmedia/stream_info.c * misc: fixed mips_test.c if codecs are disabled git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3982 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-20Re #1428: Fix returning the correct error status when there is no active media.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3980 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-20Re #1446 (misc fix): Fixed typo in default clock rate for iOS and QT video dev.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3979 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-14Misc (re #1446): Re-enable remote video frame-rate detection in ↵Nanang Izzuddin
vid_stream.c. Note that currently such remote frame-rate update will not trigger format changed event. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3975 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-09Misc (re #1446): Updated ffmpeg video codecs default params:Nanang Izzuddin
- decoder fps to be 1.5x faster than encoder's, to encounter accumulated frames in jbuf when decoder clock gets short pauses in video setup (e.g: renderer creation, format change) - separate size & fps for H.264 and H.263 git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3972 74dad513-b988-da41-8d7b-12977e46ad98
2012-02-21Fix #1453:Nanang Izzuddin
- Add and manage pool instance in default codec param in video codec framework. - API change: pool param is removed from pjmedia_vid_codec_mgr_set_default_param(). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3956 74dad513-b988-da41-8d7b-12977e46ad98
2012-02-20Re #1244: Added bitrate adjustment for video encoder based on remote SDP ↵Nanang Izzuddin
"b=TIAS" line in media level. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3955 74dad513-b988-da41-8d7b-12977e46ad98
2012-02-16Re 1446#: Fix division by zero error caused by DShow if video device does ↵Liong Sauw Ming
not supply AvgTimePerFrame information (AvgTimePerFrame=0). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3953 74dad513-b988-da41-8d7b-12977e46ad98
2012-02-06Closed #1450: Add support for SDL job queue to grow in size.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3950 74dad513-b988-da41-8d7b-12977e46ad98
2012-02-03Re #1446 (misc fix): Fix crash problem due to uninitialized list when SDL ↵Liong Sauw Ming
creation failed git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3949 74dad513-b988-da41-8d7b-12977e46ad98
2012-01-27Re #1244: Added bandwidth info in SDP ("b=" lines) based on codec bitrate ↵Nanang Izzuddin
settings. Two SDP bandwidth types/modifiers are used: AS in session level & TIAS in media level. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3945 74dad513-b988-da41-8d7b-12977e46ad98
2012-01-10Fix #1443: put destroy method to opencore-amr codec factory op.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3939 74dad513-b988-da41-8d7b-12977e46ad98
2012-01-04Fixed #1438: CoInitializeEx by application prevents dshow device from workingLiong Sauw Ming
Return error if application already initialized COM library with a different concurrency model than what dshow_dev needs. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3934 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-26Re #1393 (misc): reduced default ffmpeg h264 bandwidth from 512 to 256kbpsBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3922 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-20Misc (re #1393): fix bitrate calculation in stream.c and wav_playlist.c.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3917 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-20Fix #1425:Nanang Izzuddin
- Updating port info of the switchboard master port (after reopening audio device) with the audio device param should care about PJMEDIA_AUD_DEV_CAP_EXT_FORMAT flag, i.e: only copy from audio device extended format info when the flag is set. - Fixed switchboard to update the master port info shortcut in connecting ports, as master port info may get updated to match to the connecting ports. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3915 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-19Fixed #1429: Problem with SDL on setting window's position when window is hiddenLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3914 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-15Close #1279: Implemented custom SDP format match for G.722.1 and AMR-NB/WB.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3911 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-15Misc (re #1393): fix compile error in pjmedia-codec/audio_codecs.c, caused ↵Nanang Izzuddin
by typo and wrong member reference: '&c->passthough.ilbc' should be '&c->passthrough.setting'. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3910 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-09Re #1420: Create a pool for the event manager so subscriber doesn't need to ↵Liong Sauw Ming
supply its own pool. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3905 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-08Re #1234: minor update, put libavcodec version check for constant ↵Nanang Izzuddin
AV_PICTURE_TYPE_I/FF_I_TYPE usage. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3904 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-08Re #1420: Removed old event publication init in QT and iOS dev.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3902 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-07Re #1234: Initial version of keyframe request/response via SIP INFO.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3901 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-07Re #1420: Releases the mutex before invoking the callback from the worker ↵Liong Sauw Ming
thread. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3899 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-05Re #1420: Fixed event source information in pjmedia vid_streamLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3898 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-05Re #1420: Fixed event propagation from video stream to video port.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3897 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-02Re #1420: event change for V4L2 deviceBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3895 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-01Closed #1420: Add support for event managerLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3893 74dad513-b988-da41-8d7b-12977e46ad98
2011-11-30Fixed problem with selecting audio codec if rtpmap is omitted from the SDP ↵Benny Prijono
for the static PT (re #1393, thanks Régis Montoya for the fix!) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3890 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-31Re #1395: Backport of PJSIP 1.x branch into PJSIP 2.0 trunkLiong Sauw Ming
* Backport of r3833:r3877 git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3878 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-28Misc (re #1393): disable jbuf tracingBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3874 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-28Fixed #1406: Add info about ICE candidates being used in transport info and ↵Benny Prijono
pjsua's call dump output git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3872 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-28Misc (re #13930; added info about ICE candidates being used (both local and ↵Benny Prijono
remote) in pjsua dump call output git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3870 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-27Close #1404: handle static payload types match in pjmedia_sdp_neg_fmt_match().Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3869 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-26Fixed #1401: Add support for video device's window flagsLiong Sauw Ming
Now support flags PJMEDIA_VID_DEV_WND_BORDER and PJMEDIA_VID_DEV_WND_RESIZABLE. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3864 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-26Re #1390: Updated h264 settings: bitrate from 128k to 512k, size from ↵Nanang Izzuddin
352x288 to 720x480, x264 preset from 'veryslow' to 'veryfast'. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3861 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-25Re #1300: Bug in updating SDP rtpmap in symmetric PT when PT offer is ↵Nanang Izzuddin
shorter than our default, the rtpmap value length was not updated. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3856 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-25More re #1394: handle the case when clock_stop() is called from within the ↵Benny Prijono
clock callback itself git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3854 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-25Re #1390: disable H264 encoder source format RGB24 as x264 doesn't support ↵Nanang Izzuddin
4:4:4 for baseline profile. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3853 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-25Minor (#1393): compilation warning with snprintf formatBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3848 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-25More #1394: fixed deadlock when format change is reported by vid_stream, ↵Benny Prijono
which cause the clock to stop. It waits for the callback to return, but the callback is waiting to lock the jb_mutex, which is currently being held by the stopping clock. The workaround is to queue the event and report it later git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3847 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-24Re #1300: fixed bug when looking for non-telephone-events codec in the ↵Benny Prijono
incoming INVITE causing it to rejects with 488 git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3842 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-24Re #1395: Backport of PJSIP 1.x branch into PJSIP 2.0 trunkLiong Sauw Ming
* Backport of r3557:r3832 TODO: ticket #1268 (Option for automatic/manual sending of RTCP SDES/BYE for the stream) for video stream. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3841 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-24Fixed #1394: Concurrency problem when stopping clock threadBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3840 74dad513-b988-da41-8d7b-12977e46ad98