summaryrefslogtreecommitdiff
path: root/pjsip-apps/src/samples
diff options
context:
space:
mode:
authorNanang Izzuddin <nanang@teluu.com>2008-06-09 12:32:01 +0000
committerNanang Izzuddin <nanang@teluu.com>2008-06-09 12:32:01 +0000
commit33de710bf9b4ebdce934245922f91d50a271c71d (patch)
treea5bab1d85f1a8d0b22b1c38c4fe6f7a79fb7a513 /pjsip-apps/src/samples
parentbbb7c0f580049864574c0da8402d4b92767c356f (diff)
Removed codec G729 from encdec.c
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2000 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps/src/samples')
-rw-r--r--pjsip-apps/src/samples/encdec.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/pjsip-apps/src/samples/encdec.c b/pjsip-apps/src/samples/encdec.c
index ca43debb..106798bf 100644
--- a/pjsip-apps/src/samples/encdec.c
+++ b/pjsip-apps/src/samples/encdec.c
@@ -52,14 +52,6 @@ static const char *desc =
"\n"
;
-#ifndef HAS_G729_CODEC
-# define HAS_G729_CODEC 0
-#endif
-
-#if HAS_G729_CODEC
-#include <keystream_g729ab.h>
-#endif
-
//#undef PJ_TRACE
//#define PJ_TRACE 1
@@ -181,12 +173,6 @@ static pj_status_t enc_dec_test(const char *codec_id,
continue;
}
- /* Simulate jitter buffer bug */
- if (pci->pt==PJMEDIA_RTP_PT_G729 && frm_bit.size == 2) {
- TRACE_((THIS_FILE, "%d.%03d G729 SID frame masqueraded", T));
- frm_bit.size = 10;
- }
-
/* Parse the bitstream (not really necessary for this case
* since we always decode 1 frame, but it's still good
* for testing)
@@ -263,9 +249,6 @@ int main(int argc, char *argv[])
#if PJMEDIA_HAS_SPEEX_CODEC
CHECK( pjmedia_codec_speex_init(mept, 0, 5, 5) );
#endif
-#if HAS_G729_CODEC
- CHECK( keystream_g729ab_init(mept) );
-#endif
#if PJMEDIA_HAS_G722_CODEC
CHECK( pjmedia_codec_g722_init(mept) );
#endif