[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [AVT] Implementation issues for RTP Stack implementation.
Dear Lavin:
Even though it is in-appropriate RTP implementation discussion, I am
just sending a reply to reduce the learning curve.
-----Original Message-----
From: avt-bounces at ietf.org [mailto:avt-bounces at ietf.org] On Behalf Of P
Lavin
Sent: Thursday, August 12, 2004 10:14 AM
To: avt at ietf.org
Subject: [AVT] Implementation issues for RTP Stack implementation.
Hi,
Last month i've send one mail to this group for some kind of Design
specification for RTP, but i've'nt got any response. Now i've come up
with a High level as well as a low level design. Now i've to some doubts
re gegarding the implementation. I'm implementing RTP on some RTOS.
1)We need multiple sessions to be maintained. We've a structure in which
all the session details are maintained. For multiple sessions weather we
need to implement some kind of scheduler ? for switching between
sessions ??
[bino] Conceptually no scheduler is needed, the RTP stack can work based
on the event from Media Layer & Transport Layer.
2)While reciving RTP packets i'm buffering it in a recvBuffer (using our
own buffer management routines), i.e whenever i get a packet i'll add it
into the queue, for re-arranging the packets can i use some sorting
algorithms on sequence number, or should i make timestamp the key for
sorting ?
Note : I'm planning to have seperate recvBuffer for each sessions.
[Bino]: If you use TS as indexing, you have to think about handling
Silence period. From my experience Sequence number is more suitable.
3)While sending RTP packets weather i've to buffer it or directly send
the packets to udp sockets ?
[bino]: Based on your Media Layer, you may have to buffer RTP Payload.
Once the RTP packet is completed, you have to send it fast, to reduce
the Tx Delay.
4)Weather i've to create some scheduler that informs the application in
regular intervals about the received RTP packets, so that the
application can use the data.
[bino]: There should be an interface required between RTP stack & Media
layer to transfer Payload and the Rx Delay must be minimum in this path.
Waiting for your answers,
[bino]: Please refer well know Applications like LinPhone, RAT(Robust
Audio Visual Tool) for further reference.
Regards,
Lavin
_______________________________________________
Audio/Video Transport Working Group
avt at ietf.org
https://www1.ietf.org/mailman/listinfo/avt
_______________________________________________
Audio/Video Transport Working Group
avt at ietf.org
https://www1.ietf.org/mailman/listinfo/avt