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
Nanang Izzuddin
b4d4dade23
Re #1263 :
...
- Renamed API pjsua_call_set_vid_out() with pjsua_call_set_vid_strm().
- Implemented initial version of the function, features covered:
- add, remove video media stream during the call
- change which device to use during the call
- start/stop video stream transmission
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3634 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-13 08:51:10 +00:00
Sauw Ming
06dffff4a7
Closed #1323 : Video port unit testing
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3633 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-13 03:38:59 +00:00
Benny Prijono
2d64772d47
Fixed #1299 : New callback to notify that sound device needs to be opened or closed
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3632 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-13 03:05:22 +00:00
Sauw Ming
8985f550b5
Re #1304 : Video port refactoring: fix frame handling when renderer's role is active, change API to get/set clocksource to be unidir
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3631 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-13 02:37:14 +00:00
Benny Prijono
643a901b02
Misc (re #1320 ): patch ffmpeg_codecs.c to compile with newer version of ffmpeg (thanks Jeremy Geras for the patch)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3630 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-12 23:16:27 +00:00
Nanang Izzuddin
62053a6a44
Re #1263 :
...
- implemented video window management (get/set visibility, pos, resize)
- integrated video window and video capture preview into call
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3629 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-12 11:08:32 +00:00
Benny Prijono
2ba6d27d74
More re #1284 : generate PJMEDIA_EVENT_KEY_FRAME_FOUND from ffmpeg_codecs.c
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3628 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-12 10:54:56 +00:00
Sauw Ming
3b375a709a
Re #1261 : Destroy video tee's converter
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3627 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-12 10:31:51 +00:00
Sauw Ming
5396434e71
Re #1309 :
...
- Add support for vid_dev_get_param() on SDL
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3626 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-12 10:29:46 +00:00
Nanang Izzuddin
f5bfc8da0a
Misc (re #1320 ): added video tee header (vid_tee.h) into pjmedia.h
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3625 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-12 10:29:32 +00:00
Nanang Izzuddin
868badbc28
Misc (re #1320 ): updated (again) vs2005 projects setting for other newly added files (event.h/c).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3624 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-12 10:28:26 +00:00
Sauw Ming
30389c2180
Closed #1304 : Video port refactoring
...
- Refactor video port functions for active/passive role, active/passive stream role, encoding/decoding
- Converter creation if necessary
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3623 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-12 10:03:02 +00:00
Benny Prijono
d4b5e87796
More on re #1284 :
...
- Replaced bit_info mechanism to report format change in codec with event
- Updated vid_port, vid_codec_test, etc.
- Add event publisher to vid_codec
- Add event publisher to pjmedia_port
- Add event publisher to vid_stream
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3622 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-12 09:08:56 +00:00
Sauw Ming
ed0d491673
Re #1284
...
Fixed compilation error on Mac (minor)
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3621 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-12 07:28:59 +00:00
Sauw Ming
59f2b7487f
Closed #1261 : Video tee
...
- Add API pjmedia_vid_tee_add_dst_port2() for adding destination port which may need format conversion
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3620 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-12 07:14:32 +00:00
Nanang Izzuddin
9670575855
Misc (re #1320 ): updated vs2005 projects setting with the newly added files (such as pjsua_vid.c etc).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3619 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-12 03:25:33 +00:00