Sauw Ming
5707f359f7
Re #1324 : Fixed compilation error on iPhone OS.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3690 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-09 03:31:40 +00:00
Sauw Ming
59b51c45ba
Re #1334 : support for various thread models for SDL 1.3. There are three 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: https://svn.pjsip.org/repos/pjproject/trunk@3689 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-08 05:41:19 +00:00
Benny Prijono
4ba7c9517a
Misc (re #1320 ): fixed link error in pjmedia_test and aviplay samples if ffmpeg is not enabled
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3688 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-08 04:18:55 +00:00
Benny Prijono
7e50ff08b4
More re #1327 (vidgui): added vidgui.pro and removed generated files from svn
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3687 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-02 04:26:47 +00:00
Nanang Izzuddin
d4ec2819af
Re #1327 : Very early version of simple video GUI, built on Qt, should run on win/lin/mac.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3686 74dad513-b988-da41-8d7b-12977e46ad98
2011-08-01 12:57:45 +00:00
Benny Prijono
4426153088
Re #1263 (PJSUA-LIB video API): added doxygen comments on stream_op values
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3685 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-26 08:48:48 +00:00
Nanang Izzuddin
db9b0028ae
Close #1339 : added renderer device ID info into video window info.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3684 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-26 08:17:25 +00:00
Nanang Izzuddin
e7acf22453
Fix #1338 : Updated pjsua_modify_acc() to handle the new account config fields: max_audio_cnt, max_video_cnt, vid_in_auto_show, vid_out_auto_transmit, vid_cap_dev, vid_rend_dev.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3683 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-26 08:10:29 +00:00
Perry Ismangil
fed7ebf86f
Re #1254 Further tweaks turning off treeview generation
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3679 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-23 11:23:08 +00:00
Benny Prijono
7df1934fb5
Misc (re #1320 ): fixed compilation error if SRTP is disabled. Thanks Bo Shi for the report
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3678 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-23 02:54:03 +00:00
Sauw Ming
edc3050db0
Re #1334 : Refactor SDL device
...
* 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: https://svn.pjsip.org/repos/pjproject/trunk@3676 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-22 08:28:53 +00:00
Nanang Izzuddin
6e2fcc3aea
Re #1332 : Added type definition of video window handle.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3675 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-22 04:49:36 +00:00
Benny Prijono
5b0af63777
Fixed #1329 : Added --with-sdl option in aconfigure script to specify alternate libSDL location
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3672 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-20 03:16:25 +00:00
Nanang Izzuddin
f6d2eb6188
Re #1324 :
...
- 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: https://svn.pjsip.org/repos/pjproject/trunk@3671 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-20 03:05:03 +00:00
Sauw Ming
68c145760e
Re #1278 : Fixed linker error on Mac and iOS.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3670 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-20 03:00:48 +00:00
Perry Ismangil
c2f2e5550c
Re #1254 Doxygen configuration and makefile changes to support version specific documentation
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3669 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-19 21:42:58 +00:00
Benny Prijono
2f1b156357
Misc (re #1320 ): wrongly used the obj-c version on Linux build
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3668 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-19 11:39:34 +00:00
Nanang Izzuddin
63b3c13cd2
Fixed #1271 : protected all video features with PJMEDIA_HAS_VIDEO macro setting.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3667 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-19 11:11:07 +00:00
Nanang Izzuddin
d93c68a997
Re #1326 :
...
- Fixed compile warnings on vs2005
- Fixed compile error when PJMEDIA_HAS_VIDEO set to 0 on vs2005
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3666 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-19 08:40:20 +00:00
Nanang Izzuddin
909e59b025
Re #1326 : Updated vs2005 project setting for newly added file audio_codecs.h/c
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3665 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-19 05:12:59 +00:00
Nanang Izzuddin
fe68f1dc55
Re #1326 : Initial code integration from branch 2.0-dev to trunk as "2.0-pre-alpha-svn".
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3664 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-19 03:42:28 +00:00
Nanang Izzuddin
96f8dca165
Fix #1295 : Added thin wrapper for audio and video codec operations.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3663 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-15 10:19:59 +00:00
Benny Prijono
4cd97b4da7
Re #1294 : minor documentation fixes
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3662 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-15 09:59:26 +00:00
Benny Prijono
35fc1eb3e4
Fixed #1294 : New pjmedia_codec_register_audio_codecs() API to register all known codecs, and also added implementation to deregister all codecs when the media endpoint is destroyed
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3661 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-15 09:51:46 +00:00
Sauw Ming
2fe2b5eee0
Re #1282 : change for Mac and iOS
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3660 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-15 08:36:23 +00:00
Nanang Izzuddin
250ffa1b29
Misc (re #1320 ): moved function prototype stop_video_stream() from pjsua_vid.c to pjsua_internal.h
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3659 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-15 08:13:11 +00:00
Sauw Ming
5291a2da7d
Re #1282 :
...
- Change *fmt in pjmedia_vid_dev_info to array
- Change pjmedia_vid_cb/param to pjmedia_vid_dev_*
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3658 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-15 07:52:44 +00:00
Nanang Izzuddin
9808561961
Re #1263 :
...
- Replaced video stream operation DISABLE into REMOVE.
- Replaced video stream operation ENABLE into CHANGEDIR.
- Added new param: media direction, used in operation ADD and CHANGEDIR.
- Updated video stream operation START_TRANSMIT to ignore capture device param (as changing capture device is handled by CHANGE_CAP_DEV operation).
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3657 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-15 07:41:02 +00:00
Benny Prijono
1fe04eefb3
Fixed #1265 : video events for PJSUA-LIB
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3656 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-15 07:27:05 +00:00
Sauw Ming
c7bc3aa786
Re #1263 :
...
Fixed assertion when receiving a call with no video
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3655 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-15 07:22:49 +00:00
Sauw Ming
aa08ef632d
Fixed #1281 :
...
Video device should now be able to open the device when provided with the default param.
Tested video device: dshow capture, qt, iOS, SDL
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3654 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-15 06:42:11 +00:00
Benny Prijono
d2a3347bb7
Re #1284 (event framework): unsubscribing does not need to know publisher
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3653 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-15 06:37:07 +00:00
Benny Prijono
ee0ba1872c
Re #1265 (GUI events): initial implementation, for renderer only first. Also re #1320 (misc): moved function prototypes from pjsua_xx.c to pjsua_internal.h
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3652 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-15 06:18:29 +00:00
Nanang Izzuddin
030aa2bd48
Misc (re #1320 ):
...
- Updated (again) vs2005 projects setting for other newly added files (pjmedia-videodev/errno.c).
- Disabled VMR/DirectShow renderer temporarily.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3651 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-15 04:36:06 +00:00
Sauw Ming
c083083096
Misc (re #1320 ): add videodev's errno.c
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3650 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-15 04:31:24 +00:00
Sauw Ming
d95867120c
Misc (re #1320 ): videodev's error message
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3649 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-15 02:44:35 +00:00
Nanang Izzuddin
98b081a824
Misc (re #1320 ): update trace log level from 4 to 6 in event.c
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3648 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-15 02:39:54 +00:00
Nanang Izzuddin
be321fd7d5
Misc (re #1320 ): fix verification of invalid/negative video device ID in videodev.c, should just returning error instead of raising assertion.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3647 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-15 02:33:17 +00:00
Nanang Izzuddin
fd600af656
Misc (re #1320 ): fix bad error code in directshow video device (was S_FALSE, which seems to be treated as success with SUCCEEDED()/FAILED() macro).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3646 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-15 02:12:25 +00:00
Sauw Ming
ef1dd2ce10
Re #1325 :
...
- Add signature for QT and iOS dev.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3645 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-15 02:04:03 +00:00
Nanang Izzuddin
a6efd6e0b8
Re #1325 :
...
- Added signature for directshow video device.
- Added signatures.h into pjmedia VS2005 project.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3644 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-15 02:00:37 +00:00
Sauw Ming
01095d8410
Re #1278 : NSApplication and NSAutoreleasePool management for Mac OS X
...
Application now needs to call pj_run_app() from its main() function and pass a pointer to the application's main function. For some examples, please refer to aviplay, pjmedia_test, and pjsua.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3643 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-14 08:46:19 +00:00
Benny Prijono
5f7e83981e
More re #1284 (event): changed event to use the fourcc value for better extensibility and readability
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3642 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-14 06:51:51 +00:00
Benny Prijono
dbab8aaa19
More re #1325 (pjmedia signature): invented pjmedia PJMEDIA_FOURCC macro, and change signature and pjmedia_format_id to use this object. Added pjmedia_fourcc_name( ) too
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3641 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-14 06:34:29 +00:00
Benny Prijono
fcf5db3e9e
Fixed #1325 : signature fix pjmedia objects
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3640 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-14 04:56:08 +00:00
Nanang Izzuddin
f5269a22b7
Re #1263 :
...
- Implemented media info/statistics APIs: stream info, stream statistic, and transport info.
- Implemented API of default video stream index in call, pjsua_call_get_vid_stream_idx().
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3639 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-14 04:42:18 +00:00
Nanang Izzuddin
f363802d77
Re #1263 :
...
- Added API pjsua_vid_enum_wins() to enumerate video windows.
- Minor fixes on video window manipulations.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3638 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-14 03:47:04 +00:00
Nanang Izzuddin
c16590ad20
Re #1263 : minor fixes:
...
- wrong boolean value to be used with PJMEDIA_VID_DEV_CAP_OUTPUT_HIDE in pjsua_vid.c
- unupdated 'vid' commands in pjsua sample app
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3637 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-14 02:14:25 +00:00
Nanang Izzuddin
7ad53c33df
Re #1263 :
...
- Break down the operation type PJSUA_CALL_VID_STRM_MODIFY into PJSUA_CALL_VID_STRM_ENABLE, PJSUA_CALL_VID_STRM_DISABLE, PJSUA_CALL_VID_STRM_CHANGE_CAP_DEV.
- Implemented video stream re-enabling (PJSUA_CALL_VID_STRM_ENABLE).
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3636 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-13 13:31:08 +00:00
Nanang Izzuddin
32b924f7cd
Misc (re #1320 ): fix pjmedia_vid_dev_get_info() in translating default IDs to real IDs (see r3618).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3635 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-13 13:23:29 +00:00