Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User shamun.toha's Avatar
    Join Date
    Jun 2008
    Posts
    17
    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
    Nokia Developer Champion hartti's Avatar
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192
    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 shamun.toha's Avatar
    Join Date
    Jun 2008
    Posts
    17
    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. when play video? any good decode and encode?
    By ipis in forum Symbian C++
    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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved