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
Perry Ismangil
ebf16b053e
Really fixed #1296 deleting VS6 workspaces and projects
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3602 74dad513-b988-da41-8d7b-12977e46ad98
2011-06-30 12:53:51 +00:00
Sauw Ming
cbd82aff70
Re #1309 : Add capability names and pointers for the new videodev's capabilities.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3601 74dad513-b988-da41-8d7b-12977e46ad98
2011-06-30 09:31:05 +00:00
Sauw Ming
4051892a98
Closed #1312 . Add implementation for Mac OS X and iPhone OS.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3593 74dad513-b988-da41-8d7b-12977e46ad98
2011-06-21 10:23:53 +00:00
Sauw Ming
7f7c5bd477
Re #1312 : Support for refreshing video device list
...
Add pjmedia-videodev API: pjmedia_vid_dev_refresh() and its implementation for Windows and Linux.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3592 74dad513-b988-da41-8d7b-12977e46ad98
2011-06-21 09:33:01 +00:00
Sauw Ming
46cdaa8bfa
Closed #1309 : Add video device capability to support changing position and hiding of renderer window.
...
Provide SDL implementation for both capabilities.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3590 74dad513-b988-da41-8d7b-12977e46ad98
2011-06-20 06:16:08 +00:00
Nanang Izzuddin
5dea012fa3
Ticket #1304 : temporary fix for videoport format change event handling bug, if video port has no converter, format changes may not be applied. Note, need further review that on format changed, video port may need to create video converter if there is none.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3587 74dad513-b988-da41-8d7b-12977e46ad98
2011-06-20 02:42:56 +00:00
Perry Ismangil
1fef1f9b59
Fixed #1296 deleting VS6 workspaces and projects
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3583 74dad513-b988-da41-8d7b-12977e46ad98
2011-06-14 14:35:39 +00:00
Sauw Ming
a8e086208e
Fixed #1286 : Stride issue in dshow renderer (Video Mixing Renderer)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3582 74dad513-b988-da41-8d7b-12977e46ad98
2011-06-13 11:48:37 +00:00
Sauw Ming
f477e283fc
Closed #1292 : Make sure each video device for Mac OS and iPhone OS is always unidir
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3581 74dad513-b988-da41-8d7b-12977e46ad98
2011-06-09 04:13:50 +00:00
Sauw Ming
83db7d64fa
Re #1292 : Make sure each video device and video port instance is always unidirectional
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3580 74dad513-b988-da41-8d7b-12977e46ad98
2011-06-09 04:08:47 +00:00
Sauw Ming
e90ece8dc3
Closed #1275 : Change pjmedia_vid_subsys_xx() to pjmedia_vid_dev_subsys_xx()
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3579 74dad513-b988-da41-8d7b-12977e46ad98
2011-06-09 04:05:44 +00:00
Sauw Ming
d49b17e362
Fixed #1274 : SDL video resize
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3578 74dad513-b988-da41-8d7b-12977e46ad98
2011-06-06 11:11:35 +00:00
Sauw Ming
31c44e9511
Fixed #1285 : Add support for SDL 1.3
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3577 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-30 08:35:42 +00:00
Nanang Izzuddin
5f32640196
Fix #1235 : fixed lock codec to check all active media (previously only checked one media: first active audio).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3573 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-20 08:47:14 +00:00