Commit Graph

1172 Commits

Author SHA1 Message Date
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 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 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 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 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 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 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 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 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 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 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 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 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
Benny Prijono 42d52c2712 Added device enumeration capability in DirectSound
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@462 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-20 15:44:55 +00:00
Benny Prijono fec6e7eaaa Fixed warning about unreference arguments in transport_udp.c
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@461 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-20 14:31:24 +00:00
Benny Prijono 8daebe23b5 Fixed crashed with the latest VAD changes
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@459 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-20 09:55:07 +00:00
Benny Prijono 70c689132a Install VAD in g711, gsm, and speex, and add the DTX support in stream.c. Also changed the way the silence detector works, and changed default speex quality/complexity to 10
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@457 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-19 15:58:13 +00:00
Benny Prijono 1f98cb8fe9 Changed the way average jitter is calculated in rtcp
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@455 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-18 18:35:05 +00:00
Benny Prijono b04c9e0072 Major modification in pjmedia to split stream transport into separate functionality, to allow using custom transports with streams
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@452 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-17 17:17:39 +00:00
Benny Prijono 1c30d820bb Rearrange DirectSound closing steps to reduce blocking delay
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@451 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-17 17:15:48 +00:00
Benny Prijono 4148b982e1 Fixed excessive jitter prefetch message when silence detector is applied in remote
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@450 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-16 20:53:59 +00:00
Benny Prijono 65382dba06 Set default sound backend in Win32 to own DirectSound, and changed conference clock to 10ms (from 20ms)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@443 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-14 18:50:09 +00:00
Benny Prijono 42adf5e7fb Fixed more bugs with multiple frame handling
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@442 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-14 18:23:34 +00:00
Benny Prijono 49d3fca20c Fixed bug with multiple frames handling in RTP stream
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@440 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-14 10:54:44 +00:00
Benny Prijono 8befd9fe99 Another major modifications in PJMEDIA:
- handle multiple frames in one packet
- split stream creation into two steps to allow customization
- PLC framework and implementation with G.711 and speex
- stream returns NO_FRAME correctly.
- added ptime argument in pjsua



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@438 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-13 22:46:23 +00:00
Benny Prijono 0766da0502 Fixed bugs: stream should give to jitter buffer the extended/32bit sequence number instead of raw 16bit sequence number from RTP, to handle the sequence wrapping case, and added options in jbuf to behave as fixed buffer, and added extra frame type for jitter buffer returned frame.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@436 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-11 14:32:26 +00:00
Benny Prijono 3897589998 Fixed bug: incorrect remote and local PT for telephone-events (swapped)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@435 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-11 14:22:01 +00:00
Benny Prijono 42c5b9e200 Merge-in RTEMS port patch by Phil Torre <ptorre@zetron.com>, alpha release.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@433 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-10 19:24:40 +00:00
Benny Prijono fa8323aad9 Rename hard coded constants (such as ptime) in G711 to a macro for better aesthetic
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@429 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-02 17:51:04 +00:00
Benny Prijono 9eb336776d Changed jbuf param name in stream_info, and generate random SSRC for RTP/RTCP instead of zero.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@428 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-02 17:49:31 +00:00
Benny Prijono 27071e301e Fixed several bugs in RTCP and tested the compatibility. Fixed bugs: total lost byte order, RTCP RR parsing, normalizing large RTT, RX pkt lost online update.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@427 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-02 17:47:51 +00:00
Benny Prijono b17c93b3c5 Do not disable port if put_frame()/get_frame() returns error
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@426 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-02 17:44:28 +00:00
Benny Prijono 1d8d6087c1 Fixed bug in event subscription when it is challenged/authenticated
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@424 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-29 12:38:25 +00:00
Benny Prijono e3ed95281e Fixed bugs in codec priority sorting
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@421 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-29 08:23:37 +00:00
Benny Prijono 0938128264 Added different error code when remote does not support RFC 2833
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@420 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-28 17:49:41 +00:00
Benny Prijono b9cd54e3d0 Increase the maximum number of formats in SDP media line (from 16 to 32)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@419 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-28 15:37:12 +00:00
Benny Prijono dca7a3365e Set version to 0.5.4.11
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@418 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-28 15:17:01 +00:00
Benny Prijono 5fad3e2d00 Added Packet Lost Concealment (PLC) framework, with two backend algorithms (simple replay and G.711 Appendix I)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@417 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-28 14:48:02 +00:00
Benny Prijono 9c42d4d4f2 Implement simple frame replay based packet lost concealment
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@415 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-28 01:00:26 +00:00
Benny Prijono a837c3022e Initial support for stereo codecs, and added L16 codecs. Also better handling for case remote media is restarted
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@411 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-27 22:36:40 +00:00
Benny Prijono 6d7a45f38c Better support for continuing media when peer has restarted transmission/RTP session
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@408 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-24 23:13:00 +00:00
Benny Prijono 0bb5b607f6 Added implementation of media clock and master port (to control frame timing of clock-less ports such as file reader/player)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@404 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-20 11:10:09 +00:00
Benny Prijono 92ac452f67 Added the time when session was created in pjmedia_rtcp_stat
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@403 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-20 11:07:59 +00:00
Benny Prijono 1de3ac55d6 Changed stream.c so it won't quit after recvfrom returns ECONNRESET
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@402 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-19 14:45:08 +00:00
Benny Prijono 903c99d74f Added loss period for rx stream implementation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@399 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-09 17:12:05 +00:00
Benny Prijono 2c29a8b95e Added code in RTCP to handle PerformanceQueryCounter bug on Win32
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@397 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-09 10:42:51 +00:00
Benny Prijono 14b7b66d86 Randomize RTCP send interval to reduce collision risk
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@394 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-07 15:01:51 +00:00
Benny Prijono 6996823860 Integrate (stream) quality monitoring into RTCP framework, and update all RTCP clients accordingly
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@390 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-06 19:29:03 +00:00
Benny Prijono c3238071ab Protect RTCP packet lost calculation against incorrect packet expectations
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@389 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-05 22:05:04 +00:00
Benny Prijono d7a13f1e35 Added detection/protection against inaccurate timestamp in RTCP
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@388 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-05 19:08:16 +00:00
Benny Prijono 6e7376d8f4 Fixed RTT calculation bug in RTCP
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@385 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-05 17:13:42 +00:00
Benny Prijono 49ce9a73b8 Fixed bug in RTT calculation in RTCP and increase RTT resolution to usec
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@384 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-05 16:56:19 +00:00
Benny Prijono a1d03b4d15 Added RTCP end to end delay calculation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@383 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-05 12:53:42 +00:00
Benny Prijono 9a0eab59c8 Changed RTCP timing to use high resolution timestamp
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@381 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-04 19:43:24 +00:00
Benny Prijono 421130b31b Changed the packet lost calculation (previously it always reported at least 1 packet lost)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@378 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-04 13:12:19 +00:00
Benny Prijono 231ad877df Moved private create session info from SDP to public API
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@374 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-03 22:32:49 +00:00
Benny Prijono 934a65cead Added some flags during playback buffer creation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@372 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-03 10:01:27 +00:00
Benny Prijono e452ddada1 Added DirectSound sound implementation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@371 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-03 09:43:36 +00:00
Benny Prijono 94e0103dc2 Fixed crashed bug when pjsua failed to initialize. Also fixed PortAudio error msg in pjmedia_strerror()
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@370 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-31 00:59:16 +00:00
Benny Prijono 55c060f1fb Fixed reading memory past buffer error in SDP
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@366 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-30 16:44:28 +00:00
Benny Prijono f808329783 Added WAVE writer and resample port, and also found out why audio quality is poor with DirectSound
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@358 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-24 20:41:20 +00:00
Benny Prijono a6642d37ef Renamed
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@357 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-23 22:43:43 +00:00
Benny Prijono 4fca27bee4 Fixed misc warnings/errors in Solaris build
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@355 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-23 18:04:15 +00:00
Benny Prijono 8482783fff Changed sound device framework to allow opening bidirectional streams from one device
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@352 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-23 13:15:59 +00:00
Benny Prijono 275fd68d29 Redesign RTP/RTCP stuffs so that stream does not create thread implicitly. Changed pjmedia_endpt_create() API.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@350 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-22 11:59:11 +00:00
Benny Prijono 86ee4b4583 Added macro to exclude filters in resample and added options to select resample algorithm in conference
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@347 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-21 11:59:15 +00:00
Benny Prijono 6908edd0e2 Fixed build error on mingw
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@345 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-20 20:57:51 +00:00
Benny Prijono f4b6091fff Ported PJMEDIA to Darwin/MacOSX
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@341 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-20 16:58:43 +00:00
Benny Prijono 0c0e9f087d Added missing pa_mac_hostapis.c for PortAudio in MacOS
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@340 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-20 13:19:51 +00:00
Benny Prijono 37bf5b0834 Added MacOS related files to PortAudio
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@339 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-20 12:55:09 +00:00
Benny Prijono 5d95f5e477 Added assert when get_frame() or put_frame() is NULL
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@335 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-19 00:49:13 +00:00
Benny Prijono 3ea74334a6 Tested and fixed stereo audio support
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@334 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-19 00:48:43 +00:00
Benny Prijono e3e3e526d2 Fixed no audio bug in new conference, and add level adjustment in port info
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@333 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-19 00:47:02 +00:00
Benny Prijono 3ba816ebd0 Added option to disable error message altogether, to save space footprint
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@330 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-18 12:26:55 +00:00
Benny Prijono a5829a8d4a Fixed bug in stream.c where bits_per_sample is not set properly
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@327 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-17 18:00:19 +00:00
Benny Prijono b100d69072 Added feature in conference bridge to get and set the signal level of individual port and individual stream direction
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@323 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-17 00:16:01 +00:00
Benny Prijono d0659a3264 Support for stereo audio (or N audio channels, for that matter)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@322 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-16 19:03:07 +00:00
Benny Prijono 101a78b027 Added sound port (sound_port.h/c), and changed sound and RTCP names from pj_* to pjmedia_*
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@321 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-16 18:52:55 +00:00
Benny Prijono 4381efe1db Added misc flags and modify Makefiles to allow exclusion of PortAudio and specific codec during compilation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@320 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-16 14:24:26 +00:00
Benny Prijono de8a259f42 Tidying up sound device, register PortAudio error codes, and initial support for stereo sound device (untested)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@319 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-15 20:56:04 +00:00
Benny Prijono de38058342 Added Null port, and changed conference so that it does not call port get_frame() when there is no listener on the port
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@318 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-15 19:32:41 +00:00
Benny Prijono ed811d7b04 Fixed compilation and run warnings/errors with MSVC 2005
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@315 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-10 12:57:12 +00:00
Benny Prijono 8e3344c41d Added options to disable microphone device, usefull for streaming server (some systems only have sound player)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@312 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-08 12:37:22 +00:00
Benny Prijono 51f5bd5bc9 RTP server NAT support and removed rtp_port
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@311 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-08 10:05:19 +00:00
Benny Prijono f6aba4ed38 Set minimum quality for Speex ultrawideband codec to 5 (because sound is broken in Linux)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@303 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-06 16:24:50 +00:00
Benny Prijono 571f4b7dd4 Fixed bug in remote payload type search
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@302 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-06 16:24:19 +00:00
Benny Prijono 6d01906c2d Fixed warnings on Linux build
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@299 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-06 15:14:21 +00:00
Benny Prijono ea85051b07 Added missing speex_config_types.h
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@297 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-06 14:07:01 +00:00
Benny Prijono 9cf18b9963 Fixed warnings in pjmedia_sdp_attr_cmp
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@295 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-06 13:58:54 +00:00
Benny Prijono 7bd1513fbc Changed Speex defaults: complexity=-1, vad=off. Tested with EyeBeam
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@291 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-06 13:32:57 +00:00
Benny Prijono 8f0e8dc03b Fixed bug if payload type for rx and tx is different (i.e. dyn pt)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@290 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-06 13:30:39 +00:00
Benny Prijono bdbf749c58 Allow file port to read the file in chunks instead of a whole
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@288 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-05 13:37:19 +00:00
Benny Prijono 33c8e09df8 Fixed bug where resample may write pass the output buffer
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@287 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-05 13:33:57 +00:00
Benny Prijono 856ebc3f84 Added assert checking in speex codec
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@282 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-05 11:51:10 +00:00
Benny Prijono f93895cc89 Fixed serious flaw in GSM where encoder and decoder shared the same state!
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@281 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-05 11:50:53 +00:00
Benny Prijono f43a4bd02c Fixed SDP negotiation to include clock rate
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@280 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-05 11:50:11 +00:00
Benny Prijono d081350ef2 Fixed Speex warnings, and set version to 0.5.3.1
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@279 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-05 07:54:08 +00:00
Benny Prijono eb30bf5133 Added Speex for narrowband, wideband, and ultra-wideband!!
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@278 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-04 20:43:52 +00:00
Benny Prijono 08e0d06358 Major modification in conference bridge to allow ports with different ptime and sampling rate. Also introduced sampling rate converter
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@277 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-04 14:52:44 +00:00
Benny Prijono b550c9c7b8 Support for missing rtpmap for static payload types
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@276 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-03 10:43:08 +00:00
Benny Prijono d2e84d50be Fixed compilation warnings and errors in pjsip-perf
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@271 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-02 21:26:09 +00:00
Benny Prijono 09e265014a Fixed deadlock in conference when starting sound device in Linux
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@246 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-27 23:53:34 +00:00
Benny Prijono fa994facfb Added log message when stream and stream thread is started
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@245 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-27 23:53:15 +00:00
Benny Prijono ab7399b050 Updated mingw compilation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@241 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-27 00:40:31 +00:00
Benny Prijono 96972bfa8b Fixed various crashes since mutex is introduced
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@234 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-26 21:21:26 +00:00
Benny Prijono a95a7b1e99 Fixed echo in conference, and add ability to shrink buffer in jitter buffer
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@229 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-25 21:15:49 +00:00
Benny Prijono 8c715611b6 Synched with documentation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@228 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-25 02:04:42 +00:00
Benny Prijono 80f6e7e0e3 Fixed bugs when codec order in remote and local sdp is different
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@225 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-23 18:02:27 +00:00
Benny Prijono d43975b615 Re-enable silence detection
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@224 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-23 14:36:21 +00:00
Benny Prijono 64f851ea57 Added support for NULL frame in rtp stream, fixed bugs here and there in INVITE (e.g. dont send SDP on 180), and set version to 0.5.1.2
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@223 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-23 13:49:28 +00:00
Benny Prijono 3987915f25 Added support for playing WAV file
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@222 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-23 02:09:10 +00:00
Benny Prijono ed1056c859 Put back stricker SDP negotiation rule
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@221 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-22 22:31:21 +00:00
Benny Prijono 06c709466e RFC 2833 support!
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@215 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-22 12:06:39 +00:00
Benny Prijono 349a0f25f3 Putting initial DTMF efforts
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@214 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-22 09:21:09 +00:00
Benny Prijono f256ae7b37 Better error reporting in pjmedia stream
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@213 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-22 00:25:51 +00:00
Benny Prijono 9ffa6a8da3 Fixed crashed bug when sound is closed, and added msg when port is (dis)connected
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@211 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-21 23:45:06 +00:00
Benny Prijono dc0e8aece9 Added msg when stream is started/paused/resumed
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@210 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-21 23:43:58 +00:00
Benny Prijono bd0ae83b49 Decrease log level from 4 to 5
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@209 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-21 23:42:54 +00:00
Benny Prijono 1b1f688d1c Decrease log level from 4 to 5
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@208 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-21 23:42:28 +00:00
Benny Prijono dd7b32d5b7 Added has_local_answer(), and more relaxed negotiation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@207 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-21 23:41:33 +00:00
Benny Prijono f04ffdddbb Initial conference implementation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@205 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-21 00:11:18 +00:00
Benny Prijono 1496288b02 Added conference bridge prototype
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@203 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-20 01:28:25 +00:00
Benny Prijono dc32658390 Putting vad template
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@202 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-19 18:38:37 +00:00
Benny Prijono 7f664bf745 Fixed packing error in rtp header, and sdp validation supports non numeric pt for broken uas
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@199 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-19 15:35:54 +00:00
Benny Prijono f80b1bf19e Fixing Makefiles for the new pjmedia-codec and pjsip-simple libraries
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@198 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-19 02:24:27 +00:00
Benny Prijono 274975a463 Created and updated PJMEDIA documentation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@188 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-15 12:24:23 +00:00
Benny Prijono 6e31775c52 Ported pjmedia to WinCE
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@183 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-14 21:08:51 +00:00
Benny Prijono a4bf021992 Added pjmedia-codec library
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@176 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-10 15:57:08 +00:00
Benny Prijono 7758fce515 Fixed Linux OSS sound
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@173 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-09 15:47:12 +00:00
Benny Prijono 632ce714c0 Updated with new jitter buffer, and statistics in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@169 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-09 14:01:40 +00:00
Benny Prijono a66c7156a1 Done media integration in pjsua. Needs to do actual voice testing
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@163 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-09 01:26:14 +00:00
Benny Prijono 9519658bae Integration of pjmedia and pjsip error subsystem to pjlib
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@162 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-09 00:13:40 +00:00
Benny Prijono 1519e57fd7 Finished new pjmedia rewrite
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@159 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-08 22:43:39 +00:00
Benny Prijono b8528f4440 Fixed Makefile for cygwin/mingw
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@144 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-07 19:31:53 +00:00
Benny Prijono bae7499427 Added STATE_REMOTE_OFFER state in negotiator
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@140 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-07 12:34:58 +00:00
Benny Prijono 4ea0bf1ed6 Added SDP negotiator and changed SDP structs (tested)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@129 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-02 19:16:07 +00:00
Benny Prijono b50137be77 Compiled cleanly first time for the new pjlib
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@121 74dad513-b988-da41-8d7b-12977e46ad98
2006-01-18 23:12:57 +00:00
Benny Prijono 9033e31911 Set svn:eol-style for all files
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@66 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-21 02:08:39 +00:00
Benny Prijono 5dcb38d909 Set svn:eol-style property
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@65 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-21 01:55:47 +00:00
Benny Prijono e0312a7f30 Pretty comments
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@51 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-18 00:16:43 +00:00
Benny Prijono e722461aef Applying license to pjproject
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@49 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-13 19:40:44 +00:00
Benny Prijono 4766ffe101 Just changing keyword expansion
git-svn-id: https://svn.pjsip.org/repos/pjproject/main@3 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-01 17:56:59 +00:00
Benny Prijono dd859a62f4 Added suppor /and fix things for SunOS port
git-svn-id: https://svn.pjsip.org/repos/pjproject/main@2 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-01 16:42:51 +00:00
Benny Prijono 0a749f11c7 initial import
git-svn-id: https://svn.pjsip.org/repos/pjproject/main@1 74dad513-b988-da41-8d7b-12977e46ad98
2005-10-31 21:02:30 +00:00