Nanang Izzuddin
95358c5770
Re #1182 : Applied PJMEDIA_STREAM_RESV_PAYLOAD_LEN (see r3534) in stream.c.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3536 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-13 20:23:54 +00:00
Sauw Ming
093c569b97
Re #1213 : Add on-the-fly format change capability for SDL OpenGL.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3535 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-13 20:06:12 +00:00
Nanang Izzuddin
7d424dfbe2
Re #1182 : Added macro setting PJMEDIA_STREAM_RESV_PAYLOAD_LEN to let stream reserve some space for application extra data in the RTP payload, e.g: SRTP auth tag.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3534 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-13 19:41:41 +00:00
Benny Prijono
c8ef0ac966
Re #1219 : added configure option to specify ffmpeg path
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3533 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-13 19:13:56 +00:00
Nanang Izzuddin
eda0609932
Re #1219 : fix major bug in h263 packetizer in seeking logic of sync point (double zero).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3532 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-13 18:57:57 +00:00
Benny Prijono
029806a4d1
Re #1201 : re-enable printing of ICE and SRTP specific info in call statistic output
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3531 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-13 18:07:12 +00:00
Benny Prijono
63572990f7
Re #1219 : attempt to fix crash in H.264 decoding
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3530 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-13 18:06:21 +00:00
Benny Prijono
1594fbd920
Re #1219 : attempt to fix crash in H.263
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3529 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-13 18:05:09 +00:00
Nanang Izzuddin
70aa56b0cd
Re #1219 : increased MPI array size in pjmedia_vid_codec_h263_fmtp.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3528 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-13 16:20:06 +00:00
Benny Prijono
da1d3f7f77
Re #1213 : fixed compilation error in sdl_dev.c if OpenGL is not available
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3527 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-13 14:21:10 +00:00
Nanang Izzuddin
5f8d589a6a
Re #1219 :
...
- Implemented validation of H.264 level in codec param.
- Update H.264 packetization setting to always send single NAL unit, for better compatibility.
- Update H.264 SDP custom negotiation to be permissive.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3526 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-12 18:24:19 +00:00
Sauw Ming
02548293f5
Re #1213 : Fixed SDL OpenGL to run on Windows.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3525 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-11 21:38:53 +00:00
Benny Prijono
4d71b1fbbd
Fixed #1230 : Removed assertion in PJLIB for Posix when fails to release mutex (thanks Marcus Froeschl for the report)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3524 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-11 21:01:11 +00:00
Benny Prijono
32152ad2d7
Re #1219 : removed assertion if outgoing frame is larger than MTU
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3523 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-11 20:05:55 +00:00
Nanang Izzuddin
d00d3f2325
Re #1219 :
...
- Applied max RTP payload size ffmpeg setting (for customized ffmpeg patch only).
- Updated some ffmpeg setting (qmin, qmax) for bitrate control.
- Updated ffmpeg codec default size for decoding direction.
- Removed own timestamp management in ffmpeg encoder.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3522 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-11 20:04:27 +00:00
Nanang Izzuddin
91ba2a2f1a
Re #1201 : Added SDP c= line in session level copied from the c=line of the first media, for compatibility purpose.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3521 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-11 19:59:09 +00:00
Benny Prijono
bd6613f326
Re #1185 : fixed ICE media transport to work with video in pjsua-lib
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3520 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-11 17:27:14 +00:00
Benny Prijono
83b424a3a9
Re #1214 (app): enlarge call dump buffer if RTCP XR is enabled, and added option to disable stderr (only works on Posix system)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3519 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-11 15:16:48 +00:00
Benny Prijono
09c0d67773
Re #1201 : fixed sending 488 when receiving double hold
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3518 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-11 05:03:24 +00:00
Benny Prijono
f8957786e2
Support for Intel IPP 7. This closes #1227
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3517 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-11 02:43:04 +00:00
Sauw Ming
ae2f21303d
Re #1213 : Fixed error space number allocation for video devices.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3516 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-10 23:54:07 +00:00
Benny Prijono
9d5efa7681
Re #1208 : fixed error if RTCP XR is enabled
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3515 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-10 23:52:05 +00:00
Benny Prijono
e1998acd38
Re #1182 : fixed misc error with RTCP XR
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3514 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-10 23:51:30 +00:00
Benny Prijono
a05cd67d4c
Re #1182 :
...
- Removed RTCP-XR from video stream.
- Fixed few compile warnings on GCC for incompatible pointers.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3513 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-10 23:26:41 +00:00
Nanang Izzuddin
a641429ed1
Re #1201 :
...
- fix bug responding 488 after receiving re-INVITE for doublehold
- updated pjsua_media.c to skip instantiating video devs when call hold by local.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3512 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-08 04:26:18 +00:00
Sauw Ming
e098c595d0
Re #1213 :
...
(Minor): Add check to dshow so that it doesn't need to change the output param when not trying to use default size and/or fps.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3511 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-08 04:14:00 +00:00
Sauw Ming
ce250db637
Re #1214 : Add Mac OS X compatibility for pjsua
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3510 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-08 04:05:25 +00:00
Sauw Ming
f7b429c34b
Re #1213 :
...
* Add pjmedia_frame_copy()
* Add converter for renderer videoport
* Add checking in SDL device since it may receive a frame size bigger than expected
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3509 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-08 04:04:25 +00:00
Nanang Izzuddin
e03faada5c
Re #1201 : Fixed crash when remote initiate call hold with SDP media connection address "0.0.0.0".
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3508 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-07 14:51:28 +00:00
Sauw Ming
0531a722f2
Re #1213 : In case of failure, Dshow capture dev now tries re-opening the device with default setting (size and/or fps).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3507 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-07 08:27:27 +00:00
Benny Prijono
316f02aac0
Re #1185 : requesting call hold did not set video direction to sendonly
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3506 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-07 07:53:25 +00:00
Benny Prijono
63a894d2e2
Re #1213 : added printing error message when fails to open DirectShow device
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3505 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-07 07:22:35 +00:00
Benny Prijono
9439562d14
Misc re #1208 : fixed SIP user agent layer to not automatically reject incoming REGISTER containing To-tag with 481 (functionality required by a registrar sample)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3504 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-07 05:16:09 +00:00
Benny Prijono
067a382a50
Re #1186 : rejecting media did not put c= line, causing PJMEDIA_SDP_EMISSINGCONN error
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3503 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-07 05:14:26 +00:00
Benny Prijono
284b80f521
Re #1219 : compile error with undeclared FF_PROFILE_H264_BASELINE and FF_PROFILE_H264_MAIN
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3502 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-07 05:12:35 +00:00
Nanang Izzuddin
81f0e6a3de
Re #1219 : Added H.264 SDP fmtp "sprop-parameter-sets" to ffmpeg.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3501 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-06 14:56:03 +00:00
Nanang Izzuddin
56b2ce43d8
Re #1186 :
...
- Added custom negotiation callback mechanism in SDP negotiator, mainly for specific formats that require SDP fmtp negotiation.
- Modified video codec ID string to use encoding name+payload type (was encoding name+clock rate), also added encoding description in video codec info, so duplicated codecs (e.g: multiple H264 configurations) can be differentiated.
- Few enhancements for H264 in ffmpeg wrapper (e.g: added proper profile-id & packetization-mode setup).
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3500 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-06 13:55:01 +00:00
Sauw Ming
21bd3fdd59
Re #1213 :
...
Add OpenGL support for SDL renderer
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3499 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-06 11:30:18 +00:00
Benny Prijono
446082c07a
Re #1186 : fixed crash when parsing fmtp with more than 8 parameters by enlarging the default limit, fix the crash, and make the limit configurable
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3498 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-06 07:01:55 +00:00
Benny Prijono
f55fb6b1e1
Re #1208 : fixed typo in comment and combine the typedef for better doxygen documentation
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3497 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-06 07:00:02 +00:00
Benny Prijono
ea508b4ca1
Re #1219 : protect new ffmpeg features with #ifdefs
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3496 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-06 06:58:38 +00:00
Nanang Izzuddin
81c78afc15
Re #1219 : fixed compile error of typo (accidentally undone modification before svn checkin).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3495 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-01 07:21:44 +00:00
Nanang Izzuddin
2636c1424c
Re #1219 :
...
- Fixed assertion in H263 & H264 packetizer caused by invalid unpack_last_sync_pos after packet loss.
- Updated ffmpeg_codecs.c to lower H264 video encoding latency.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3494 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-01 07:12:59 +00:00
Nanang Izzuddin
d91af57b38
Re #1219 :
...
- Initial version of H264 implementation (codec & packetization).
- Added vid_codec_util.h/c for video codec utilities (e.g: fmtp parser).
- Updated video RTP packetizations to be configurable and have internal state (to be more resilient to packet lost, etc).
- Fixed wrong SPF calculation in PJMEDIA_SPF2.
- Updated vid_codec_test.c to also have RTP packetization test.
- Updated sdp_neg.c to verify H.264 capability match.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3493 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-31 17:29:54 +00:00
Sauw Ming
e2c3501164
Re #1221 : Fixed wrong reference to the socket variable.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3492 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-31 07:38:57 +00:00
Benny Prijono
371846594a
Fixed #1225 : iPhone: UDP socket send error after waking up from background mode (thanks Joe Meade for the report)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3491 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-31 05:54:16 +00:00
Nanang Izzuddin
7f8d76f032
Re #1224 : Fixed silly bug in pjsua_acc_modify(): incremented wrong loop counter in updating credential info.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3490 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-29 03:47:16 +00:00
Benny Prijono
e9f70d8dcf
Re #1213 (Video devices):
...
- Video device now opens in "best effort" mode, i.e. it may open with different size and fps than requested. The actual size and fps will be reflected in the "param" upon return. The vidport must check this against any differences, and create converter accordingly.
- Removed const for param argument in vid_create_stream() API
- Currently converter in vidport will not work if vidport is opened in bidir. Converter for renderer is untested
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3489 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-25 08:38:26 +00:00
Benny Prijono
f6bebc36f8
Re #1214 : more elaborate tests on vid_dev_test
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3488 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-25 08:23:12 +00:00
Benny Prijono
00ae45add3
libswscale rearrangement (re #1219/ffmpeg codecs): instantiate libswscale converter from the converter manager instead of having to instantiate it manually in all apps
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3487 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-25 08:13:43 +00:00