- Added remote frame-rate detection in to video stream.
- Fixed bitrate settings in ffmpeg codec.
- Fixed SDL dev to update internal SDL info when format changed.
- Minor fixes/updates, e.g:
- added cleanup steps, fixed logs, etc, in sample app simpleua.c and vid_streamutil.c
- fixed/added docs of the new APIs in the jitter buffer.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3435 74dad513-b988-da41-8d7b-12977e46ad98
- Fixed ffmpeg codec: decoding buffer size check (should not use assertion), reset output bit_info before decoding, removed unused code of auto resize when decoder output size changed.
- Fixed bug in sdl_factory_default_param() of sdl_dev.c in device direction check.
- Fixed compile errors sample app vid_streamutil.c of bad local variable definiton.
- Updated sample app vid_streamutil.c default renderer size to 640 x 480.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3432 74dad513-b988-da41-8d7b-12977e46ad98
* support for format modification after creating video port (currently for renderer with active role only).
* support for format modification after opening SDL renderer.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3431 74dad513-b988-da41-8d7b-12977e46ad98
- Renamed vstreamutil.c to vid_steamutil.c just for filename format consistency reason.
- Updated sample app simpleua.c and vid_streamutil.c to sync with updated API, e.g: strip session usage, two media ports exported video streams for each dir.
- Added vid_streamutil.c capability to be able to stream video file (involving transcoding when video codec used in the file different to the video stream codec), also updated AVI player and ffmpeg codecs to be able to read and decode XVID/MPEG4 codec.
- Fixed bug wrong media type check in stream.c and vid_stream.c in creating stream info from SDP.
- Minor update: docs, logs, app samples makefiles.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3425 74dad513-b988-da41-8d7b-12977e46ad98
- Added video stream interface in vid_stream.h, the video stream will be able to handle different video formats in encoding and decoding direction.
- Renamed video device stream class identifiers from 'pjmedia_vid_stream*' to 'pjmedia_vid_dev_stream*' as 'pjmedia_vid_stream' is used by video stream interface.
- Added ffmpeg video capability to be able to parse SDP format param for H263 and also decide video format for encoding direction based on remote preference and local format-capability setting.
- Added some new APIs in jitter buffer for handling video stream: pjmedia_jbuf_put_frame3(), pjmedia_jbuf_get_frame3(), pjmedia_jbuf_peek_frame(), and pjmedia_jbuf_remove_frame().
- Moved pjmedia_stream_info_from_sdp() from session to stream
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3420 74dad513-b988-da41-8d7b-12977e46ad98
- Added API pjmedia_sdp_conn_cmp() to compare SDP connection.
- Added internal API pjmedia_stream_info_parse_fmtp() to parse SDP format parameter of specified payload as a helper function for generating stream info from SDP.
- Modified pjmedia_endpt_create_sdp() to be able to generate SDP media line for video.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3419 74dad513-b988-da41-8d7b-12977e46ad98
- Modified G722 frame time to 10ms (was 20ms) and frame per packet to 2 (was 1).
- Updated the detection mechanism of remote G722 frame-length in the stream to be flexible to any G722 frame length setting (was assumed to be always 20ms).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3416 74dad513-b988-da41-8d7b-12977e46ad98
Re #1175: cleaning up interruption and audio route handling in coreaudio for iOS. In the case of interruption, there is no need to reinstantiate the audio unit (a simple restart will do), while for audio route change, nothing needs to be done.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3413 74dad513-b988-da41-8d7b-12977e46ad98
* Move the AVI playback from pjmedia-test to new aviplay.c sample application
* Take the input file from cmdline
* Synchronize audio and video
* Remove all codecs related hardcodes from the file
Re #1193: (no. 6: duplicate fps and frame_rate in pjmedia_format and pjmedia_vid_param)
* Remove the frame_rate in pjmedia_vid_param
* Use pjmedia_format's fps in videoport, sdl_dev, and colorbar_dev
* Prevent overflow in ptime calculation from frame_rate
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3401 74dad513-b988-da41-8d7b-12977e46ad98
* Add PJMEDA_VID_DEV_CAP_OUTPUT_WINDOW capability to ios_dev to allow application to provide their own window for the renderer to display the video.
* Perform image setting function in the main thread.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3399 74dad513-b988-da41-8d7b-12977e46ad98
- Fixed jitter buffer progressive discard by returning 'missing' frame after discarded frame(s) so the PLC will be invoked to align the audio signal.
- Modified conditions in jitter buffer test data for this fix.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3396 74dad513-b988-da41-8d7b-12977e46ad98
* QT capture device for Mac
* iOS device for iOS (capture device only works for iOS 4.0 or above)
* Add NSAutoReleasePool for sdl_dev (Mac)
* Add NSAutoReleasePool for vid_dev_test (Mac)
* build system for compilation of Obj-C files (.m)
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3395 74dad513-b988-da41-8d7b-12977e46ad98