[AVT] RTP SEND-RECV / Problem with linux 8.0 Sound.

P Lavin <lavin.p@redpinesignals.com> Fri, 15 October 2004 08:19 UTC

Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id EAA04268 for <avt-archive@ietf.org>; Fri, 15 Oct 2004 04:19:16 -0400 (EDT)
Received: from megatron.ietf.org ([132.151.6.71]) by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1CINUL-0000cu-F5 for avt-archive@ietf.org; Fri, 15 Oct 2004 04:31:01 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1CINGw-00052I-QT; Fri, 15 Oct 2004 04:17:10 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1CINEU-0004dO-Gd for avt@megatron.ietf.org; Fri, 15 Oct 2004 04:14:38 -0400
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id EAA04071 for <avt@ietf.org>; Fri, 15 Oct 2004 04:14:36 -0400 (EDT)
Received: from [203.196.161.92] (helo=redpinesignals.com) by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1CINPm-0000Yo-Bm for avt@ietf.org; Fri, 15 Oct 2004 04:26:21 -0400
Received: from redpinesignals.com ([192.168.1.34]) by redpinesignals.com (8.11.6+Sun/8.11.6) with ESMTP id i9F5sJZ02979; Fri, 15 Oct 2004 13:54:20 +0800 (CST)
Message-ID: <416F891E.7050600@redpinesignals.com>
Date: Fri, 15 Oct 2004 13:53:58 +0530
From: P Lavin <lavin.p@redpinesignals.com>
Organization: www.redpinesignals.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Stephen Casner <casner@acm.org>
References: <001f01c48040$637571c0$9c40fea9@Gbino> <20040812120443.S63026@ash.packetdesign.com>
Content-Type: multipart/mixed; boundary="------------010502090607040003010200"
X-Spam-Score: 0.3 (/)
X-Scan-Signature: 3f2cf88677bfbdeff30feb2c80e2257d
Cc: avt@ietf.org
Subject: [AVT] RTP SEND-RECV / Problem with linux 8.0 Sound.
X-BeenThere: avt@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: lavin.p@redpinesignals.com
List-Id: Audio/Video Transport Working Group <avt.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/avt>, <mailto:avt-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:avt@ietf.org>
List-Help: <mailto:avt-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/avt>, <mailto:avt-request@ietf.org?subject=subscribe>
Sender: avt-bounces@ietf.org
Errors-To: avt-bounces@ietf.org
X-Spam-Score: 0.3 (/)
X-Scan-Signature: d11a451997816a91a305dcb5ab1b85dd

Hi Steve,

I've developed an RTP Stack. Now i'm doing the testing for the same.
The stack is being tested on Linux 8.0, afterwords this will be ported 
to some RTOS...
I've tested my stack with one SEND-Only session on one machine & RECV-
Only session on other machine. It worked fine !!! I was able to communi-
cate with the other endpoint using my stack(But a small delay was there).
Now i'm testing SendRecv session (ie sending and receiving in single (or 
multiple) thread)(I'll be reading/writing to /dev/dsp inside a loop)

The sequence of operations on single thread is given below,

while(1)
{
   //read from /dev/dsp.
   //Send this to n/w using RTP
   //recv data from RTP Stack.
   //Write this data to /dev/dsp
}

The problem lies here...
In this progam i'm reciving the data frm remote session correctly...and 
i'm writing that data after receiving ... but after each write the my 
audio has a delay in palying the next packet... wt i'm trying to say is 
the data from the remote machine seems to be non-contineous. Where as 
when i tried with send-only & recv-only the real-time playback was 
contineous...

I've opened the audio device using one of the files provided by vovida. 
I'm attatching that file.
Sampling rate 44100Hz, 16Bits.

Please help me with this issue...

Thanks in Advance,
Regards,
P Lavin



_______________________________________________
Audio/Video Transport Working Group
avt@ietf.org
https://www1.ietf.org/mailman/listinfo/avt