Commit Graph

3649 Commits

Author SHA1 Message Date
Nanang Izzuddin ab34e6bd9b Re #1474: merged r4095:4099
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4100 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-26 16:57:47 +00:00
Nanang Izzuddin bf56817cbe Misc (re #1446): Fixed compile errors on Symbian S60 5th Ed SDK: unrecognized a struct defined inside another struct and 64 bit integer constants suffix.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4099 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-26 16:46:27 +00:00
Benny Prijono c94bd20836 Re #1474: merged r4093:4095
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4096 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-26 11:59:34 +00:00
Benny Prijono 78dbf539b7 Re #1474: merged r4081-r4093
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4094 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-26 09:31:00 +00:00
Benny Prijono ac58bc0e66 Re #1474: this is supposed to be part of r4082 above, which is the merging of r4054 to r4079. Somehow it was left uncommitted!
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4090 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-26 09:12:25 +00:00
Nanang Izzuddin af8f4fa618 Misc (re #1446): Updated ffmpeg compatibility issues, e.g: av_set_int() return code not match to av_opt_set_int(), update libavcodec version to at least 53.61 for av_opt_set*() usage.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4089 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-26 07:27:06 +00:00
Nanang Izzuddin 972a42c24f Misc (re #1446): Updated Symbian projects with new files introduced in 2.0.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4088 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-26 06:08:24 +00:00
Sauw Ming 2a04460ffe Re #1446 (misc): Disable SDL by default on iOS and fixed various compiler warnings.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4087 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-26 03:39:24 +00:00
Sauw Ming e85cbee6b9 Re #1446 (misc): Fixed linking error if PJMEDIA_HAS_VIDEO is 0
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4086 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-26 02:44:41 +00:00
Nanang Izzuddin 19dbb90445 Misc (re #1446): dump_media_session() wasn't called if there was no active audio.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4085 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-25 07:45:22 +00:00
Sauw Ming 2c488d98e6 Re #1446 (misc): Fix possible crash if video ports are destroyed in the wrong order (i.e. client port must be destroyed last).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4084 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-25 07:13:05 +00:00
Nanang Izzuddin fd7be1a3cf Misc (re #1446): more support newer libavcodec version (major: 54) which deprecated AVCodec::encode and avcodec_encode_video().
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4083 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-25 05:12:55 +00:00
Benny Prijono 5fa18e65d1 Re #1474: merged r4054-r4079
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4082 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-24 13:09:14 +00:00
Benny Prijono 5f166fd312 Misc (re #1446): support newer libavcodec version (major: 54) which deprecated few APIs
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4081 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-24 13:06:39 +00:00
Nanang Izzuddin 21b2450e8b Re #1276: Updated baseclasses dependency in VC makefile for samples.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4080 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-24 12:45:00 +00:00
Benny Prijono 2f3cc8ed32 Misc (re #1446): fixed warning re unused job_thread() function in Mac OS build
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4078 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-24 09:46:39 +00:00
Benny Prijono 20c157e524 Misc (re #1446) fixed compilation warning
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4077 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-24 09:43:06 +00:00
Benny Prijono f92386df96 Misc (re #1446): compilation warning when calling swscale
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4076 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-24 09:40:35 +00:00
Nanang Izzuddin a24437843a Re #1276: Fixed missing setting in baseclasses project also added svn:ignore prop to baseclasses output dir.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4075 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-24 08:11:31 +00:00
Nanang Izzuddin 6e2b2f006c Re #1276: Removed unused file baseclasses.vcproj
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4073 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-24 07:14:55 +00:00
Nanang Izzuddin c46d115c2b Re #1276:
- Updated baseclasses VS2005 project setting (use VS property sheet, etc).
 - Added PJMEDIA_VIDEO_DEV_HAS_DSHOW filter.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4072 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-24 07:07:39 +00:00
Nanang Izzuddin 1d56872ad7 Fix #1423:
- Added provisional media in call for generating initial and subsequent SDP offer/answer. If a reoffer is rejected by peer, the main call media will remain unchanged and the provisional media will be cleaned up (the cleanup is currently delayed until call gets destroyed or another reoffer/answer occurs).
 - Reenabled media transport dump in pjsua_core.c.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4071 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-24 05:40:32 +00:00
Benny Prijono 8e0a5fc768 Related to re #1469: enable H.263 and H.264 by default if ffmpeg is available
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4070 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-23 13:48:10 +00:00
Benny Prijono eeebfabbf7 Re #1469: Changed aconfigure to use pkg-config to detect ffmpeg dependencies. On systems where pkg-config is not available (such as Mac OS X), use the supplemented pkgconfig.py Python script. If Python is not available, users then need to configure CFLAGS and LDFLAGS manually prior to running configure
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4069 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-23 13:46:21 +00:00
Sauw Ming db7e0602c1 Fixed #1493: Fixed bug in terminating the invite session when accepting incoming call.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4068 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-23 13:27:29 +00:00
Sauw Ming 75b42f984e Re #1276: Integrate BaseClasses with the project and remove unnecessary classes
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4062 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-19 06:36:57 +00:00
Sauw Ming 93ba7fef09 Fixed #1276: Add baseclasses sample in third_party directory required by dshow_dev
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4061 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-18 02:38:42 +00:00
Sauw Ming c1a64cbb33 Re #1355: vidgui: new rendering window may cause all rendering processes to stop
Despite this fix, there is still a possibility that the rendering window can occasionally get stuck because SDL_PollEvent() gets stuck. This is most likely because there are two unsynchronized event pollers, Qt and SDL. The problem only happened on Windows with SDL 1.3 r5538, runs fine on Mac.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4060 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-17 09:55:30 +00:00
Benny Prijono 1593c8769a Re #1476: for simple blocking, the bandwidth typically needs to be set to 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: https://svn.pjsip.org/repos/pjproject/trunk@4059 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-17 07:18:52 +00:00
Benny Prijono d7d94c4f6b Related to re #1478: minor fix for wrong AVI header field name (msec instead of usec)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4058 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-17 06:57:50 +00:00
Benny Prijono db86127fe5 Related to re #1478: add timestamp value to audio and video frames in the AVI player, and fix the avg/max bps calculation for the port info of audio stream
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4057 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-17 06:54:50 +00:00
Nanang Izzuddin 9f44201821 Misc (re #1446): redirect ffmpeg logging with custom log callback.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4056 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-17 02:48:29 +00:00
Nanang Izzuddin b230a22ffb Re #1441: applied window flags BORDER and RESIZABLE to the local preview when sending AVI.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4055 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-16 09:44:25 +00:00
Benny Prijono 1effeaa6c3 Re #1474: merged r4042-r4053
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4054 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-16 07:50:01 +00:00
Sauw Ming 11c501a1db Re #1446 (misc): Revert r4035 which resizes renderer if format does not change.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4053 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-16 05:22:18 +00:00
Sauw Ming 32befd7703 Re #1446 (misc): Fixed unset sip error code if pjsip_inv_verify_request3() failed.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4052 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-16 02:47:38 +00:00
Sauw Ming 1f07888ea3 Re #1446 (misc): Change the default of PJMEDIA_HAS_FFMPEG_VID_CODEC to PJMEDIA_HAS_FFMPEG_CODEC.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4051 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-13 08:16:30 +00:00
Sauw Ming 3049d7eaae Re #1446 (misc): Modified Makefile for ffmpeg_vid_codecs (see r4049)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4050 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-13 06:29:56 +00:00
Sauw Ming 74283db5f4 Re #1446 (misc): Modified ffmpeg_codecs to ffmpeg_vid_codecs
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4049 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-13 06:24:23 +00:00
Nanang Izzuddin f34c6bdc40 Misc (re #1446): added AVI tags 'FMP4' & 'DX50' for MPEG4 variants in AVI player.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4048 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-13 05:45:25 +00:00
Sauw Ming 451f05f6d8 Re #1478: Moved codec creation from dev_stream to dev_info
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4047 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-13 04:59:05 +00:00
Nanang Izzuddin 1fcae4934e Misc (Re #1446): Remove XVID format usage in ffmpeg_util.c, PJMEDIA_FORMAT_XVID definition was removed in r4017 (thanks Bob van der Linden for the fix).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4044 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-13 02:26:11 +00:00
Nanang Izzuddin 73f35850c0 Re #1476: Initial version of send rate control in video stream, added simple blocking method (block application thread to make send delay when delay is needed).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4043 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-12 13:41:50 +00:00
Nanang Izzuddin c838f28acb Re #1474: merged r4041
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4042 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-12 08:53:59 +00:00
Nanang Izzuddin cd2bfbacd3 Re #1474: merged r4039
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4040 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-12 08:10:06 +00:00
Benny Prijono 3abc757586 Re #1474: merged r4031-r4037
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4038 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-11 10:01:00 +00:00
Sauw Ming 3af76f4db5 Re #1446 (misc): Create SDL window in the requested position if PJMEDIA_VID_DEV_CAP_OUTPUT_POSITION is specified (fixed unused vars in the prev revision).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4036 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-10 12:27:25 +00:00
Sauw Ming 555600ac95 Re #1446 (misc): Modify SDL dev to:
* 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: https://svn.pjsip.org/repos/pjproject/trunk@4035 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-10 12:23:35 +00:00
Sauw Ming 5a3f9f57ba Re #1478: Add support to play encoded AVI file (H264 or MPEG4).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4034 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-10 11:54:04 +00:00
Nanang Izzuddin ad5e8143eb Re #1474: merged r4030
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4031 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-09 07:15:45 +00:00