×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Apr 2008
    Posts
    102

    VAS - clock & times

    I want to use VAS for full duplex over RTP
    on each peer i have 2 clocks:
    one for send from which i derive the sequence number and one for recieve to playout the buffer.

    if i don't use VAD i should get 2 callback every 20ms (in average) one from the mic with new packet to transmit and one from the speaker.
    the problem is that it seems that the callback aren't called with hard time.
    some time its early and sometime its late and with big diffrences sometime.

    is there any insight or regularity in the times so i would know what time stamp to put to each frame.
    if i use VAD thing are even worse..

    about play time, actually same problem, the requaest for new frame to play might come even 50ms after the first call.

    does someone notice this kind of behaviuor?

  2. #2
    Registered User
    Join Date
    Nov 2008
    Posts
    2

    Re: VAS - clock & times

    what codec u used?
    Can you send me the sample code?

  3. #3
    Regular Contributor
    Join Date
    May 2007
    Location
    India
    Posts
    136

    Re: VAS - clock & times

    Need to derive a mechanism to smooth streaming. Separate thread can be used or high resolution timers can be used.

    The time stamp of each packet should be incremented by 160 if application is sending packet of 20ms. For very first packet take tick count and then increment this time by 160 for each packet.

Similar Threads

  1. Analog Clock (s40)
    By u_ny in forum Themes/Carbide.ui
    Replies: 1
    Last Post: 2008-10-06, 07:28
  2. [moved] nokia 40 series, alarm clock applikation howto?
    By skipperkongen in forum Mobile Java General
    Replies: 5
    Last Post: 2008-09-10, 15:28
  3. N90 - closed mode digital clock display distraction
    By lkraav in forum General Development Questions
    Replies: 4
    Last Post: 2006-04-20, 20:51
  4. My 6230i switches off when displaying the clock
    By etsii in forum General Development Questions
    Replies: 1
    Last Post: 2006-01-25, 12:54
  5. Clock alarm counts problem
    By hasanlacin in forum Symbian C++
    Replies: 3
    Last Post: 2004-08-10, 08:05

Posting Permissions

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