Benny Prijono
8f57dcac94
Moved resample to third_party directory
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/split-3rd-party@1170 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-07 14:53:15 +00:00
Benny Prijono
f830c1be92
Moved ilbc to third_party directory
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/split-3rd-party@1169 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-07 12:47:34 +00:00
Benny Prijono
7f1c90f6b3
Split speex, portaudio, and gsm into third_party directory
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/split-3rd-party@1168 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-07 12:29:46 +00:00
Benny Prijono
eb1e116a11
Deleting own copy of of speex and portaudio
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/split-3rd-party@1166 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-06 20:21:28 +00:00
Benny Prijono
90d620064d
Fixed destination address error when sending RTCP in ICE media transport
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1162 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-06 12:13:27 +00:00
Benny Prijono
dbf461580e
ICE (work in progress): handle early check that is received before answer
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1152 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-05 11:32:47 +00:00
Benny Prijono
bd876dc063
Fixed misc bugs with ICE: (1) moved STUN session from candidate to component since it causes STUN response to wrong session, and (2) keep-alive transaction timed-out when ICE is active
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1140 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-03 18:01:27 +00:00
Benny Prijono
2225d01c96
Updated project dependencies to pjnath
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1130 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-02 18:46:06 +00:00
Benny Prijono
da675ceed4
ICE: work in progress
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1126 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-02 11:30:14 +00:00
Benny Prijono
919758f01f
Added ICE-CONTROLLING and ICE-CONTROLLED STUN attribute types
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1114 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-29 21:54:21 +00:00
Benny Prijono
dbce2cf75c
Fixed pjnath build warnings/errors on Linux
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1112 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-28 16:24:00 +00:00
Benny Prijono
a6bd758a9d
Updated projects and Makefiles with the new pjnath library
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1111 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-28 15:49:48 +00:00
Benny Prijono
fed7f4ce70
Fixed ticket #203 : Fix error when telephone-event is set as the first format in SDP (thanks Chris Hamilton)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1109 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-27 11:01:45 +00:00
Benny Prijono
fd70c9b526
ICE: added media index in pjmedia when handling SDP containing ICE candidates
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1108 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-27 11:00:38 +00:00
Benny Prijono
7e0d52c06e
ICE: implement RTCP component and cancelling check in progress
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1106 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-26 13:25:07 +00:00
Benny Prijono
b681a2f671
ICE (work in progress): use single socket for all candidates in component, and implemented IP interface enumeration on Win32
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1104 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-25 18:44:51 +00:00
Benny Prijono
28a3a12108
Omit SDP rtcp attribute when RTCP is not present in sockinfo
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1103 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-24 19:13:42 +00:00
Benny Prijono
ec92134367
ICE (work in progress): implement error codes
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1101 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-24 13:00:30 +00:00
Benny Prijono
c27512bd35
Added/updated VS8 projects for pjnath
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1100 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-23 20:12:45 +00:00
Benny Prijono
f75ecebb3f
ICE (work in progress): implemented server reflexive candidate
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1099 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-23 19:09:54 +00:00
Benny Prijono
c97608ee7f
ICE (work in progress): integration with PJSUA
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1098 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-23 16:34:20 +00:00
Benny Prijono
24cda7dea5
ICE (work in progress): implemented ICE media transport
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1097 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-23 00:42:47 +00:00
Benny Prijono
b01897b505
Changed pj_sockaddr structure and added pjnath project for ICE/STUN stuffs
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1080 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-18 17:39:27 +00:00
Benny Prijono
b514e55d5d
Make it build cleanly on RedHat 7.3, gcc 2.96, linux-2.4.18 (also somebody reported build error on Slack 7.1
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1076 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-17 08:53:15 +00:00
Benny Prijono
a38e78df75
Fixed ticket #183 : Add flag in SDP negotiator to specify codec order preference (thanks Esbjorn Dominique)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1072 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-15 22:05:39 +00:00
Benny Prijono
9de76b7020
Fixed ticket #182 : SDP negotiation failed when local does not specify telephone-event (thanks Esbjorn Dominique)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1070 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-15 21:15:16 +00:00
Benny Prijono
d7036a133c
Fixed ticket #175 : GSM codec factory does not shutdown properly causing it to fail on next pjsua_init (thanks Binu K S)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1064 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-15 10:12:57 +00:00
Benny Prijono
ca60a7e91a
Fixed ticket #172 : SDP media direction negotiation bug (thanks Phil Torre)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1058 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-13 13:10:27 +00:00
Benny Prijono
12e1daa4b9
Fixed ticket #164 : Bug in pjmedia_stream_resume() not resuming the stream (thanks PurnaChandar and Carmine)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1048 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-07 11:26:00 +00:00
Benny Prijono
bf3fa1c2ed
Allow pjmedia_snd_init()/deinit() to be called more than once
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1041 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-05 13:13:22 +00:00
Benny Prijono
c09a7230f4
Fixed ticket #142 : Crash on Linux when USB sound card set as the first sound card (thanks Sergei Petrov)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1012 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-27 13:03:38 +00:00
Benny Prijono
cb041825d8
Fixed ticket #140 : Unable to play next tone after stop is called on tone generator (thanks Antonio F. Cano)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1009 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-27 00:12:26 +00:00
Benny Prijono
60116eb939
Fixed ticket #138 : Potential memory overwrite in pjmedia session.c (thanks David Clark)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1006 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-26 22:48:12 +00:00
Benny Prijono
015cbfdfec
Updated VS8 and EVC4 project with new STUN files and added SHA1, HMAC-MD5, and HMAC-SHA1 encryption
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1001 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-25 15:38:32 +00:00
Benny Prijono
58dbca3d1a
Updated PJMEDIA_SOUND_BUFFER_COUNT doxygen documentation
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@978 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-19 14:40:46 +00:00
Benny Prijono
a771a51a61
Ticket #110 : HUGE HUGE changeset to replace all occurence of year 2006 with 2007 in copyright notice in all sources
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@974 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-19 01:13:53 +00:00
Benny Prijono
a70438d0a9
Related to ticket #74 : reduce default number of sound buffers from 32 to 16 to reduce audio delay
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@970 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-18 21:06:58 +00:00
Benny Prijono
c7e257422e
Fixed ticket #109 : Audio saturation when level is applied to conference
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@963 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-17 19:52:45 +00:00
Benny Prijono
0eef2c7c47
Updated documentation and sample for media conference with regard to maximum value for audio level adjustment
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@961 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-17 19:38:21 +00:00
Benny Prijono
ce1db766fe
Tidy up the configure screen output, and fixed warning about uninitialized variable in PortAudio's ALSA (which causes error with gcc -Werror option)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@946 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-14 02:21:08 +00:00
Benny Prijono
fd928fe9ee
Fixed bug #94 : wrong level adjustment calculation in conference bridge
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@937 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-08 18:01:53 +00:00
Benny Prijono
400e58c295
Fixed ticket #78 : Noise in conference bridge because of upsampling and changes in audio level
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@931 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-04 17:04:33 +00:00
Benny Prijono
30e6651ab8
Fixed ticket #87 : Conference bridge should transmit silence frame when level is zero and there is a transmitter
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@930 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-04 16:00:13 +00:00
Benny Prijono
7e7c0804d5
Fixed ticket #86 : file not properly rewind-ed for the next iteration (thanks Alain Totouom again)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@919 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-31 21:09:04 +00:00
Benny Prijono
685116d621
Fixed ticket #86 : crash in wav_playlist.c (thanks Alain Totouom for the report/fix)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@917 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-31 18:17:50 +00:00
Benny Prijono
fe9bffd89e
Ticket #82 : fix link errors when codecs are disabled from autoconf script
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@909 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-27 17:44:13 +00:00
Benny Prijono
e80cdf0b87
Updated doxygen documentation to version 0.5.10
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@905 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-25 01:38:03 +00:00
Benny Prijono
4af234b591
Implement ticket #62 : option to play tones continuously, and added --play-tone option in pjsua
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@904 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-24 02:02:09 +00:00
Benny Prijono
ac025827c6
Fixed ticket #76 : bug in PortAudio when device is opened in non-native clock rate
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@902 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-23 20:48:59 +00:00
Benny Prijono
8963f239f5
More ticket #64 fix: allow whitespace after SDP media format
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@901 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-23 15:30:31 +00:00
Benny Prijono
b7c7047ad3
Fixed ticket #75 : allow empty SDP format list when media port is zero
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@900 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-23 15:22:29 +00:00
Benny Prijono
258f8bc28d
Fixed ticket #74 : unstable/stutter sound on Windows Mobile (thanks ChenHuang)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@899 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-23 06:12:28 +00:00
Benny Prijono
fbce9d0c06
Support for Visual Studio 2005 workspace
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@898 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-23 05:35:36 +00:00
Benny Prijono
a66c331766
Implement ticket #67 : added WAV playlist feature to PJMEDIA
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@895 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-21 23:12:40 +00:00
Benny Prijono
e960bb54f9
Fixed gcc warnings, especially about dereferencing type-punned pointer
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@893 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-21 17:53:39 +00:00
Benny Prijono
60f42c8a68
Ticket #64 : more lenient SDP parsing (take only what we need and ignore anything else)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@889 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-20 18:35:17 +00:00
Benny Prijono
c6c0ed0a17
Implement ticket #56 : Periodically transmit RTP packet on silence, to maintain NAT binding etc.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@888 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-20 05:18:14 +00:00
Benny Prijono
c357d64b0a
Fixed ticket #70 : Frame timestamp not propagated correctly in PJMEDIA
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@887 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-20 05:14:24 +00:00
Benny Prijono
b5388cfa9c
Just updated and improved the doxygen documentations all over the place
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@875 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-04 22:45:08 +00:00
Benny Prijono
6865a3fc7b
Implement ticket #40 : support for asymmetric encoding/decoding ptime (e.g. with iLBC when local and remote have different mode)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@874 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-30 02:46:57 +00:00
Benny Prijono
acca8a95bf
Fixed ticket #55 : Invalid PortAudio error space (PA expects negative error codes)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@873 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-29 02:34:56 +00:00
Benny Prijono
b8af0e8d98
Implement ticket #53 : Disable silence detector during the first few seconds of RTP transmission to assist NAT traversal
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@868 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-26 21:56:38 +00:00
Benny Prijono
b94a6ab284
Ticket #54 : added ability to modify some codec parameters on the fly
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@867 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-26 21:18:11 +00:00
Benny Prijono
6dd967c9ac
Ticket #51 : Added audio level adjustment to PJSUA-API
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@864 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-26 02:27:14 +00:00
Benny Prijono
0875ae8c4e
Added DTMF callback support all the way to PJSUA API (ticket #48 )
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@863 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-26 00:11:48 +00:00
Benny Prijono
c31bd90591
Ticket #47 : Packet length not set correctly when media transport fails with immediate error
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@857 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-22 15:31:35 +00:00
Benny Prijono
1151188af2
Fixed ticket #43 : echo suppressor definition in echo_suppress.c doesn't match the declaraton in echo_common.c
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@855 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-15 11:57:33 +00:00
Benny Prijono
6f0a3d717a
Added debugging info setting in Visual Studio project in Release mode
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@853 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-11 09:52:20 +00:00
Benny Prijono
bbedfad0f5
Added media flow diagram (image) to pjmedia doc
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@848 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-08 19:53:39 +00:00
Benny Prijono
6c78ad91b3
Fixed ticket #37 : invalid RTP packet should be counted in 'discarded' packet
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@846 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-07 08:21:13 +00:00
Benny Prijono
bc96847e46
Implement task #26 : integrate table based Alaw/Ulaw/linear conversion into pjmedia (thanks Toni Rutar for the original contribution)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@838 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-30 01:35:00 +00:00
Benny Prijono
c53c6d706e
Display actual sound device name in conference bridge port zero
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@833 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-27 09:54:03 +00:00
Benny Prijono
19361c83b8
Minor fix in UDP media: transport should silently ignore detach command when it's not attached
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@830 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-25 08:48:54 +00:00
Benny Prijono
4d0f313fd1
Fixed incorrect channel count number in the log message written when opening PortAudio recorder device (ticket #27 )
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@828 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-25 08:27:14 +00:00
Benny Prijono
df6be7292a
Fixed speex logging to use PJLIB's log, because a GUI application doesn't have stderr
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@827 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-24 16:33:27 +00:00
Benny Prijono
d2990b9b96
Updated Speex to their latest SVN (1.2-beta). AEC seems
...
to work much better now and take less CPU, so I increased
default tail length in PJSUA to 800ms.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@823 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-23 10:19:46 +00:00
Benny Prijono
12a669c7a6
Worked on the AEC. Apply constant delay bufferring for the AEC,
...
and also consider sound device latency when applying EC. It
sounds like working although it still doesn't perfectly cancel
the echo.
EC is now by default enabled in PJSUA.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@822 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-23 07:32:13 +00:00
Benny Prijono
9aab47b1cd
Increase splitcomb buffer count to 32
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@819 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-21 22:55:16 +00:00
Benny Prijono
a80d1cdd9b
Fixed bug caused by recent sound device ID convention change
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@814 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-21 12:31:11 +00:00
Benny Prijono
094d3adb7f
Fixed sound device ID bug: application was unable to use device ID zero because this caused pasound.c to autodetect default device
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@812 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-21 08:41:00 +00:00
Benny Prijono
ab082f38fe
Fixed memory leaks bug in speex codec
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@807 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-19 20:28:34 +00:00
Benny Prijono
a1c4f91d62
Added checking for clock rate mismatch in PJMEDIA master port.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@802 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-15 18:55:44 +00:00
Benny Prijono
d61a8c8bd7
Fixed overflow bug in conference.c causing cracking noise (thanks Norman Franke)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@796 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-10 18:04:32 +00:00
Benny Prijono
3647cbd05c
Changed svn:eol-style to CRLF for Visual Studio projects
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@794 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-08 09:08:02 +00:00
Benny Prijono
ba065f87d3
Removed PA_NO_WMME macro in pjmedia debug build.
...
(Thanks Steve Xu)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@793 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-06 13:20:19 +00:00
Benny Prijono
9a44fe2428
Fixed quality setting in MP3 writer (thanks Toni again)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@786 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-21 09:23:37 +00:00
Benny Prijono
8f31052c5a
Changed the processing of mp3 _options in mp3 writer with regard to bit_rate and quality to comply with LAME, also changed the pjsua_recorder_create() parameter to allow specifying mp3 options in one of the parameter
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@785 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-20 11:08:49 +00:00
Benny Prijono
b3cdb2bdb7
Support for MP3 recording for Win32 target. Also added "--rec-file" and "--auto-rec" option in pjsua to record voice conversion. The "--rec-file" option will record to either .WAV or .MP3 depending on the file extension.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@783 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-19 15:49:47 +00:00
Benny Prijono
1ebd614540
Fixed miscellaneous warnings with gcc compilation
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@782 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-19 15:48:02 +00:00
Benny Prijono
d52174b247
Updated doxygen documentation for media transport (again)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@779 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-18 12:50:46 +00:00
Benny Prijono
43278aba11
Updated doxygen documentation in media transport
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@778 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-18 10:01:25 +00:00
Benny Prijono
f43448fec6
Removed colon from SDP attribute value [thanks Olivier Gournet]
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@775 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-16 16:43:25 +00:00
Benny Prijono
52dfdee5a2
Fixed bug in media UDP transport: when recv() returns error (e.g. ICMP packet is received on Windows), transport will be stopped! [thanks Tomer]
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@773 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-16 12:53:48 +00:00
Benny Prijono
ba25f6790a
Fixed missing #include <pjmedia/errno.h> in nullsound.c
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@772 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-16 11:46:44 +00:00
Benny Prijono
39ae2daf5e
Updated PortAudio to latest version for Mac
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@770 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-13 17:57:42 +00:00
Benny Prijono
c8ee6ec8a1
Fixed bugs in pasound.c again, this time it is suspected that two input/output streams will be called by different threads, while pasound.c only expect it to be called by the same thread [thanks Norman Franke]
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@766 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-12 16:00:02 +00:00
Benny Prijono
64dcbd54e0
Changed pasound.c to open multiple streams when input/output are on different devices
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@762 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-11 14:57:18 +00:00
Benny Prijono
0dcc17fcc8
Fixed missing pj_snd_get_info() in nullsound.c
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@761 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-11 13:40:08 +00:00
Benny Prijono
525b391d84
Changed pasound.c to handle situation when NULL is passed as input/output buffer by PortAudio
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@760 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-10 18:33:55 +00:00
Benny Prijono
6d42358cb2
Changed pasound.c to get the default sound devices from the host API's default sound device rather than relying on device ID zero for the default device [thanks Norman Franke]
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@759 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-09 21:09:51 +00:00
Benny Prijono
43a7d4147a
Fixed compilation error in tone generator when using fixed point.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@747 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-03 17:01:04 +00:00
Benny Prijono
85b4bf8d80
Added pjmedia_snd_stream_get_info() function.
...
** NOTE SOUND DEVICE IMPLEMENTORS: YOU'LL NEED TO IMPLEMENT THIS
FUNCTION TOO ***
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@744 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-27 22:49:55 +00:00
Benny Prijono
f0c8d4b3b6
Updated doxygen documentation on sdp_neg.h
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@743 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-27 22:45:28 +00:00
Benny Prijono
f6fd889119
Fixed misleading log message from the sound port about EC being suspended when actually there's no EC being used.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@740 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-25 17:56:56 +00:00
Benny Prijono
1d9b9a4996
Tests with other user agents revealed some bugs which
...
have been fixed below:
- some UAs sends "telephone-event/8000/1" instead of
"telephone-event/8000", which caused SDP negotiation
to fail. Fixed in sdp_neg.c.
- codec name was (incorrectly) compared case-sensitively,
causing negotiation to fail. Fixed in sdp_neg.c.
- Also improved error reporting in SDP negotiation by
introducing few more error codes.
- Added Warning header in Not Acceptable response sent
by pjsip_inv_session when SDP negotiation fails.
- PJSUA-LIB will try to negotiate both SDPs before
sending 100 response.
- Fixed bug in iLBC codec when setting the mode to 30.
Also:
- Echo cancellation by default is disabled now since
it doesn't seem to work. Further investigation needed.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@738 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-25 13:40:12 +00:00
Benny Prijono
5ee1f2eb96
Updated doxygen documentation for the website
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@736 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-22 20:43:00 +00:00
Benny Prijono
dc752ca112
Fixed few bugs that seem to have been introduced by new dialog
...
locking algorithm:
- Fixed crash in PJSUA-API when initiating client subscription
- Fixed another crash in PJSUA-API when hanging-up call
Also fixed SDP negotiator:
- add a=inactive when rejecting media line
Also increase maximum log size from 1500 to 2000 since some
SIP packet is quite large. A little bit of Warning:
** THIS MAY AFFECT APPLICATION'S STACK USAGE **
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@734 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-22 16:55:42 +00:00
Benny Prijono
9b9db6ba43
Fixed capture device enumeration bug in DirectSound, and changed SDP generation to put the IP address instead of hostname in the SDP origin field since hostname may not be setup correctly.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@732 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-21 09:06:08 +00:00
Benny Prijono
669643c95c
Automatically suspend AEC when nothing is connected to the sound port in the bridge, and resume as soon as frames are transmitted.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@731 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-20 20:02:18 +00:00
Benny Prijono
5f5ae3c1ca
Fixed race condition bug when initializing SDP parser on multi-processor machine
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@730 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-19 21:29:19 +00:00
Benny Prijono
44763e499a
Support for reading non-canonical WAV file in WAV file player port.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@727 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-18 23:33:44 +00:00
Benny Prijono
140749e504
Now really checked in the new PLC software!
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@724 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-17 15:09:58 +00:00
Benny Prijono
e0a6f7e2d1
Removed G.711 Annex I PLC from the source (because of possible licensing/patent infringement issues) and replace it with Steve Underwood's PLC implementation which is distributed under dual GPL/LGPL license.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@723 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-17 14:59:55 +00:00
Benny Prijono
594e4c5f29
Fix the local IP address resolution issue in PJSIP, PJMEDIA, and PJSUA, by adding a new API pj_gethostip() to resolve the default local IP address of local host. This new function will work even when local hostname resolution is not set correctly, by detecting the default IP interface in the system.
...
Also fix compile warnings in iLBC.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@721 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-14 18:51:01 +00:00
Benny Prijono
5c7e10bced
Added EOF callback and get_size() in pjmedia_mem_capture port.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@706 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-12 11:33:22 +00:00
Benny Prijono
5f6ef96f95
Fixed bug in media UDP transport: when transport is created with create(), no IP address is given. This caused get_info() to return 0.0.0.0 as the transport address.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@705 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-11 22:56:26 +00:00
Benny Prijono
88dac53480
Added EOF callback in memory playback port.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@704 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-11 19:55:41 +00:00
Benny Prijono
65b395f2a4
Fixed bug in resample port: put/get buffers are allocated with the wrong size (thanks Danya)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@703 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-11 18:51:54 +00:00
Benny Prijono
c5b6dbf81f
Fixed autoconf in mingw
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@699 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-10 16:33:48 +00:00
Benny Prijono
b466e23e8f
Fixed autoconf on MacOS X
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@698 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-10 08:53:59 +00:00
Benny Prijono
72b6104702
Added volume control to indivual tone enqueued to the tone generator.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@694 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-05 22:52:26 +00:00
Benny Prijono
7f5c12cb57
Added multi-purpose tone generator in PJMEDIA (tonegen.[hc])
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@693 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-02 23:45:18 +00:00
Benny Prijono
97b87175bc
Just updated doxygen documentation
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@690 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-24 14:25:14 +00:00
Benny Prijono
c4c61d0216
Finishing autoconf work, also fixed compilation error in publish.h
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@689 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-20 20:47:34 +00:00
Benny Prijono
10af18eda2
Added pjsdp in pjmedia Makefile
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@670 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-10 14:26:15 +00:00
Benny Prijono
5da50430bb
Change set_ec_tail() API to set_ec() in sound port, also change suppressor to reduce mic signal by division rather than zeroing the signal. Also moved out VAD and EC settings to config.h.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@658 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-07 10:24:52 +00:00
Benny Prijono
edba079f23
Echo suppressor tuning and testing on WincE, and also added config_site_sample.h
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@656 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-06 18:23:56 +00:00
Benny Prijono
3842ec4a3f
Change the silence suppressor to use the adaptive silence detector.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@655 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-06 14:15:47 +00:00
Benny Prijono
22dfe59f7e
Change AEC into generic echo canceller framework with either AEC or simple echo suppressor backend can be selected during runtime.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@653 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-06 12:07:13 +00:00
Benny Prijono
7c3741fe38
Set to use PCMU and disable AEC for WinCE target.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@652 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-05 21:07:15 +00:00
Benny Prijono
70972993e6
AEC and sound backend fixes:
...
- Changed default sound backend in Windows to PortAudio
- Finalizing AEC settings on Windows:
- default tail is 256 msec
- write AEC configuration with "dc"
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@651 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-05 11:13:58 +00:00
Benny Prijono
30bb160377
Fixed error in setting up tail length in sound_port
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@650 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-04 21:01:53 +00:00
Benny Prijono
f20687a082
More work on the AEC (including changes in PJSUA), embed the AEC in sound_port, reduce DirectSound buffer from 32 to 16, and fixed ARM compilation for MSVC WinCE target.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@648 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-04 18:27:19 +00:00
Benny Prijono
69f7312f51
More experimentation with AEC: (1) added media port to create bidirectional port from two unidirectional ports, (2) split AEC functionality into AEC algorithm (aec.h) and AEC media port (aec_port.h), (3) Added the AEC functionality in the sound_port.c.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@646 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-04 11:08:00 +00:00
Benny Prijono
bb9cc5f5d5
Removed the constness of the captured frame from pjmedia_snd_rec_cb specification (experimental, to support AEC since AEC needs to modify the buffer).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@645 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-04 11:06:05 +00:00
Benny Prijono
c6186b6369
Experimental change in PJMEDIA dsound.c DirectSound backend: (1) Don't raise thread priority, and (2) when capturing multiple frames from the microphone, do the same in the playback direction.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@644 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-04 11:00:35 +00:00
Benny Prijono
d79f25c3aa
Fix compilation error in MacOS because of recent changes in config.h, also disable AEC by default in pjsua-lib, and added ec-tail option in pjsua
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@643 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-02 19:41:37 +00:00
Benny Prijono
c8e24a1e53
Added experimental AEC media port (aec_port.[hc]) based on Speex AEC in pjmedia and pjsua-lib.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@642 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-02 18:22:22 +00:00
Benny Prijono
01f0154646
Added simple WinCE application:
...
- added pjsua_wince in pjsip-apps, which is a
simple SIP UA application just to broadly test
pjsip/pjmedia on WinCE.
- Fix name conflicts in xpidf.c (e.g. ATOM variable
conflicts with ATOM type in WinCE SDK).
- Fix speex compilation errors on Wince (e.g.
inline keyword is not recognized, replaced with
PJ_INLINE).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@641 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-01 23:09:35 +00:00
Benny Prijono
c585988fb2
Really add the iLBC files into SVN now (duh!).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@638 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-31 15:25:14 +00:00
Benny Prijono
00cae61f5e
- Added iLBC codec (experimental) with the following features:
...
- configurable default decoder mode (20 or 30),
- encoder mode follows the mode specified in SDP fmtp from
the remote's SDP,
- silence detector uses pjmedia's,
- PLC uses iLBC's PLC,
- perceptual enhancement (penh) is configurable via codec
param, as usual.
- iLBC mode is configurable in pjsua with --ilbc-mode option.
- Added packet lost simulation in pjmedia's UDP transport and
in pjsua (with --rx-drop-pct and --tx-drop-pct options).
- Increase default buffer count in DirectSound to 32 frames
to make it more resilient to CPU disruption.
- Specify and parse fmtp mode in SDP for codecs that need it.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@637 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-31 15:19:36 +00:00
Benny Prijono
e85bc4114b
Another take at fixing 64bit problems. PJ_MAX_OBJ_NAME is increased to 32 chars (from 16), and check all those sprintf's especially the ones with "%p" format.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@635 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-29 20:29:24 +00:00
Benny Prijono
c5dfa170c7
Added pjmedia_port_info_init() to fill in pjmedia_port_info structure, avoiding manual initialization and thus improves consistency (and probably reduces size by a tiny bit). This involves modification in quite few places.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@633 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-29 11:14:47 +00:00
Benny Prijono
1b789eda49
- Added splitter/combiner port (splitcomb.c)
...
- Added function to initialize pjmedia_port_info (still unused though)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@631 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-27 22:03:51 +00:00
Benny Prijono
a68b9b2fbe
Committed changes to MSVC workspace re: recent speex changes
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@630 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-26 17:29:07 +00:00
Benny Prijono
dc498ca33c
- Bring speex codec up to date with their SVN trunk
...
- Speex codec should work in FIXED_POINT mode when PJ_HAS_FLOATING_POINT is set to zero.
- ulaw2linear will return zero if zero is given (this would make the VAD works better, and it also fixed click noise when call is established/hangup).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@628 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-26 17:04:54 +00:00
Benny Prijono
87445bc138
Fixed rather loud clicking/tick noise when call is established. This was caused by the PLC not properly cleared before it is reused for the next call
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@627 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-26 11:23:07 +00:00
Benny Prijono
7db431e40c
Added 64bit Linux target (x86_64), also fixed compilation warnings when compiling for this target
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@624 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-23 14:38:49 +00:00
Benny Prijono
92ac447ad2
Changed all public header files to compile correctly when -ansi and -pedantic is used, also when g++ is used
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@622 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-22 13:42:56 +00:00
Benny Prijono
e219b0ffb1
Added PJMEDIA_RTCP_IGNORE_FIRST_PACKETS macro to let application decides how many first RTP packets to ignore when calculating jitter
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@618 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-22 12:45:37 +00:00
Benny Prijono
a8838bfca2
Set the SDP parser to allow blank newline at the end of the message
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@609 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-17 12:02:03 +00:00
Benny Prijono
ceb12607c8
Attempt to get some applications linked for RTEMS target, just to get the footprint calculation working
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@604 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-14 15:20:00 +00:00
Benny Prijono
9c5d8a4ed4
Split ulaw/alaw algorithm from g711.c to alaw_ulaw.c to break circular dependencies between g711 codec and silence detector
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@584 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-04 23:43:31 +00:00
Benny Prijono
ac623b3bca
Change all pj_memset to pj_bzero(), where applicable
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@582 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-03 15:19:31 +00:00
Benny Prijono
f3b6290108
Fixed bug in SDP rtpmap parsing that caused SDP failed to parse the rtpmap attribute (because input is not null terminated)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@572 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-02 13:36:50 +00:00
Benny Prijono
5d4b53b6e8
Miscellaneous bug fix and improvements in PJMEDIA: (1) more stricker SDP parsing and validation, (2) fixed bug in RTCP attribute generation in SDP, (3) configurable telephone-event payload type
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@571 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-02 12:29:54 +00:00
Benny Prijono
e0b1cdd6dc
Fixed minor bug: RTCP session not fully cleared when it is initialized (should bzero everything), causing incorrect stats when it is reused for next call. Also couple of gcc warnings fixed.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@569 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-29 15:42:57 +00:00
Benny Prijono
b12106f981
Improvements in PJMEDIA to support RFC 3605 (RTCP attribute in SDP) and other changes to improve RTCP communication behind NAT. Also fixed bug related to RTCP reporting changes in revision 565
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@568 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-29 14:45:17 +00:00
Benny Prijono
f2a3e51a35
Minor bug fix and enhancements: (1) fixed bug that caused out-of-order status to be raised when incoming sequence number is random, (2) changed RTCP to only calculate jitter when the RTP timestamp of the packet is different than previous one, and (3) change RTP to randomize initial sequence number
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@567 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-29 09:51:09 +00:00
Benny Prijono
a14fe1f936
Fixed minor compliation warning in transport_udp.c, also corrected misleading comments, and added memory based capture/playback to the Makefile
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@558 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-28 11:48:51 +00:00
Benny Prijono
597d7ad058
Added better API for media transport, and fixed bugs with pending RTP write operation in UDP media transport
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@539 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-22 18:49:45 +00:00
Benny Prijono
1b8b0d559c
Handle error reported by transport
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@538 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-22 18:47:29 +00:00
Benny Prijono
84f45890c4
Fixed RTCP statistic returning fraction lost instead of total lost
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@537 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-22 18:44:11 +00:00
Benny Prijono
6028166c63
Fixed unreferenced argument warning
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@535 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-22 18:39:33 +00:00
Benny Prijono
7eaa0fd360
Added the error code into error messages
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@534 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-22 18:30:13 +00:00
Benny Prijono
e8f275a4a1
Added capability to build pjmedia_sock_info from an UDP media transport
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@533 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-22 00:54:54 +00:00
Benny Prijono
9eda522046
Added memory/buffer based media playback and recording
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@532 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-22 00:34:27 +00:00
Benny Prijono
1ec70b3082
Yet again large diffs because of documentation/doxygen update
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@531 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-20 15:39:07 +00:00
Benny Prijono
4b5977c74c
Removed <malloc.h> from speex/kiss_fft.h as it does not exist in macOS X
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@529 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-19 15:40:03 +00:00
Benny Prijono
b180dcab74
Fixed bugs in negotiating SDP answer from remote for dynamic payload types
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@527 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-19 14:48:06 +00:00
Benny Prijono
b5e1acf426
Fixed pjmedia build errors in the Makefile with the new gsm patchlevel
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@525 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-19 12:23:59 +00:00
Benny Prijono
3e6e7165a6
Fix warning messages in GSM and speex because of previous update to GSM patchlevel 10 and speex 1.1.12
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@524 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-19 12:09:54 +00:00
Benny Prijono
20fd34ab45
Fix warning messages in GSM and speex because of previous update to GSM patchlevel 10 and speex 1.1.12
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@523 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-19 12:09:20 +00:00
Benny Prijono
37235afb40
Updated doxygen documentation to all headers in PJMEDIA
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@518 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-18 02:02:36 +00:00
Benny Prijono
5520dfda07
Bring the GSM codec to patchlevel 12
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@517 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-18 01:59:14 +00:00
Benny Prijono
da6e89a4f4
Added speex jitter buffer and AEC files to the library
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@516 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-18 01:58:38 +00:00
Benny Prijono
c78c3a3544
Optimizations mostly in the conference bridge (gained more than 3x faster)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@513 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-16 15:54:43 +00:00
Benny Prijono
4f9e6718db
Cleanup more compilation warnings with Mingw
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@511 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-15 11:55:55 +00:00
Benny Prijono
d841053682
Cleanup misc compilation warnings with gcc
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@509 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-15 11:04:33 +00:00
Benny Prijono
f37356fe02
Standardise clearing and copying frame with pjmedia_zero_samples() and pjmedia_copy_samples()
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@506 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-14 20:04:04 +00:00
Benny Prijono
0e13f80a1e
Fixed couple of bugs in stream: (1) race condition when transport callback is called when stream is not fully initialized, and (2) timestamp is not incremented when NULL frame is fed in put_frame()
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@505 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-14 20:02:05 +00:00
Benny Prijono
2d5d61f0dc
Added pjmedia_sdp_neg_was_aswer_remote()
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@501 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-13 22:22:54 +00:00
Benny Prijono
a0d6bc4738
Added mutex protection and option not to delete upstream/downstream port in master_port.c
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@498 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-12 10:13:31 +00:00
Benny Prijono
ba063626cf
Changed codec priority to use integer with value between 0-255 instead of enum
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@497 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-11 23:19:43 +00:00
Benny Prijono
f118221f2b
Fixed bug in xoff calculation in PJMEDIA resample
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@495 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-08 14:08:58 +00:00
Benny Prijono
8b1889bdd2
Another huge chunks of modifications in PJSUA API, too many things to mention!
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@492 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-06 18:40:40 +00:00
Benny Prijono
ded7da249d
Uploaded splitter/combiner API draft
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@488 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-05 13:46:38 +00:00
Benny Prijono
a4cc47b660
Speex codec will refuse codec quality/complexity 0 and replace them with default value if they are used
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@485 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-01 11:39:48 +00:00
Benny Prijono
30c658b500
Added options in pjmedia UDP transport to disable source address checking
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@483 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-01 11:37:30 +00:00
Benny Prijono
e69d49e4c5
Sound device id zero mean autoselect device
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@481 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-28 14:55:22 +00:00
Benny Prijono
56de90352a
Added set_pos() to WAV player
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@480 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-28 14:51:21 +00:00
Benny Prijono
67e779b638
Added destroy in transport operation
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@479 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-28 14:45:33 +00:00
Benny Prijono
0c59feaf87
Added README-RTEMS and tweaked the makefiles
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@477 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-27 13:11:32 +00:00
Benny Prijono
4b08be9674
Fixed minor compilation warnings in rtcp.h
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@473 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-25 20:19:04 +00:00
Benny Prijono
1335fb888f
Fixed crash bug in DSound closing procedure
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@470 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-22 10:47:33 +00:00
Benny Prijono
6a61c22b35
Put back high thread priority in dsound.c
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@469 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-22 10:28:44 +00:00
Benny Prijono
a5d0daf2eb
Changed DirectSound not to be too aggressive when capturing frames
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@467 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-21 22:53:56 +00:00
Benny Prijono
a1d84ba421
Increase default number of DirectSound buffers to 16. This has seemed to make it more stable against CPU disruption
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@466 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-21 22:44:12 +00:00
Benny Prijono
406e6215a3
Fixed minor bug in silence detector
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@465 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-21 22:43:17 +00:00
Benny Prijono
a112f6a3b4
DirectSound capture device queries stream position and retrieves any captured frames
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@463 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-21 19:00:15 +00:00