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
Sauw Ming
ee13fb4171
Re #1472 : Fixed wrong calculation in clock rate adjustment
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4029 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-05 08:53:48 +00:00
Nanang Izzuddin
03f7c10e35
Misc (Re #1446 ): limit pjsua_vid_codec_get/set_param() search domain to only codecs with RTP packetizations.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4028 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-05 08:41:20 +00:00
Nanang Izzuddin
4560ee8d43
Misc (Re #1446 ): Add pjsua app video command for modifying video codec size/resolution.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4027 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-05 08:38:49 +00:00
Sauw Ming
31cc40d501
Re #1472 : Adjust the clock's get_frame() rate if the video device is passive
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4026 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-05 08:38:27 +00:00
Nanang Izzuddin
8f1546d478
Misc (Re #1446 ): Add pjsua app video commands for modifying video codec bitrate & framerate.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4025 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-05 07:22:30 +00:00
Nanang Izzuddin
5ec95cd900
More re #1478 : AVI cleanup steps in pjsua app.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4024 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-05 04:41:24 +00:00
Sauw Ming
22d9b64287
Misc (Re #1446 ): Fixed wrong setting of pjsua_app's options.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4023 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-05 01:56:05 +00:00
Nanang Izzuddin
5f13c9fe06
Misc (Re #1446 ): fixed TX packet counter in video stream.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4022 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-04 10:55:18 +00:00
Nanang Izzuddin
d96208a6d4
More re #1478 : fixed build config and compile warnings on MSVC2005.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4021 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-04 10:07:18 +00:00
Benny Prijono
83ee8f5371
More re #1478 : now really do not connect to microphone when streaming avi (instead of disconnecting the whole audio)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4020 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-04 08:16:02 +00:00
Benny Prijono
837200acb4
More re #1478 : do not connect the microphone when streaming avi
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4019 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-04 07:45:39 +00:00
Sauw Ming
878bc14d00
Misc (Re #1446 ): Add support for aviplay to play H264 and MPEG4 decoded AVI videos. This includes support for XVID and DIVX MPEG4.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4018 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-04 05:45:46 +00:00
Sauw Ming
9597b009c4
Misc (Re #1446 ): Remove XVID format and add default resolution and fps for MPEG4 and MJPEG
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4017 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-04 05:39:50 +00:00
Benny Prijono
2e727e8f70
Fixed #1478 : AVI player virtual device. Initial spec:
...
- 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: https://svn.pjsip.org/repos/pjproject/trunk@4016 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-04 05:05:50 +00:00
Benny Prijono
ce8ff439ee
Misc (Re #1446 ): changed h.263 and h.264 default maximum bandwidth to 256kb/s from 512kb/s
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4015 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-04 04:49:15 +00:00
Benny Prijono
27e6147e9e
Re #1446 : set format to PCM when WAVE_FMT_TAG_PCM is detected in AVI file, so that other pjmedia components can recognize that it is a raw PCM format
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4014 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-04 04:45:28 +00:00
Benny Prijono
73ed000001
Misc (re #1446 ): fixed crash if unregistered format is specified when opening device with the video port
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4013 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-04 04:43:05 +00:00