summaryrefslogtreecommitdiff
path: root/pjmedia
AgeCommit message (Collapse)Author
2012-04-24Misc (re #1446) fixed compilation warningBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4077 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-24Misc (re #1446): compilation warning when calling swscaleBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4076 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-23Related to re #1469: enable H.263 and H.264 by default if ffmpeg is availableBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4070 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-19Re #1276: Integrate BaseClasses with the project and remove unnecessary classesLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4062 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-17Re #1476: for simple blocking, the bandwidth typically needs to be set to ↵Benny Prijono
larger value than the avg_bitrage, otherwise the simple_blocking will slow down the transmission too much, causing video and audio unsync. This patch force the bandwidth to at least three times avg_bps git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4059 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-17Related to re #1478: minor fix for wrong AVI header field name (msec instead ↵Benny Prijono
of usec) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4058 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-17Related to re #1478: add timestamp value to audio and video frames in the ↵Benny Prijono
AVI player, and fix the avg/max bps calculation for the port info of audio stream git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4057 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-17Misc (re #1446): redirect ffmpeg logging with custom log callback.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4056 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-16Re #1446 (misc): Revert r4035 which resizes renderer if format does not change.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4053 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-13Re #1446 (misc): Change the default of PJMEDIA_HAS_FFMPEG_VID_CODEC to ↵Liong Sauw Ming
PJMEDIA_HAS_FFMPEG_CODEC. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4051 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-13Re #1446 (misc): Modified Makefile for ffmpeg_vid_codecs (see r4049)Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4050 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-13Re #1446 (misc): Modified ffmpeg_codecs to ffmpeg_vid_codecsLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4049 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-13Misc (re #1446): added AVI tags 'FMP4' & 'DX50' for MPEG4 variants in AVI ↵Nanang Izzuddin
player. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4048 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-13Re #1478: Moved codec creation from dev_stream to dev_infoLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4047 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-13Misc (Re #1446): Remove XVID format usage in ffmpeg_util.c, ↵Nanang Izzuddin
PJMEDIA_FORMAT_XVID definition was removed in r4017 (thanks Bob van der Linden for the fix). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4044 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-12Re #1476: Initial version of send rate control in video stream, added simple ↵Nanang Izzuddin
blocking method (block application thread to make send delay when delay is needed). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4043 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-10Re #1446 (misc): Create SDL window in the requested position if ↵Liong Sauw Ming
PJMEDIA_VID_DEV_CAP_OUTPUT_POSITION is specified (fixed unused vars in the prev revision). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4036 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-10Re #1446 (misc): Modify SDL dev to:Liong Sauw Ming
* Resize renderer (instead of recreating it) if format does not change. * Create window in the requested position if PJMEDIA_VID_DEV_CAP_OUTPUT_POSITION is specified. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4035 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-10Re #1478: Add support to play encoded AVI file (H264 or MPEG4).Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4034 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-09Re #1474: merged r4030Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4031 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-05Re #1472: Fixed wrong calculation in clock rate adjustmentLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4029 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-05Re #1472: Adjust the clock's get_frame() rate if the video device is passiveLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4026 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-04Misc (Re #1446): fixed TX packet counter in video stream.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4022 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-04More re #1478: fixed build config and compile warnings on MSVC2005.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4021 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-04Misc (Re #1446): Add support for aviplay to play H264 and MPEG4 decoded AVI ↵Liong Sauw Ming
videos. This includes support for XVID and DIVX MPEG4. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4018 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-04Misc (Re #1446): Remove XVID format and add default resolution and fps for ↵Liong Sauw Ming
MPEG4 and MJPEG git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4017 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-04Fixed #1478: AVI player virtual device. Initial spec:Benny Prijono
- Currently only Works with raw video and audio AVI files - Added --play-avi and --auto-play-avi options in pjsua - No A/V synchronization yet git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4016 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-04Misc (Re #1446): changed h.263 and h.264 default maximum bandwidth to ↵Benny Prijono
256kb/s from 512kb/s git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4015 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-04Re #1446: set format to PCM when WAVE_FMT_TAG_PCM is detected in AVI file, ↵Benny Prijono
so that other pjmedia components can recognize that it is a raw PCM format git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4014 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-04Misc (re #1446): fixed crash if unregistered format is specified when ↵Benny Prijono
opening device with the video port git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4013 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-03Close #1479: Applied RTCP related enhancements (#1268 & #1440) into video ↵Nanang Izzuddin
stream. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4012 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-03Misc (re #1446): Reenable format change event emission in video stream when ↵Nanang Izzuddin
remote frame rate changed. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4010 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-03Misc (re #1446):Liong Sauw Ming
* Apply format change event to vid_dev only if the format changes. * Get the new format info from the event itself (instead of from the client port) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4009 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-03Re #1453: fixed memory leak in pjmedia_vid_codec_mgr_set_default_param() ↵Nanang Izzuddin
caused by unreleased old pool when the new codec param is not NULL (thanks Faba Aa for the report). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4008 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-02Misc (re #1446): Updated default video frame rate from 30 fps to 15 fps (for ↵Nanang Izzuddin
both H264 & H263-1998). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4007 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-02Misc (re #1446): Added macro PJMEDIA_MAX_VID_PAYLOAD_SIZE, also updated the ↵Nanang Izzuddin
default encoding MTU of ffmpeg codec & H263/H264 packetizers to this macro setting. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4006 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-30Fix #1475: Fixed wrong frame size calculation used for jitter buffer ↵Nanang Izzuddin
initialization in video stream, it should be based on PJMEDIA_MAX_MTU instead of encoder MTU setting. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4003 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-30Re #1474: merged r3879Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4002 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-30Re #1474: merged r3879:3885Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4001 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-30Re #1474: Merged all changes from 1.12 - HEAD (from the 1.x branch)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3999 74dad513-b988-da41-8d7b-12977e46ad98
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