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
Nanang Izzuddin
f4ee415730
Misc (re#1320): added device ID in pjmedia_vid_dev_info, useful for translating default IDs to real IDs.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3618 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-12 03:20:36 +00:00
Benny Prijono
934af0fa2b
Initial implementation of re #1284 (Event Framework). Current event has been converted to the new framework. Next to convert is codec event
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3617 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-12 03:05:35 +00:00
Sauw Ming
e2301716fc
Re #1261 : Video tee
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3616 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-12 01:45:21 +00:00
Sauw Ming
2e9b884cb3
Re #1304 : Video port refactoring
...
- Change name to vid_port (minor)
- Redesign to support only unidir
- Consistent conversion and frame buffer usage
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3615 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-11 09:36:08 +00:00
Nanang Izzuddin
af4e9ec24d
Re #1261 : added initial version of video tee.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3614 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-11 03:20:40 +00:00
Benny Prijono
145c1b0860
Misc (re #1320 ): undo r3607 above. The argument type was correctly specified as pointer because it is optional argument
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3613 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-07 09:55:04 +00:00
Benny Prijono
6dedd29828
Misc (re #1320 ): fixed potential crash if pjmedia_aud_dev_cap_name() is called with invalid capability
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3612 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-07 09:26:55 +00:00
Benny Prijono
9f468d176d
Initial commit re #1263 (PJSUA-LIB Video API):
...
- API designed and reviewed (pjsua.h)
- Implemented these APIs and added to pjsua sample application:
- video device enums API
- video capture preview API
- refactoring in PJSUA-LIB:
- video stuffs go to pjsua_vid.c
- call dump goes to pjsua_dump.c
We're still missing:
- video call API implementation
- media info and statistic API implementation
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3609 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-07 07:46:33 +00:00
Benny Prijono
333eaf1622
Misc (re #1320 ): fixed crash if invalid capability is specified in pjmedia_vid_dev_cap_name()
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3608 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-07 07:44:44 +00:00
Benny Prijono
921e8130b8
Misc (re #1320 ): minor, changed prio parameter in pjmedia_vid_codec_mgr_enum_codecs() from pointer to array to clarify its use
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3607 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-07 07:37:55 +00:00
Benny Prijono
9098b2b9f8
Misc (re #1320 ): added pjmedia_type_name() API
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3606 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-07 07:34:26 +00:00
Benny Prijono
6bb3dc7e5e
Re #1285 : fixed compilation error if SDL < 1.3 is used
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3605 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-07 07:12:37 +00:00