|
List Info
Thread: IHXRTPPacket vs IHXPacket usage
|
|
| IHXRTPPacket vs IHXPacket usage |

|
2007-04-16 14:08:16 |
|
Hello All,
* How is the IHXRTPPacket different from IHXPacket apart from the RTPTime ?
* What is the advantage of using IHXRTPPacket over IHXPacket ? What if I create IHXPacket and set the helix time created from rtp time ?
* In IHXRTPPacket::SetRTP, should the RTPTime be adjusted to the first packet TS offset ? (Meaning should RTP time always start with zero when IHXRTPPacket is used ?)
In XPS fileformat (which is similar to RTSP file format), when RTP packets are received, it sets the same RTP time & Helix time (calculated using TSConverter)in the packet and sends it to depacketizer. Depacketizer is again calculating the Helix time with its own TSConverter. And the time calculated from TSConverter seem to start with some offset instead of zero and audio playback does not happen untill that time. The playback time keeps moving and audio starts playing after the time offset. If the RTP packet ts is adjusted (meaning subtracted to first packet's TS) while setting on IHXRTPPacket, then playout seems to be ok.
Can someone please clarify the above mentioned questions on IHXRTPPacket, so that I can change XPS File format appropriately ?
Thanks,
Rajesh.
|
| IHXRTPPacket vs IHXPacket usage |

|
2007-04-18 16:16:47 |
|
Hello All,
* How is the IHXRTPPacket different from IHXPacket
apart from the RTPTime ?
* What is the advantage of using IHXRTPPacket over
IHXPacket ? What if I create IHXPacket and set the helix time created from rtp
time ?
* In IHXRTPPacket::SetRTP, should the RTPTime be
adjusted to the first packet TS offset ? (Meaning should RTP time always start
with zero when IHXRTPPacket is used ?)
In XPS fileformat (which is similar to RTSP file
format), when RTP packets are received, it sets the same RTP time & Helix
time (calculated using TSConverter)in the packet and sends it to depacketizer.
Depacketizer is again calculating the Helix time with its own TSConverter. And
the time calculated from TSConverter seem to start with some offset instead of
zero and audio playback does not happen untill that time. The playback time
keeps moving and audio starts playing after the time offset. If the RTP packet
ts is adjusted (meaning subtracted to first packet's TS) while setting on
IHXRTPPacket, then playout seems to be ok.
Can someone please clarify the above mentioned
questions on IHXRTPPacket, so that I can change XPS File format appropriately
?
Thanks, Rajesh. |
| Re: IHXRTPPacket vs IHXPacket usage |
  United States |
2007-04-18 17:12:39 |
|
Content-class:
urn:content-classes:message
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C7805A.96BBEF09"
Hello All,
* How is the IHXRTPPacket different from IHXPacket apart
from the RTPTime ?
It is not different beyond that.
* What is the
advantage of using IHXRTPPacket over IHXPacket ?
It can differentiate presentation and dispatch time of a packet and
retain packet presentation time in sample time base which provides for
more accuracy.
Presentation time is given by RTPTime, which is packet's presentation
time in units of samples. Samples relation to seconds is expressed
in "SamplesPerSecond" property in the associated stream
header. If the header is absent, the units of RTPTime are to be
assumed in milliseconds.
When IHXPacket is used, presentation and dispatch time are assumed to be
the same and always expressed in milliseconds.
What if I create
IHXPacket and set the helix time created from rtp time ?
No problem as long as helix time is in milliseconds.
* In
IHXRTPPacket::SetRTP, should the RTPTime be adjusted to the first packet
TS offset ? (Meaning should RTP time always start with zero when
IHXRTPPacket is used ?)
No. However, the following should always be true: 0 in RTP
time == 0 in helix time.
Given the RTPTime is presentation time, it is directly related to
playback time.
Note that in the network RTP stream this is not so. Network RTP
time needs to be normalized to presentation time using NPT, NTP and RTP
time-stamps.
In XPS fileformat
(which is similar to RTSP file format), when RTP packets are received, it
sets the same RTP time & Helix time (calculated using TSConverter)in
the packet and sends it to depacketizer. Depacketizer is again
calculating the Helix time with its own TSConverter. And the time
calculated from TSConverter seem to start with some offset instead of
zero and audio playback does not happen untill that time. The playback
time keeps moving and audio starts playing after the time offset. If the
RTP packet ts is adjusted (meaning subtracted to first packet's TS) while
setting on IHXRTPPacket, then playout seems to be ok.
Sound like you have not normalized the RTP time-stamp (converted it to
presentation time in NPT coordinate system).
Milko
Can someone please
clarify the above mentioned questions on IHXRTPPacket, so that I can
change XPS File format appropriately ?
Thanks,
Rajesh.
_______________________________________________
Protocol-dev mailing list
Protocol-dev helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/protocol-dev
|
| RE: IHXRTPPacket vs IHXPacket usage |

|
2007-04-19 10:34:38 |
|
| Milko,
Thank you very much for the
information.
Thanks,
Rajesh.
At 12:08 PM 4/16/2007, rajesh.rathinasamy nokia.com wrote:
Content-class:
urn:content-classes:message Content-Type:
multipart/alternative;
boundary="----_=_NextPart_001_01C7805A.96BBEF09"
Hello All,
* How is the IHXRTPPacket
different from IHXPacket apart from the RTPTime ? It
is not different beyond that.
* What is the
advantage of using IHXRTPPacket over IHXPacket ? It
can differentiate presentation and dispatch time of a packet and retain packet
presentation time in sample time base which provides for more
accuracy. Presentation time is given by RTPTime, which is packet's
presentation time in units of samples. Samples relation to seconds is
expressed in "SamplesPerSecond" property in the associated stream
header. If the header is absent, the units of RTPTime are to be assumed
in milliseconds.
When IHXPacket is used, presentation and dispatch time
are assumed to be the same and always expressed in milliseconds.
What if I create
IHXPacket and set the helix time created from rtp time ?
No problem as long as helix time is in
milliseconds.
* In
IHXRTPPacket::SetRTP, should the RTPTime be adjusted to the first packet TS
offset ? (Meaning should RTP time always start with zero when IHXRTPPacket
is used ?) No. However, the following should
always be true: 0 in RTP time == 0 in helix time. Given the RTPTime
is presentation time, it is directly related to playback time. Note that in
the network RTP stream this is not so. Network RTP time needs to be
normalized to presentation time using NPT, NTP and RTP
time-stamps.
In XPS fileformat
(which is similar to RTSP file format), when RTP packets are received, it
sets the same RTP time & Helix time (calculated using TSConverter)in the
packet and sends it to depacketizer. Depacketizer is again calculating the
Helix time with its own TSConverter. And the time calculated from
TSConverter seem to start with some offset instead of zero and audio
playback does not happen untill that time. The playback time keeps moving
and audio starts playing after the time offset. If the RTP packet ts is
adjusted (meaning subtracted to first packet's TS) while setting on
IHXRTPPacket, then playout seems to be ok. Sound like
you have not normalized the RTP time-stamp (converted it to presentation time
in NPT coordinate system).
Milko
Can someone please
clarify the above mentioned questions on IHXRTPPacket, so that I can change
XPS File format appropriately ?
Thanks,
Rajesh.
_______________________________________________ Protocol-dev mailing
list Protocol-dev helixcommunity.org http://lists.helixcommunity.org/mailman/listinfo/protocol-dev
|
[1-4]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|