- Added 'ignore_fmtp' field in pjmedia_vid_codec_param to allow application to omit SDP fmtp in codec param without risking video size and frame rate param being overridden with default values.
- Updated sample app vid_streamutil.c to use that field, which currently not supplying SDP fmtp to video codec.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3795 74dad513-b988-da41-8d7b-12977e46ad98
- changed encode(), packetize(), unpacketize(), and decode() to encode_begin(), encode_more(), and decode()
- codec has new "packing" setting
- updated stream, aviplay, codec-test, and stream-util due to above
- minor doxygen documentation fixes here and there
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3776 74dad513-b988-da41-8d7b-12977e46ad98
- Vidgui UI updates on Qt must be done in the UI thread, implemented this with Qt signal-slot mechanism.
- VidWin::show() better be called internally by VidWin class instead of MainWin.
- Fix QString to const char* issue, keeping the pointer returned by "QString::to*()::data()" won't work, the pointer actually points to a temporary data (lifetime issue).
- Minor: cleaning up unused lines in vidgui.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3726 74dad513-b988-da41-8d7b-12977e46ad98
- updated the year in all copyright texts with 2011
- put copyright text into newly added files
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3715 74dad513-b988-da41-8d7b-12977e46ad98
- Removed timer usage in resizing window, window resizing can be done real-time now (see r3698).
- Fixed linking problem on Windows platform: undefined 'main' function.
- Fixed build problem on Mac, compiling .cpp file containing objective C/C++ codes with g++ needs '-ObjC++' flag.
- Minor changes in vidgui, e.g: function/variable rename, cleaning up unused/junk lines.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3699 74dad513-b988-da41-8d7b-12977e46ad98
- Added PJSUA_CALL_VID_STRM_NO_OP to occupy value 0 for the enum
- Added pjsua_call_vid_strm_op_param_default() to initialize pjsua_call_vid_strm_op_param
- Renamed pjsua_call_get_transport_info() to pjsua_call_get_med_transport_info()
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3694 74dad513-b988-da41-8d7b-12977e46ad98
- 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
- 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
- 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
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
- 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
- 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
- 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