×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jun 2008
    Posts
    17

    G729, G723 encode, decode

    Any idea how to do or where to get
    Code:
    G723 or G729 decode / encode
    method? for RTP, following method sending / recv packets Alredy worked out GSM codec.

    Code:
    form.append("Connected: " + MediaIP + ":" + MediaPort);
                    udpReceive = new UDPReceive(form);
                    udpReceive.setDatagramConn(rtpCon);
                    udpReceive.start();
    
    
                    audioCapture = new AudioCapture(form);
                    audioCapture.start();
    
                    udpSend = new UDPSend(form);
                    udpSend.setDatagramConn(rtpCon);
                    udpSend.setServerIP(MediaIP);
                    udpSend.setServerPort(MediaPort);
                    udpSend.start();
                    
                    Thread.currentThread().sleep(1000);
                    
                    audioPlayer = new AudioPlayer(form);
                    audioPlayer.start();
                    incall = true;

  2. #2
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: G729, G723 encode, decode

    You need to use the formats supported by the platform for both recording and playback. Otherwise you need to do transcoding from/to the supported formats to/from G729/G723 after recording or before playback (which will not work well if at all)

    So if the platform/device does not support G729/G723, you cannot use those formats.

    If you need to use those formats, you need to do the transcoding on server-side.

    Hartti

  3. #3
    Registered User
    Join Date
    Jun 2008
    Posts
    17

    Re: G729, G723 encode, decode

    Thanks for the info,

    v=0
    o=SIP_5F1 123456 654321 IN IP4 81.88.105.33
    s=-
    c=IN IP4 81.88.105.33
    t=0 0
    m=audio 13820 RTP/AVP 3 101
    a=rtpmap:3 GSM/8000 or G723/8000 or G729/8000
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-15

    - do you have any idea, for above from where i can get any example or resource to move forward regarding recv/send decode/encode G723/G729 codecs.

    Regards
    Shamun

Similar Threads

  1. g729 problem
    By alexpr in forum VoIP
    Replies: 5
    Last Post: 2009-04-17, 14:53
  2. GSM, PCMU, G729, G723, G726, DVI4
    By maodean in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2008-11-11, 18:17
  3. Decode and Encode String
    By alicegue in forum Mobile Java General
    Replies: 0
    Last Post: 2007-03-23, 08:35
  4. Replies: 0
    Last Post: 2006-01-24, 03:19
  5. Replies: 2
    Last Post: 2003-04-09, 10:14

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×