From avt-bounces@ietf.org Sun Apr 01 05:05:46 2007
Return-path:
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
by megatron.ietf.org with esmtp (Exim 4.43)
id 1HXvyi-0003A3-QE; Sun, 01 Apr 2007 05:04:00 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
by megatron.ietf.org with esmtp (Exim 4.43) id 1HXvw3-00016c-AM
for avt@ietf.org; Sun, 01 Apr 2007 05:01:15 -0400
Received: from [211.189.53.2] (helo=kor1corpmail01.mediator.com)
by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1HXvjX-0003iq-C9
for avt@ietf.org; Sun, 01 Apr 2007 04:48:21 -0400
MIME-Version: 1.0
Subject: RE: [AVT] Video streaming withour RTCP
Date: Sun, 1 Apr 2007 17:48:09 +0900
Message-ID:
References:
<006301c772dd$b6ab7fa0$0fa2ee0a@viola>
From: "Jaehwan Kim"
To: "Y. Matsui" ,
,
X-Spam-Score: 0.1 (/)
X-Scan-Signature: 825e642946eda55cd9bc654a36dab8c2
Cc:
X-BeenThere: avt@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Audio/Video Transport Working Group
List-Unsubscribe: ,
List-Post:
List-Help:
List-Subscribe: ,
Content-Type: multipart/mixed; boundary="===============0180081853=="
Errors-To: avt-bounces@ietf.org
This is a multi-part message in MIME format.
--===============0180081853==
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C7743A.790A137D"
This is a multi-part message in MIME format.
------_=_NextPart_001_01C7743A.790A137D
Content-Type: text/plain;
charset="ks_c_5601-1987"
Content-Transfer-Encoding: quoted-printable
Hi,
Yes. However, I found many players and servers couldn't handle some =
strings like "client_port=3D3122;server=3D12100".
Therefore, your application is good to have RTP/RTCP port pairs in the =
SETUP process. If so, supporting both RTP/RTCP seems not much difficult. =
=20
As for sync, you can use RTP-Info and Range in RTSP. If it is live, =
although it is depends on the implementation of the peer, I receommend =
you support RTCP as well.
=20
Regards,
Jaehwan
________________________________
From: Y. Matsui [mailto:matsui.yoshinori@jp.panasonic.com]
Sent: 2007-03-31 (=C5=E4) =BF=C0=C0=FC 12:11
To: annasagaram.vamsi@aftek.com; avt@ietf.org
Subject: Re: [AVT] Video streaming withour RTCP
Hi,
RTSP is also available to synchronize audio and video in
streaming application, and it will be useful for control them
(play, pause, stop, etc.).
Best regards,
Yoshinori Matsui
Panasonic/Matsushita
----- Original Message -----
From:
Sent: Friday, March 30, 2007 10:11 PM
Subject: [AVT] Video streaming withour RTCP
> Hi,
>=20
> Can video(with audio) streaming is possible with out RTCP? RTCP
> packets are used for lip sync. I suppose!! If it is so, then with out =
RTCP
> how can we achieve audio & video that is lip sync.??
>
> Thanks & Regards,
> Vamsi
_______________________________________________
Audio/Video Transport Working Group
avt@ietf.org
https://www1.ietf.org/mailman/listinfo/avt
------_=_NextPart_001_01C7743A.790A137D
Content-Type: text/html;
charset="ks_c_5601-1987"
Content-Transfer-Encoding: quoted-printable
Re: [AVT] Video streaming withour =
RTCP=0A=
=0A=
=0A=
=0A=
=0A=
Hi,
=0A=
Yes. However, I found =
many players and servers couldn't handle some strings like =
"client_port=3D3122;server=3D12100".
=0A=
Therefore, your application is good to have =
RTP/RTCP port pairs in the SETUP process. If so, supporting =
both RTP/RTCP seems not much difficult.
=0A=
=0A=
As for sync, you can =
use RTP-Info and Range in RTSP. If it is live, although it is depends on =
the implementation of the peer, I receommend you support RTCP as =
well.
=0A=
=0A=
Regards,
=0A=
Jaehwan
=0A=
=0A=
=0A=
From: Y. Matsui =
[mailto:matsui.yoshinori@jp.panasonic.com]
Sent: 2007-03-31 =
(=C5=E4) =BF=C0=C0=FC 12:11
To: annasagaram.vamsi@aftek.com; =
avt@ietf.org
Subject: Re: [AVT] Video streaming withour =
RTCP
=0A=
=0A=
Hi,
RTSP is also available to synchronize audio =
and video in
streaming application, and it will be useful for control =
them
(play, pause, stop, etc.).
Best regards,
Yoshinori =
Matsui
Panasonic/Matsushita
----- Original Message =
-----
From: <annasagaram.vamsi@aftek.com>
Sent: Friday, =
March 30, 2007 10:11 PM
Subject: [AVT] Video streaming withour =
RTCP
> Hi,
>
> Can =
video(with audio) streaming is possible with out RTCP? =
RTCP
> packets are used for lip sync. I suppose!! If it is =
so, then with out RTCP
> how can we achieve audio & video that =
is lip sync.??
>
> Thanks & Regards,
> =
Vamsi
_______________________________________________
Audio/Vid=
eo Transport Working Group
avt@ietf.org
https://www1.ietf.org=
/mailman/listinfo/avt
------_=_NextPart_001_01C7743A.790A137D--
--===============0180081853==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Audio/Video Transport Working Group
avt@ietf.org
https://www1.ietf.org/mailman/listinfo/avt
--===============0180081853==--
From avt-bounces@ietf.org Sun Apr 01 06:00:53 2007
Return-path:
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
by megatron.ietf.org with esmtp (Exim 4.43)
id 1HXwqi-0006rV-Ei; Sun, 01 Apr 2007 05:59:48 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
by megatron.ietf.org with esmtp (Exim 4.43) id 1HXwqh-0006qu-2m
for avt@ietf.org; Sun, 01 Apr 2007 05:59:47 -0400
Received: from [67.15.60.3] (helo=mail.aftek.com)
by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1HXwqe-0004lu-4P
for avt@ietf.org; Sun, 01 Apr 2007 05:59:47 -0400
Received: (qmail 10067 invoked by uid 510); 1 Apr 2007 05:13:53 -0500
Received: from 59.95.41.72 by plain.ev1servers.net (envelope-from
,
uid 508) with qmail-scanner-1.24-st-qms
(clamdscan: 0.75.1. perlscan: 1.25-st-qms.
Clear:RC:0(59.95.41.72):SA:0(-101.0/1.7):.
Processed in 2.341145 secs); 01 Apr 2007 10:13:53 -0000
X-Spam-Status: No, hits=-101.0 required=1.7
X-Antivirus-MYDOMAIN-Mail-From: annasagaram.vamsi@aftek.com via
plain.ev1servers.net
X-Antivirus-MYDOMAIN: 1.24-st-qms (Clear:RC:0(59.95.41.72):SA:0(-101.0/1.7):.
Processed in 2.341145 secs Process 10044)
Received: from unknown (HELO annasagaramv)
(annasagaram.vamsi@aftek.com@59.95.41.72)
by mail.aftek.com with SMTP; 1 Apr 2007 05:13:51 -0500
From:
To: "'Jaehwan Kim'" ,
"'Y. Matsui'" ,
Subject: RE: [AVT] Video streaming withour RTCP
Date: Sun, 1 Apr 2007 15:29:18 +0530
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook, Build 11.0.5510
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
Thread-Index: Acd0PImsAKjd8CY0Th+JwYSr0/efRAABu/Mg
In-Reply-To:
X-Antivirus-MYDOMAIN-Message-ID: <1175422431105510044@plain.ev1servers.net>
X-Spam-Score: 0.2 (/)
X-Scan-Signature: 9a9ddb14fac983e71b59f23b52a45b4e
Cc:
X-BeenThere: avt@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Audio/Video Transport Working Group
List-Unsubscribe: ,
List-Post:
List-Help:
List-Subscribe: ,
Content-Type: multipart/mixed; boundary="===============1935716131=="
Errors-To: avt-bounces@ietf.org
Message-Id:
This is a multi-part message in MIME format.
--===============1935716131==
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_000C_01C77472.8AA2D750"
This is a multi-part message in MIME format.
------=_NextPart_000_000C_01C77472.8AA2D750
Content-Type: text/plain;
charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Hi,=20
Thanks for all these replies and suggestions. I have developed RTP =
and RTCP but, due to some technical reasons I commented RTCP code as =
previously my application demanded only AUDIO. And now I am about to =
implement even VIDEO. For this I suppose it=E2=80=99s better to =
implement RTCP rather than going for other synchronization methods?? Can =
any one comment on this? As per my understanding its better to use RTCP =
with RTP for synchronization of video and audio packets!!
=20
Thanks & regards,=20
Vamsi=20
=20
_____ =20
From: Jaehwan Kim [mailto:jaehwan@vidiator.com]=20
Sent: Sunday, April 01, 2007 2:18 PM
To: Y. Matsui; annasagaram.vamsi@aftek.com; avt@ietf.org
Subject: RE: [AVT] Video streaming withour RTCP
=20
Hi,
Yes. However, I found many players and servers couldn't handle some =
strings like "client_port=3D3122;server=3D12100".
Therefore, your application is good to have RTP/RTCP port pairs in the =
SETUP process. If so, supporting both RTP/RTCP seems not much difficult. =
=20
As for sync, you can use RTP-Info and Range in RTSP. If it is live, =
although it is depends on the implementation of the peer, I receommend =
you support RTCP as well.
=20
Regards,
Jaehwan
=20
_____ =20
From: Y. Matsui [mailto:matsui.yoshinori@jp.panasonic.com]
Sent: 2007-03-31 (=ED=86=A0) =EC=98=A4=EC=A0=84 12:11
To: annasagaram.vamsi@aftek.com; avt@ietf.org
Subject: Re: [AVT] Video streaming withour RTCP
Hi,
RTSP is also available to synchronize audio and video in
streaming application, and it will be useful for control them
(play, pause, stop, etc.).
Best regards,
Yoshinori Matsui
Panasonic/Matsushita
----- Original Message -----
From:
Sent: Friday, March 30, 2007 10:11 PM
Subject: [AVT] Video streaming withour RTCP
> Hi,
>=20
> Can video(with audio) streaming is possible with out RTCP? RTCP
> packets are used for lip sync. I suppose!! If it is so, then with out =
RTCP
> how can we achieve audio & video that is lip sync.??
>
> Thanks & Regards,
> Vamsi
_______________________________________________
Audio/Video Transport Working Group
avt@ietf.org
https://www1.ietf.org/mailman/listinfo/avt
------=_NextPart_000_000C_01C77472.8AA2D750
Content-Type: text/html;
charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Re: [AVT] Video streaming withour RTCP
Hi,
=C2=A0=C2=A0=C2=A0 Thanks for all =
these replies and
suggestions.=C2=A0 I have developed RTP and RTCP but, due to some =
technical reasons
I commented RTCP code as previously my application demanded only =
AUDIO.=C2=A0 And
now I am about to implement even VIDEO.=C2=A0 For this I suppose =
it=E2=80=99s better to
implement RTCP rather than going for other synchronization methods?? Can =
any
one comment on this?=C2=A0 As per my understanding its better to use =
RTCP with RTP
for synchronization of video and audio =
packets!!
Thanks & regards, =
Vamsi
From: =
Jaehwan Kim
[mailto:jaehwan@vidiator.com]
Sent: Sunday, April 01, =
2007 2:18
PM
To: Y. Matsui;
annasagaram.vamsi@aftek.com; avt@ietf.org
Subject: RE: [AVT] Video =
streaming
withour RTCP
Yes.
However, I found many players and servers couldn't =
handle some strings like
"client_port=3D3122;server=3D12100".=
p>
Therefore, your application is good to have RTP/RTCP port =
pairs in
the SETUP process. If so, supporting both RTP/RTCP seems =
not much =
difficult.
As
for sync, you can use RTP-Info and Range in RTSP. If it is live, =
although it is
depends on the implementation of the peer, I receommend =
you support RTCP as =
well.
From: Y. Matsui =
[mailto:matsui.yoshinori@jp.panasonic.com]
Sent: 2007-03-31 (=ED=86=A0)
=EC=98=A4=EC=A0=84 12:11
To: =
annasagaram.vamsi@aftek.com;
avt@ietf.org
Subject: Re: [AVT] Video =
streaming
withour RTCP
Hi,
RTSP is also available to synchronize audio and video in
streaming application, and it will be useful for control them
(play, pause, stop, etc.).
Best regards,
Yoshinori Matsui
Panasonic/Matsushita
----- Original Message -----
From: <annasagaram.vamsi@aftek.com>
Sent: Friday, March 30, 2007 10:11 PM
Subject: [AVT] Video streaming withour RTCP
> Hi,
>
> Can video(with audio) =
streaming is
possible with out RTCP? RTCP
> packets are used for lip sync. I suppose!! If it is so, then with out =
RTCP
> how can we achieve audio & video that is lip sync.??
>
> Thanks & Regards,
> Vamsi
_______________________________________________
Audio/Video Transport Working Group
avt@ietf.org
https://www1.ietf.org=
/mailman/listinfo/avt
------=_NextPart_000_000C_01C77472.8AA2D750--
--===============1935716131==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Audio/Video Transport Working Group
avt@ietf.org
https://www1.ietf.org/mailman/listinfo/avt
--===============1935716131==--
From avt-bounces@ietf.org Sun Apr 01 08:30:33 2007
Return-path:
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
by megatron.ietf.org with esmtp (Exim 4.43)
id 1HXzBQ-0005Ky-Lw; Sun, 01 Apr 2007 08:29:20 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
by megatron.ietf.org with esmtp (Exim 4.43) id 1HXzBO-0005IB-Ov
for avt@ietf.org; Sun, 01 Apr 2007 08:29:18 -0400
Received: from mr1.dcs.gla.ac.uk ([130.209.249.184])
by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1HXzBN-0003Ie-Fl
for avt@ietf.org; Sun, 01 Apr 2007 08:29:18 -0400
Received: from csperkins-dsl.demon.co.uk ([62.49.4.249]:61471
helo=[192.168.0.4])
by mr1.dcs.gla.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.42)
id 1HXzBM-0007nx-KL; Sun, 01 Apr 2007 13:29:16 +0100
In-Reply-To: <460CE89F.7060000@vil.ite.mee.com>
References: <46094749.1030806@vil.ite.mee.com>
<1C1F3D15859526459B4DD0A7A9B2268B03488F9D@trebe101.NOE.Nokia.com>
<460A45A5.4090908@vil.ite.mee.com>
<1C1F3D15859526459B4DD0A7A9B2268B034B42FB@trebe101.NOE.Nokia.com>
<460CE89F.7060000@vil.ite.mee.com>
Mime-Version: 1.0 (Apple Message framework v752.3)
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Message-Id:
Content-Transfer-Encoding: 7bit
From: Colin Perkins
Subject: Re: [AVT] AVC NALUs RTP packetisation
Date: Sun, 1 Apr 2007 13:29:13 +0100
To: Nikola Sprljan
X-Mailer: Apple Mail (2.752.3)
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 1ac7cc0a4cd376402b85bc1961a86ac2
Cc: Ye-Kui.Wang@nokia.com, avt@ietf.org
X-BeenThere: avt@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Audio/Video Transport Working Group
List-Unsubscribe: ,
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: avt-bounces@ietf.org
On 30 Mar 2007, at 11:38, Nikola Sprljan wrote:
...
> I guess what I'd like to ask this time is - is SSRC multiplexing gone
> for good, or there's still a chance it could be reconsidered?
I hope it's gone for good, since it gave the (false) impression that
one could reliably adapt RTP streams without being in the signalling/
security context, and without buffering packets.
--
Colin Perkins
http://csperkins.org/
_______________________________________________
Audio/Video Transport Working Group
avt@ietf.org
https://www1.ietf.org/mailman/listinfo/avt
From avt-bounces@ietf.org Sun Apr 01 10:55:36 2007
Return-path:
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
by megatron.ietf.org with esmtp (Exim 4.43)
id 1HY1Ra-0008As-9J; Sun, 01 Apr 2007 10:54:10 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
by megatron.ietf.org with esmtp (Exim 4.43) id 1HY1RY-0008Ak-0w
for avt@ietf.org; Sun, 01 Apr 2007 10:54:08 -0400
Received: from ns.live555.com ([4.79.217.242])
by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1HY1RV-0006GR-L8
for avt@ietf.org; Sun, 01 Apr 2007 10:54:08 -0400
Received: from ns.live555.com (localhost.live555.com [127.0.0.1])
by ns.live555.com (8.13.8/8.13.8) with ESMTP id l31EsQxK040458;
Sun, 1 Apr 2007 07:54:26 -0700 (PDT)
(envelope-from rsf@ns.live555.com)
Received: (from rsf@localhost)
by ns.live555.com (8.13.8/8.13.8/Submit) id l31EsOit040425;
Sun, 1 Apr 2007 07:54:24 -0700 (PDT) (envelope-from rsf)
Mime-Version: 1.0
Message-Id:
In-Reply-To:
References:
<006301c772dd$b6ab7fa0$0fa2ee0a@viola>
Date: Sun, 1 Apr 2007 07:53:40 -0700
To: "Jaehwan Kim"
From: Ross Finlayson
Subject: RE: [AVT] Video streaming withour RTCP
X-Spam-Score: 0.1 (/)
X-Scan-Signature: cab78e1e39c4b328567edb48482b6a69
Cc: "Y. Matsui" , avt@ietf.org,
annasagaram.vamsi@aftek.com
X-BeenThere: avt@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Audio/Video Transport Working Group
List-Unsubscribe: ,
List-Post:
List-Help:
List-Subscribe: ,
Content-Type: multipart/mixed; boundary="===============1944282480=="
Errors-To: avt-bounces@ietf.org
--===============1944282480==
Content-Type: multipart/alternative;
boundary="============_-1036683268==_ma============"
--============_-1036683268==_ma============
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
>As for sync, you can use RTP-Info and Range in RTSP.
No, this is appears to be a common misconception. Although - when
used in combination with the first RTCP "SR" report - the "RTP-Info"
and "Range" headers can be used to generate an offset between
presentation time and "NPT" (Normal Play Time), the "RTP-Info" and
"Range" headers *alone* do not guarantee that you can get times (for
audio and video) that remain synchronized *forever*. For that, you
need synchronized presentation times provided by RTCP.
--
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
--============_-1036683268==_ma============
Content-Type: text/html; charset="us-ascii"
RE: [AVT] Video streaming withour
RTCP
As for sync, you can use
RTP-Info and Range in RTSP.
No, this is appears to be a common misconception. Although
- when used in combination with the first RTCP "SR" report -
the "RTP-Info" and "Range" headers can be used to
generate an offset between presentation time and "NPT"
(Normal Play Time), the "RTP-Info" and "Range"
headers *alone* do not guarantee that you can get times (for audio and
video) that remain synchronized *forever*. For that, you need
synchronized presentation times provided by RTCP.
--
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
--============_-1036683268==_ma============--
--===============1944282480==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Audio/Video Transport Working Group
avt@ietf.org
https://www1.ietf.org/mailman/listinfo/avt
--===============1944282480==--
From avt-bounces@ietf.org Sun Apr 01 18:06:35 2007
Return-path:
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
by megatron.ietf.org with esmtp (Exim 4.43)
id 1HY8AK-0007gy-AY; Sun, 01 Apr 2007 18:04:48 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
by megatron.ietf.org with esmtp (Exim 4.43) id 1HY8AJ-0007gl-6V
for avt@ietf.org; Sun, 01 Apr 2007 18:04:47 -0400
Received: from [211.189.53.2] (helo=kor1corpmail01.mediator.com)
by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1HY8AH-0002Nb-6x
for avt@ietf.org; Sun, 01 Apr 2007 18:04:47 -0400
MIME-Version: 1.0
Subject: RE: [AVT] Video streaming withour RTCP
Date: Mon, 2 Apr 2007 07:04:32 +0900
Message-ID:
In-Reply-To:
References:
<006301c772dd$b6ab7fa0$0fa2ee0a@viola>
From: "Jaehwan Kim"
To: "Ross Finlayson"
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 40161b1d86420e0807d771943d981d25
Cc: "Y. Matsui" , avt@ietf.org,
annasagaram.vamsi@aftek.com
X-BeenThere: avt@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Audio/Video Transport Working Group
List-Unsubscribe: ,
List-Post:
List-Help:
List-Subscribe: ,
Content-Type: multipart/mixed; boundary="===============0707877896=="
Errors-To: avt-bounces@ietf.org
This is a multi-part message in MIME format.
--===============0707877896==
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C774A9.BB725F96"
This is a multi-part message in MIME format.
------_=_NextPart_001_01C774A9.BB725F96
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hi,
And could you explain more in detail?
I would appreciate if you give us an example.
=20
If there is a common misconception happening again and again, IMO, the
notion with enough examples should be into RTSP specification.
=20
Jaehwan
=20
=20
________________________________
From: Ross Finlayson [mailto:finlayson@live555.com]=20
Sent: Sunday, April 01, 2007 11:54 PM
To: Jaehwan Kim
Cc: Y. Matsui; annasagaram.vamsi@aftek.com; avt@ietf.org
Subject: RE: [AVT] Video streaming withour RTCP
=20
As for sync, you can use RTP-Info and Range in RTSP.
=20
No, this is appears to be a common misconception. Although - when used
in combination with the first RTCP "SR" report - the "RTP-Info" and
"Range" headers can be used to generate an offset between presentation
time and "NPT" (Normal Play Time), the "RTP-Info" and "Range" headers
*alone* do not guarantee that you can get times (for audio and video)
that remain synchronized *forever*. For that, you need synchronized
presentation times provided by RTCP.
--=20
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
------_=_NextPart_001_01C774A9.BB725F96
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
RE: [AVT] Video streaming withour RTCP
Hi,
And =
could you explain
more in detail?
I =
would
appreciate if you give us an example.
=
If =
there is a
common misconception happening again and again, IMO, the notion with =
enough
examples should be into RTSP specification.
=
Jaehwan
=
=
From:
Ross Finlayson [mailto:finlayson@live555.com]
Sent: Sunday, April 01, =
2007 11:54
PM
To: Jaehwan Kim
Cc: Y. Matsui;
annasagaram.vamsi@aftek.com; avt@ietf.org
Subject: RE: [AVT] Video =
streaming
withour RTCP
As for sync, you can use RTP-Info and Range =
in RTSP.
No, this is appears to be a common
misconception. Although - when used in combination with the first =
RTCP
"SR" report - the "RTP-Info" and "Range" =
headers
can be used to generate an offset between presentation time and =
"NPT"
(Normal Play Time), the "RTP-Info" and "Range" =
headers
*alone* do not guarantee that you can get times (for audio and video) =
that
remain synchronized *forever*. For that, you need synchronized =
presentation
times provided by RTCP.
--
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
------_=_NextPart_001_01C774A9.BB725F96--
--===============0707877896==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Audio/Video Transport Working Group
avt@ietf.org
https://www1.ietf.org/mailman/listinfo/avt
--===============0707877896==--
From avt-bounces@ietf.org Mon Apr 02 02:35:57 2007
Return-path:
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
by megatron.ietf.org with esmtp (Exim 4.43)
id 1HYG6m-0004Eb-Dl; Mon, 02 Apr 2007 02:33:40 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
by megatron.ietf.org with esmtp (Exim 4.43) id 1HYG6l-0004CB-9J
for avt@ietf.org; Mon, 02 Apr 2007 02:33:39 -0400
Received: from mailgate2.ebu.ch ([193.43.93.72])
by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1HYG6j-0002XP-OO
for avt@ietf.org; Mon, 02 Apr 2007 02:33:39 -0400
X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Date: Mon, 2 Apr 2007 08:33:03 +0200
Message-ID:
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: Parameters lost for media type MPA in new RFC4856 ?
Thread-Index: Acd08MRc94oe8vG1Smq3bOajhh91Lw==
From: "Coinchon, Mathias"
To:
X-OriginalArrivalTime: 02 Apr 2007 06:33:04.0027 (UTC)
FILETIME=[C4742EB0:01C774F0]
X-Spam-Score: 0.4 (/)
X-Scan-Signature: b7b9551d71acde901886cc48bfc088a6
Subject: [AVT] Parameters lost for media type MPA in new RFC4856 ?
X-BeenThere: avt@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Audio/Video Transport Working Group
List-Unsubscribe: ,
List-Post:
List-Help:
List-Subscribe: ,
Content-Type: multipart/mixed; boundary="===============0529999266=="
Errors-To: avt-bounces@ietf.org
This is a multi-part message in MIME format.
--===============0529999266==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C774F0.C45CDFE4"
This is a multi-part message in MIME format.
------_=_NextPart_001_01C774F0.C45CDFE4
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
=0D=0ADear RFC editors,=0D=0A=0D=0AI have one question regarding the new RF=
C4855 and RFC4856 that obsolete=0D=0ARFC3555:=0D=0A=0D=0A- Where are parame=
ters for MPA (mpeg audio) specified ? They were in RFC3555=0D=0A(4=2E1=2E17=
) but not anymore in RFC4856=2E=0D=0A=0D=0AAs I have understood from RFC485=
5/4856, parameters should now be specified=0D=0Ain payload format RFCs=2E=
=0D=0AHowever looking in RFC2250 for MPEG payload format (video and audio) =
I don't=0D=0Asee a specification of these parameters=2E=0D=0ALooking on IAN=
A pages, media type MPA still point on RFC3555=2E=0D=0A=0D=0ACould you plea=
se tell me where to point now for MPEG audio parameters ?=0D=0A=0D=0AWill t=
here be modifications of RFC2250 for MPEG payload format specifying=0D=0Apa=
rameters ? (and modification of RFC3550/3551 to point to RFC3855/56=0D=0Ain=
stead of RFC3555 ?)=0D=0A=0D=0AThis is an important issue as we rely and po=
int to RFCs for the signalling=0D=0Aof parameters (using SDP) for a standar=
d on Audio contribution over IP (EBU=0D=0Agroup N/ACIP)=2E=0D=0A=0D=0AThank=
you=0D=0A=0D=0ARegards,=0D=0A=0D=0AMathias Coinchon=0D=0ASenior Engineer=
=0D=0ATechnical Department=0D=0A=0D=0AEuropean Broadcasting Union=0D=0AL'An=
cienne-Route 17A=0D=0A1218 Grand-Saconnex=0D=0ASwitzerland=0D=0A=0D=0ATel +=
41 22 717 27 16=0D=0AFax +41 22 747 47 16=0D=0A=0D=0A=0D=0A=0D=0A=0D=0A----=
-------------------------------------=0D=0A********************************=
******************=0D=0AThis email and any files transmitted with it =0D=0A=
are confidential and intended solely for the =0D=0Ause of the individual or=
entity to whom they=0D=0Aare addressed=2E =0D=0AIf you have received this =
email in error, =0D=0Aplease notify the system manager=2E=0D=0AThis footnot=
e also confirms that this email =0D=0Amessage has been swept by the mailgat=
eway=0D=0A**************************************************
------_=_NextPart_001_01C774F0.C45CDFE4
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
=0D=0A=0D=0A=
=0D=0A=0D=0A=0D=0AParameters lost for media type MPA in new R=
FC4856 ?=0D=0A=0D=0A=0D=0A=0D=0A
=0D=0A=0D=0ADear RFC =
editors,=0D=0A
=0D=0A=0D=0AI hav=
e one question regarding the new RFC4855 and RFC4856 that obsolete RFC3555:=
=0D=0A
=0D=0A=0D=0A- Where are p=
arameters for MPA (mpeg audio) specified ? They were in RFC3555 (4=2E1=2E17=
) but not anymore in RFC4856=2E=0D=0A
=0D=0A=0D=0AAs I have understood from RFC4855/4856, parameters shou=
ld now be specified in payload format RFCs=2E=0D=0A=0D=0A
However looking in RFC2250 for MPEG payload format (=
video and audio) I don't see a specification of these parameters=2E=
=0D=0A=0D=0A
Looking on IANA pages, media =
type MPA still point on RFC3555=2E=0D=0A
=0D=0A=0D=0ACould you please tell me where to point now for MPEG a=
udio parameters ?=0D=0A
=0D=0A=0D=0AWill there be modifications of RFC2250 for MPEG payload format specifyi=
ng parameters ? (and modification of RFC3550/3551 to point to RFC3855/56 in=
stead of RFC3555 ?)
=0D=0A=0D=0A=
This is an important issue as we rely and point to RFCs for the signalling =
of parameters (using SDP) for a standard on Audio contribution over IP (EBU=
group N/ACIP)=2E
=0D=0A=0D=0ATh=
ank you=0D=0A
=0D=0A=0D=0ARegard=
s,=0D=0A
=0D=0A=0D=0AMathias Coi=
nchon=0D=0A=0D=0A
Senior Engineer=
FONT>=0D=0A=0D=0A
Technical Department=0D=0A
=0D=0A=0D=0AEuropean Broadcas=
ting Union=0D=0A=0D=0A
L'Ancienne-R=
oute 17A=0D=0A=0D=0A
1218 Grand-Sac=
onnex=0D=0A=0D=0A
Switzerland=0D=0A
=0D=0A=0D=0ATel +41 22 717 27 1=
6=0D=0A=0D=0A
Fax +41 22 747 47 16<=
/FONT>=0D=0A
=0D=0A
=0D=0A=0D=0A=0D=0A=0D=0A
=0D=0A=0D=0A*******************************=
*******************=0D=0AThis email and any files transmitted with it =0D=
=0Aare confidential and intended solely for the =0D=0Ause of the individual=
or entity to whom they=0D=0Aare addressed=2E =0D=0AIf you have received th=
is email in error, =0D=0Aplease notify the system manager=2E=0D=0AThis foot=
note also confirms that this email =0D=0Amessage has been swept by the mail=
gateway=0D=0A**************************************************=0D=0A
------_=_NextPart_001_01C774F0.C45CDFE4--
--===============0529999266==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Audio/Video Transport Working Group
avt@ietf.org
https://www1.ietf.org/mailman/listinfo/avt
--===============0529999266==--
From avt-bounces@ietf.org Mon Apr 02 03:06:51 2007
Return-path:
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
by megatron.ietf.org with esmtp (Exim 4.43)
id 1HYGc5-0001bZ-9k; Mon, 02 Apr 2007 03:06:01 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
by megatron.ietf.org with esmtp (Exim 4.43) id 1HYGc3-0001bR-Fo
for avt@ietf.org; Mon, 02 Apr 2007 03:05:59 -0400
Received: from mailgw3.ericsson.se ([193.180.251.60])
by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1HYGbx-0001IF-Sr
for avt@ietf.org; Mon, 02 Apr 2007 03:05:59 -0400
Received: from mailgw3.ericsson.se (unknown [127.0.0.1])
by mailgw3.ericsson.se (Symantec Mail Security) with ESMTP id
43705207E1; Mon, 2 Apr 2007 09:05:49 +0200 (CEST)
X-AuditID: c1b4fb3c-ac51ebb0000073d5-4b-4610ab4dfc17
Received: from esealmw126.eemea.ericsson.se (unknown [153.88.254.123])
by mailgw3.ericsson.se (Symantec Mail Security) with ESMTP id
20BBB2054F; Mon, 2 Apr 2007 09:05:49 +0200 (CEST)
Received: from esealmw126.eemea.ericsson.se ([153.88.254.174]) by
esealmw126.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);
Mon, 2 Apr 2007 09:05:48 +0200
Received: from [147.214.30.247] ([147.214.30.247]) by
esealmw126.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);
Mon, 2 Apr 2007 09:05:48 +0200
Message-ID: <4610AB4C.1080807@ericsson.com>
Date: Mon, 02 Apr 2007 09:05:48 +0200
From: Magnus Westerlund
User-Agent: Thunderbird 1.5.0.10 (Windows/20070221)
MIME-Version: 1.0
To: Jaehwan Kim
Subject: Re: [AVT] Video streaming withour RTCP
References: <006301c772dd$b6ab7fa0$0fa2ee0a@viola>
In-Reply-To:
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 02 Apr 2007 07:05:48.0403 (UTC)
FILETIME=[57502C30:01C774F5]
X-Brightmail-Tracker: AAAAAA==
X-Spam-Score: 0.0 (/)
X-Scan-Signature: a7d6aff76b15f3f56fcb94490e1052e4
Cc: annasagaram.vamsi@aftek.com, Ross Finlayson ,
"Y. Matsui" , avt@ietf.org
X-BeenThere: avt@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Audio/Video Transport Working Group
List-Unsubscribe: ,
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: avt-bounces@ietf.org
Jaehwan Kim skrev:
>
>
> Hi,
>
> And could you explain more in detail?
>
> I would appreciate if you give us an example.
>
>
>
> If there is a common misconception happening again and again, IMO, the
> notion with enough examples should be into RTSP specification.
Okay, we will log a request to clarify that RTP-Info only provides for
initial sync and that RTCP is needed for maintaining sync in the case of
clock drift. But there is much more on timestamp handling in
http://tools.ietf.org/html/draft-ietf-mmusic-rfc2326bis-14
than what is in RFC 2326.
I could also recommend looking at the How To write RTP payload formats
that has some discussion on the RTCP synch mechanism or Colin Perkins
book on RTP.
http://tools.ietf.org/html/draft-ietf-avt-rtp-howto-01
There is also need to have RTCP for synch in cases such as multiple
sources (SSRCs) and live sessions. In addition RTCP is needed for its
transport monitoring purpose. The sender can't do any type of adaptation
or avoid causing long term congestion unless RTCP is used.
Cheers
Magnus Westerlund
IETF Transport Area Director & TSVWG Chair
----------------------------------------------------------------------
Multimedia Technologies, Ericsson Research EAB/TVM/M
----------------------------------------------------------------------
Ericsson AB | Phone +46 8 4048287
Torshamsgatan 23 | Fax +46 8 7575550
S-164 80 Stockholm, Sweden | mailto: magnus.westerlund@ericsson.com
----------------------------------------------------------------------
_______________________________________________
Audio/Video Transport Working Group
avt@ietf.org
https://www1.ietf.org/mailman/listinfo/avt
From avt-bounces@ietf.org Mon Apr 02 03:36:28 2007
Return-path:
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
by megatron.ietf.org with esmtp (Exim 4.43)
id 1HYH4U-0005lP-2Z; Mon, 02 Apr 2007 03:35:22 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
by megatron.ietf.org with esmtp (Exim 4.43) id 1HYH4S-0005lK-NJ
for avt@ietf.org; Mon, 02 Apr 2007 03:35:20 -0400
Received: from smtp.nokia.com ([131.228.20.172] helo=mgw-ext13.nokia.com)
by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1HYH4R-0000lU-9r
for avt@ietf.org; Mon, 02 Apr 2007 03:35:20 -0400
Received: from esebh105.NOE.Nokia.com (esebh105.ntc.nokia.com [172.21.138.211])
by mgw-ext13.nokia.com (Switch-3.2.5/Switch-3.2.5) with ESMTP id
l327ZBDf029630; Mon, 2 Apr 2007 10:35:16 +0300
Received: from esebh103.NOE.Nokia.com ([172.21.143.33]) by
esebh105.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830);
Mon, 2 Apr 2007 10:35:06 +0300
Received: from trebe101.NOE.Nokia.com ([172.22.124.61]) by
esebh103.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830);
Mon, 2 Apr 2007 10:35:06 +0300
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [AVT] AVC NALUs RTP packetisation
Date: Mon, 2 Apr 2007 10:35:05 +0300
Message-ID: <1C1F3D15859526459B4DD0A7A9B2268B034DD891@trebe101.NOE.Nokia.com>
In-Reply-To:
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [AVT] AVC NALUs RTP packetisation
Thread-Index: Acd0WZbvdcCfYcjlTBCH5x+Nk0VlgQAnrcrA
References: <46094749.1030806@vil.ite.mee.com>
<1C1F3D15859526459B4DD0A7A9B2268B03488F9D@trebe101.NOE.Nokia.com>
<460A45A5.4090908@vil.ite.mee.com>
<1C1F3D15859526459B4DD0A7A9B2268B034B42FB@trebe101.NOE.Nokia.com>
<460CE89F.7060000@vil.ite.mee.com>
From:
To: ,
X-OriginalArrivalTime: 02 Apr 2007 07:35:06.0355 (UTC)
FILETIME=[6F225C30:01C774F9]
X-eXpurgate-Category: 1/0
X-eXpurgate-ID: 149371::070402103516-6F4DBBB0-0CB8AF33/0-0/0-1
X-Nokia-AV: Clean
X-Spam-Score: 0.2 (/)
X-Scan-Signature: e5ba305d0e64821bf3d8bc5d3bb07228
Cc: avt@ietf.org
X-BeenThere: avt@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Audio/Video Transport Working Group
List-Unsubscribe: ,
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: avt-bounces@ietf.org
Confirmed that the SSRC multiplexing stuff has gone for good. The
original intention for that was to save number of fireware pinholes
and/or to enable stream adaptation when SRTP is in use. But it was later
found that there are no good use case.=20
BR, YK=20
>-----Original Message-----
>From: ext Colin Perkins [mailto:csp@csperkins.org]=20
>Sent: Sunday, April 01, 2007 3:29 PM
>To: Nikola Sprljan
>Cc: Wang Ye-Kui (Nokia-NRC/Tampere); avt@ietf.org
>Subject: Re: [AVT] AVC NALUs RTP packetisation
>
>On 30 Mar 2007, at 11:38, Nikola Sprljan wrote:
>...
>> I guess what I'd like to ask this time is - is SSRC=20
>multiplexing gone=20
>> for good, or there's still a chance it could be reconsidered?
>
>I hope it's gone for good, since it gave the (false)=20
>impression that one could reliably adapt RTP streams without=20
>being in the signalling/ security context, and without=20
>buffering packets.
>
>--
>Colin Perkins
>http://csperkins.org/
>
>
>
_______________________________________________
Audio/Video Transport Working Group
avt@ietf.org
https://www1.ietf.org/mailman/listinfo/avt
From avt-bounces@ietf.org Mon Apr 02 06:12:14 2007
Return-path:
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
by megatron.ietf.org with esmtp (Exim 4.43)
id 1HYJVJ-0001pu-Q8; Mon, 02 Apr 2007 06:11:13 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
by megatron.ietf.org with esmtp (Exim 4.43) id 1HYJVI-0001pm-Ax
for avt@ietf.org; Mon, 02 Apr 2007 06:11:12 -0400
Received: from [211.189.53.2] (helo=kor1corpmail01.mediator.com)
by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1HYJVG-0004MJ-Ej
for avt@ietf.org; Mon, 02 Apr 2007 06:11:12 -0400
MIME-Version: 1.0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: [AVT] Why RTCP is needed for synch after long time in aggregated A/V
RTSP session?
Date: Mon, 2 Apr 2007 19:10:57 +0900
Message-ID:
In-Reply-To: <4610AB4C.1080807@ericsson.com>
References: <006301c772dd$b6ab7fa0$0fa2ee0a@viola>
<4610AB4C.1080807@ericsson.com>
From: "Jaehwan Kim"
To: "Magnus Westerlund" ,
"Ross Finlayson"
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 50a516d93fd399dc60588708fd9a3002
Cc: annasagaram.vamsi@aftek.com, avt@ietf.org,
"Y. Matsui"
X-BeenThere: avt@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Audio/Video Transport Working Group
List-Unsubscribe: ,
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: avt-bounces@ietf.org
Dear Magnus,
Yes, we need. And thanks to this group, people could learn many things
about RTP timestamp as described in the Appendix B of rfc2326bis. Now I
found most major players have been changed to follow it; it was not in
the past.
As for the subject, I would appreciate if we add more text about "why"
in future; I found one sentence from rfc2326bis-04 but failed to find
why.
(page92)
I felt that Ross knows some empirical knowledge. So, I asked him.
Ross, do you mind if you share your experience with us?=20
>From my 2 cents, if the given RTSP session is VOD, although the given
session is enough long, the additional work, checking RTCP would not be
necessary to our client codes.
I think Ross mentioned the live RTSP session, in which we need to take
into account more. I would like to learn :->
And inline:
Magnus wrote:
>Okay, we will log a request to clarify that RTP-Info only provides for=20
>initial sync and that RTCP is needed for maintaining sync in the case
of=20
>clock drift. But there is much more on timestamp handling in=20
>http://tools.ietf.org/html/draft-ietf-mmusic-rfc2326bis-14
>than what is in RFC 2326.
>I could also recommend looking at the How To write RTP payload formats=20
>that has some discussion on the RTCP synch mechanism or Colin Perkins=20
>book on RTP.
>http://tools.ietf.org/html/draft-ietf-avt-rtp-howto-01
Very nice references. Of course, Colin's is bible.
>There is also need to have RTCP for synch in cases such as multiple=20
>sources (SSRCs) and live sessions. In addition RTCP is needed for its=20
>transport monitoring purpose. The sender can't do any type of
adaptation=20
>or avoid causing long term congestion unless RTCP is used.
Sometimes, non-functional requirement like simplicity and modifiability
is more important than additional features. IMHO, thereby allowing an
applications using just RTP without RTCP would be meaningful. At least,
it looks like optional in rfc2326.
Cheers,
Jaehwan
_______________________________________________
Audio/Video Transport Working Group
avt@ietf.org
https://www1.ietf.org/mailman/listinfo/avt
From avt-bounces@ietf.org Mon Apr 02 07:09:13 2007
Return-path:
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
by megatron.ietf.org with esmtp (Exim 4.43)
id 1HYKOH-0008BV-3x; Mon, 02 Apr 2007 07:08:01 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
by megatron.ietf.org with esmtp (Exim 4.43) id 1HYKOF-0008BE-QX
for avt@ietf.org; Mon, 02 Apr 2007 07:07:59 -0400
Received: from an-out-0708.google.com ([209.85.132.241])
by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1HYKOE-00074C-IC
for avt@ietf.org; Mon, 02 Apr 2007 07:07:59 -0400
Received: by an-out-0708.google.com with SMTP id d30so1250742and
for ; Mon, 02 Apr 2007 04:07:58 -0700 (PDT)
Received: by 10.100.225.13 with SMTP id x13mr3362276ang.1175512078343;
Mon, 02 Apr 2007 04:07:58 -0700 (PDT)
Received: by 10.100.126.19 with HTTP; Mon, 2 Apr 2007 04:07:58 -0700 (PDT)
Message-ID: <31d1be720704020407j1c28deck28568be5aae13e58@mail.gmail.com>
Date: Mon, 2 Apr 2007 04:07:58 -0700
From: "Greg Herlein"
To: "Magnus Westerlund"
Subject: Re: [AVT] Video streaming withour RTCP
In-Reply-To: <4610AB4C.1080807@ericsson.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References:
<006301c772dd$b6ab7fa0$0fa2ee0a@viola>
<4610AB4C.1080807@ericsson.com>
X-Spam-Score: 0.0 (/)
X-Scan-Signature: f607d15ccc2bc4eaf3ade8ffa8af02a0
Cc: Jaehwan Kim , Ross Finlayson ,
annasagaram.vamsi@aftek.com, avt@ietf.org,
"Y. Matsui"
X-BeenThere: avt@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Audio/Video Transport Working Group
List-Unsubscribe: ,
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: avt-bounces@ietf.org
If we are going to add some language, I'd like to make sure we make a
clear point that RTCP provides the only standard way to get
*visibility* into the playback behavior (ie, packet loss rate etc) at
the end points. Even if you don't plan to actively *use* that data
for stream control, it's very important to have that data for some
applications - and RTCP provides the standard way to get it. I have
to explain this constantly to folks - more specific language about
"Why RTCP?" would be a good thing.
Greg
On 4/2/07, Magnus Westerlund wrote:
> Jaehwan Kim skrev:
> >
> >
> > Hi,
> >
> > And could you explain more in detail?
> >
> > I would appreciate if you give us an example.
> >
> >
> >
> > If there is a common misconception happening again and again, IMO, the
> > notion with enough examples should be into RTSP specification.
>
> Okay, we will log a request to clarify that RTP-Info only provides for
> initial sync and that RTCP is needed for maintaining sync in the case of
> clock drift. But there is much more on timestamp handling in
> http://tools.ietf.org/html/draft-ietf-mmusic-rfc2326bis-14
> than what is in RFC 2326.
>
> I could also recommend looking at the How To write RTP payload formats
> that has some discussion on the RTCP synch mechanism or Colin Perkins
> book on RTP.
> http://tools.ietf.org/html/draft-ietf-avt-rtp-howto-01
>
> There is also need to have RTCP for synch in cases such as multiple
> sources (SSRCs) and live sessions. In addition RTCP is needed for its
> transport monitoring purpose. The sender can't do any type of adaptation
> or avoid causing long term congestion unless RTCP is used.
>
> Cheers
>
> Magnus Westerlund
>
> IETF Transport Area Director & TSVWG Chair
> ----------------------------------------------------------------------
> Multimedia Technologies, Ericsson Research EAB/TVM/M
> ----------------------------------------------------------------------
> Ericsson AB | Phone +46 8 4048287
> Torshamsgatan 23 | Fax +46 8 7575550
> S-164 80 Stockholm, Sweden | mailto: magnus.westerlund@ericsson.com
> ----------------------------------------------------------------------
>
> _______________________________________________
> Audio/Video Transport Working Group
> avt@ietf.org
> https://www1.ietf.org/mailman/listinfo/avt
>
_______________________________________________
Audio/Video Transport Working Group
avt@ietf.org
https://www1.ietf.org/mailman/listinfo/avt
From avt-bounces@ietf.org Mon Apr 02 15:22:25 2007
Return-path:
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
by megatron.ietf.org with esmtp (Exim 4.43)
id 1HYS5C-0007Is-29; Mon, 02 Apr 2007 15:20:50 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
by megatron.ietf.org with esmtp (Exim 4.43) id 1HYS5A-0007Ig-KU
for avt@ietf.org; Mon, 02 Apr 2007 15:20:48 -0400
Received: from dns.packetdesign.com ([65.192.41.10]
helo=mailman.packetdesign.com)
by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1HYS57-00043G-7w
for avt@ietf.org; Mon, 02 Apr 2007 15:20:48 -0400
Received: from dhcp-1-81.packetdesign.com (dhcp-1-81.packetdesign.com
[192.168.1.81])
by mailman.packetdesign.com (8.13.1/8.13.1) with ESMTP id
l32JKREq008106; Mon, 2 Apr 2007 12:20:28 -0700
Date: Mon, 2 Apr 2007 12:21:30 -0700 (PDT)
From: Stephen Casner
To: "Coinchon, Mathias"
Subject: Re: [AVT] Parameters lost for media type MPA in new RFC4856 ?
In-Reply-To:
Message-ID: <20070402121602.F89535@hsa>
References:
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-Spam-Score: 0.0 (/)
X-Scan-Signature: bb8f917bb6b8da28fc948aeffb74aa17
Cc: avt@ietf.org
X-BeenThere: avt@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Audio/Video Transport Working Group
List-Unsubscribe: ,
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: avt-bounces@ietf.org
On Mon, 2 Apr 2007, Coinchon, Mathias wrote:
> I have one question regarding the new RFC4855 and RFC4856 that obsolete
> RFC3555:
>
> - Where are parameters for MPA (mpeg audio) specified ? They were in RFC3555
> (4.1.17) but not anymore in RFC4856.
>
> As I have understood from RFC4855/4856, parameters should now be specified
> in payload format RFCs.
> However looking in RFC2250 for MPEG payload format (video and audio) I don't
> see a specification of these parameters.
> Looking on IANA pages, media type MPA still point on RFC3555.
>
> Could you please tell me where to point now for MPEG audio parameters ?
Section 1.1, IANA Considerations, in RFC4856 says:
Some media type registrations contained in RFC 3555 are omitted
from this document; the existing registrations for those types
continue to be valid until updated by other RFCs.
That is why on the IANA pages, media type MPA still lists RFC3555 as
the reference.
> Will there be modifications of RFC2250 for MPEG payload format specifying
> parameters ? (and modification of RFC3550/3551 to point to RFC3855/56
> instead of RFC3555 ?)
There was some work done on updating RFC2250 by one of the authors,
but that has not come to fruition. In any case, I would expect any
changes to be backwards compatible with the parameter specifications
in RFC3555.
-- Steve
_______________________________________________
Audio/Video Transport Working Group
avt@ietf.org
https://www1.ietf.org/mailman/listinfo/avt
From avt-bounces@ietf.org Tue Apr 03 03:43:34 2007
Return-path:
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
by megatron.ietf.org with esmtp (Exim 4.43)
id 1HYdec-0006PT-Od; Tue, 03 Apr 2007 03:42:10 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
by megatron.ietf.org with esmtp (Exim 4.43) id 1HYdea-0006PC-Od
for avt@ietf.org; Tue, 03 Apr 2007 03:42:08 -0400
Received: from ihemail1.lucent.com ([135.245.0.33])
by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1HYdeV-0001xl-Bs
for avt@ietf.org; Tue, 03 Apr 2007 03:42:08 -0400
Received: from ilexp02.ndc.lucent.com (h135-3-39-2.lucent.com [135.3.39.2])
by ihemail1.lucent.com (8.13.8/IER-o) with ESMTP id l337fgQ8022123
for ; Tue, 3 Apr 2007 02:42:01 -0500 (CDT)
Received: from inexp02.in.lucent.com ([135.254.223.66]) by
ilexp02.ndc.lucent.com with Microsoft SMTPSVC(6.0.3790.1830);
Tue, 3 Apr 2007 02:42:00 -0500
Received: from INEXC1U02.in.lucent.com ([135.254.223.25]) by
inexp02.in.lucent.com with Microsoft SMTPSVC(6.0.3790.1830);
Tue, 3 Apr 2007 13:11:54 +0530
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Tue, 3 Apr 2007 13:11:54 +0530
Message-ID:
In-Reply-To: <20070402121602.F89535@hsa>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: Confusion regarding RTP
Thread-Index: Acd1XKnmz8/3t3H8QSCt9riNlZJTIAAZfNsQ
References:
<20070402121602.F89535@hsa>
From: "Bhattacharya, Abhijit \(Abhijit\)"
To:
X-OriginalArrivalTime: 03 Apr 2007 07:41:54.0938 (UTC)
FILETIME=[8D14EDA0:01C775C3]
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.33
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 0bc60ec82efc80c84b8d02f4b0e4de22
Subject: [AVT] Confusion regarding RTP
X-BeenThere: avt@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Audio/Video Transport Working Group
List-Unsubscribe: ,
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: avt-bounces@ietf.org
Hi,
I have a confusion regarding RTP header. Let us suppose the following
considerations
Version =3D 2
Padding =3D 0
Extension =3D 0
CC =3D 0
PT =3D 0
Seq. No. =3D 0A9E
Now what should be the packet look like=20
0000 80 00 0A 9E ....
0010 ................
OR=20
0000 02 00 9E 0A ....
0010 ................
I am confused regarding this.=20
Thanks and regards,
Abhijit
_______________________________________________
Audio/Video Transport Working Group
avt@ietf.org
https://www1.ietf.org/mailman/listinfo/avt
From avt-bounces@ietf.org Tue Apr 03 04:51:44 2007
Return-path:
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
by megatron.ietf.org with esmtp (Exim 4.43)
id 1HYein-0008TC-NS; Tue, 03 Apr 2007 04:50:33 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
by megatron.ietf.org with esmtp (Exim 4.43) id 1HYeim-0008St-Kt
for avt@ietf.org; Tue, 03 Apr 2007 04:50:32 -0400
Received: from mailgw4.ericsson.se ([193.180.251.62])
by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1HYeig-0000cO-VM
for avt@ietf.org; Tue, 03 Apr 2007 04:50:32 -0400
Received: from mailgw4.ericsson.se (unknown [127.0.0.1])
by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id
70A22215C6; Tue, 3 Apr 2007 10:50:24 +0200 (CEST)
X-AuditID: c1b4fb3e-b01efbb0000061ca-d4-461215503937
Received: from esealmw129.eemea.ericsson.se (unknown [153.88.254.124])
by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id
5E7D321580; Tue, 3 Apr 2007 10:50:24 +0200 (CEST)
Received: from esealmw127.eemea.ericsson.se ([153.88.254.171]) by
esealmw129.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);
Tue, 3 Apr 2007 10:50:21 +0200
Received: from [147.214.30.247] ([147.214.30.247]) by
esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);
Tue, 3 Apr 2007 10:50:20 +0200
Message-ID: <4612154C.3090205@ericsson.com>
Date: Tue, 03 Apr 2007 10:50:20 +0200
From: Magnus Westerlund
User-Agent: Thunderbird 1.5.0.10 (Windows/20070221)
MIME-Version: 1.0
To: "Bhattacharya, Abhijit \(Abhijit\)"
Subject: Re: [AVT] Confusion regarding RTP
References: <20070402121602.F89535@hsa>
In-Reply-To:
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 03 Apr 2007 08:50:20.0873 (UTC)
FILETIME=[1C68E390:01C775CD]
X-Brightmail-Tracker: AAAAAA==
X-Spam-Score: 0.0 (/)
X-Scan-Signature: cab78e1e39c4b328567edb48482b6a69
Cc: avt@ietf.org
X-BeenThere: avt@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Audio/Video Transport Working Group
List-Unsubscribe: ,
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: avt-bounces@ietf.org
Bhattacharya, Abhijit (Abhijit) skrev:
> Hi,
>
> I have a confusion regarding RTP header. Let us suppose the following
> considerations
>
> Version = 2
> Padding = 0
> Extension = 0
> CC = 0
> PT = 0
> Seq. No. = 0A9E
>
> Now what should be the packet look like
>
> 0000 80 00 0A 9E ....
> 0010 ................
>
> OR
>
> 0000 02 00 9E 0A ....
> 0010 ................
>
> I am confused regarding this.
>
> Thanks and regards,
> Abhijit
>
>
It is network byte order, which means the most significant bits and
bytes first.
Cheers
Magnus Westerlund
IETF Transport Area Director & TSVWG Chair
----------------------------------------------------------------------
Multimedia Technologies, Ericsson Research EAB/TVM/M
----------------------------------------------------------------------
Ericsson AB | Phone +46 8 4048287
Torshamsgatan 23 | Fax +46 8 7575550
S-164 80 Stockholm, Sweden | mailto: magnus.westerlund@ericsson.com
----------------------------------------------------------------------
_______________________________________________
Audio/Video Transport Working Group
avt@ietf.org
https://www1.ietf.org/mailman/listinfo/avt
From avt-bounces@ietf.org Tue Apr 03 04:57:54 2007
Return-path:
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
by megatron.ietf.org with esmtp (Exim 4.43)
id 1HYep2-0004H6-Ts; Tue, 03 Apr 2007 04:57:00 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
by megatron.ietf.org with esmtp (Exim 4.43) id 1HYep1-0004FF-Ge
for avt@ietf.org; Tue, 03 Apr 2007 04:56:59 -0400
Received: from ihemail2.lucent.com ([135.245.0.35])
by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1HYeoy-00049W-Vi
for avt@ietf.org; Tue, 03 Apr 2007 04:56:59 -0400
Received: from ilexp02.ndc.lucent.com (h135-3-39-2.lucent.com [135.3.39.2])
by ihemail2.lucent.com (8.13.8/IER-o) with ESMTP id l338usdq012337;
Tue, 3 Apr 2007 03:56:54 -0500 (CDT)
Received: from inexp01.in.lucent.com ([135.254.223.65]) by
ilexp02.ndc.lucent.com with Microsoft SMTPSVC(6.0.3790.1830);
Tue, 3 Apr 2007 03:56:54 -0500
Received: from INEXC1U02.in.lucent.com ([135.254.223.25]) by
inexp01.in.lucent.com with Microsoft SMTPSVC(6.0.3790.1830);
Tue, 3 Apr 2007 14:26:50 +0530
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [AVT] Confusion regarding RTP
Date: Tue, 3 Apr 2007 14:26:50 +0530
Message-ID:
In-Reply-To: <4612154C.3090205@ericsson.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [AVT] Confusion regarding RTP
Thread-Index: Acd1zWw8bpzHe6poTf293ofqVPtRSgAADzBQ
References: <20070402121602.F89535@hsa>
<4612154C.3090205@ericsson.com>
From: "Bhattacharya, Abhijit \(Abhijit\)"
To: "Magnus Westerlund"
X-OriginalArrivalTime: 03 Apr 2007 08:56:50.0402 (UTC)
FILETIME=[04964C20:01C775CE]
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.35
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 02ec665d00de228c50c93ed6b5e4fc1a
Cc: avt@ietf.org
X-BeenThere: avt@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Audio/Video Transport Working Group
List-Unsubscribe: ,
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: avt-bounces@ietf.org
Hi Magnus,
Thanks for the information. Actually, the rtp_hdt_t structure in RFC
3550 resulted in the confusion. Here version field is the 1st element in
the structure. So it becomes the LSB. Anyways, now its clear to me.
Thanks and regards,
Abhijit=20
-----Original Message-----
From: Magnus Westerlund [mailto:magnus.westerlund@ericsson.com]=20
Sent: Tuesday, April 03, 2007 2:20 PM
To: Bhattacharya, Abhijit (Abhijit)
Cc: avt@ietf.org
Subject: Re: [AVT] Confusion regarding RTP
Bhattacharya, Abhijit (Abhijit) skrev:
> Hi,
>=20
> I have a confusion regarding RTP header. Let us suppose the following=20
> considerations
>=20
> Version =3D 2
> Padding =3D 0
> Extension =3D 0
> CC =3D 0
> PT =3D 0
> Seq. No. =3D 0A9E
>=20
> Now what should be the packet look like
>=20
> 0000 80 00 0A 9E ....
> 0010 ................
>=20
> OR
>=20
> 0000 02 00 9E 0A ....
> 0010 ................
>=20
> I am confused regarding this.=20
>=20
> Thanks and regards,
> Abhijit
>=20
>=20
It is network byte order, which means the most significant bits and
bytes first.
Cheers
Magnus Westerlund
IETF Transport Area Director & TSVWG Chair
----------------------------------------------------------------------
Multimedia Technologies, Ericsson Research EAB/TVM/M
----------------------------------------------------------------------
Ericsson AB | Phone +46 8 4048287
Torshamsgatan 23 | Fax +46 8 7575550
S-164 80 Stockholm, Sweden | mailto: magnus.westerlund@ericsson.com
----------------------------------------------------------------------
_______________________________________________
Audio/Video Transport Working Group
avt@ietf.org
https://www1.ietf.org/mailman/listinfo/avt
From avt-bounces@ietf.org Tue Apr 03 05:05:07 2007
Return-path:
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
by megatron.ietf.org with esmtp (Exim 4.43)
id 1HYewD-0000qI-EW; Tue, 03 Apr 2007 05:04:25 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
by megatron.ietf.org with esmtp (Exim 4.43) id 1HYewB-0000cj-Tf
for avt@ietf.org; Tue, 03 Apr 2007 05:04:23 -0400
Received: from mailgw4.ericsson.se ([193.180.251.62])
by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1HYew6-0000qE-7x
for avt@ietf.org; Tue, 03 Apr 2007 05:04:23 -0400
Received: from mailgw4.ericsson.se (unknown [127.0.0.1])
by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id
8053B2159D; Tue, 3 Apr 2007 11:04:15 +0200 (CEST)
X-AuditID: c1b4fb3e-af9eebb0000061ca-97-4612188fa346
Received: from esealmw126.eemea.ericsson.se (unknown [153.88.254.123])
by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id
6CE61213B2; Tue, 3 Apr 2007 11:04:15 +0200 (CEST)
Received: from esealmw128.eemea.ericsson.se ([153.88.254.172]) by
esealmw126.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);
Tue, 3 Apr 2007 11:04:14 +0200
Received: from [147.214.30.247] ([147.214.30.247]) by
esealmw128.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);
Tue, 3 Apr 2007 11:04:15 +0200
Message-ID: <4612188E.90507@ericsson.com>
Date: Tue, 03 Apr 2007 11:04:14 +0200
From: Magnus Westerlund
User-Agent: Thunderbird 1.5.0.10 (Windows/20070221)
MIME-Version: 1.0
To: "Bhattacharya, Abhijit \(Abhijit\)"
Subject: Re: [AVT] Confusion regarding RTP
References: <20070402121602.F89535@hsa>
<4612154C.3090205@ericsson.com>
In-Reply-To:
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 03 Apr 2007 09:04:15.0019 (UTC)
FILETIME=[0D9977B0:01C775CF]
X-Brightmail-Tracker: AAAAAA==
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 9ed51c9d1356100bce94f1ae4ec616a9
Cc: avt@ietf.org
X-BeenThere: avt@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Audio/Video Transport Working Group
List-Unsubscribe: ,
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: avt-bounces@ietf.org
Bhattacharya, Abhijit (Abhijit) skrev:
> Hi Magnus,
>
> Thanks for the information. Actually, the rtp_hdt_t structure in RFC
> 3550 resulted in the confusion. Here version field is the 1st element in
> the structure. So it becomes the LSB. Anyways, now its clear to me.
>
Your comment make me think you are misunderstanding how bit fields in C
are defined? If one looks at the rtp_hdt_t:
typedef struct {
unsigned int version:2; /* protocol version */
unsigned int p:1; /* padding flag */
unsigned int x:1; /* header extension flag */
unsigned int cc:4; /* CSRC count */
unsigned int m:1; /* marker bit */
unsigned int pt:7; /* payload type */
unsigned int seq:16; /* sequence number */
u_int32 ts; /* timestamp */
u_int32 ssrc; /* synchronization source */
u_int32 csrc[1]; /* optional CSRC list */
} rtp_hdr_t;
I can't understand why you think version is the LSB. Starting in the
most significant 2 bits in the first byte write version. The next bit is
p, then x, then 4 bits of CC in MSB to LSB. In the next byte there is
first the marker bit (bit 9) and then 7 PT bits. Then you have the more
significant first byte of the sequence number, followed by the less
significant byte.
Cheers
Magnus Westerlund
IETF Transport Area Director & TSVWG Chair
----------------------------------------------------------------------
Multimedia Technologies, Ericsson Research EAB/TVM/M
----------------------------------------------------------------------
Ericsson AB | Phone +46 8 4048287
Torshamsgatan 23 | Fax +46 8 7575550
S-164 80 Stockholm, Sweden | mailto: magnus.westerlund@ericsson.com
----------------------------------------------------------------------
_______________________________________________
Audio/Video Transport Working Group
avt@ietf.org
https://www1.ietf.org/mailman/listinfo/avt
From avt-bounces@ietf.org Tue Apr 03 06:11:06 2007
Return-path:
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
by megatron.ietf.org with esmtp (Exim 4.43)
id 1HYfxy-0001hB-QB; Tue, 03 Apr 2007 06:10:18 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
by megatron.ietf.org with esmtp (Exim 4.43) id 1HYfxy-0001fw-8X
for avt@ietf.org; Tue, 03 Apr 2007 06:10:18 -0400
Received: from smtp3.wanadoo.co.uk ([193.252.22.156] helo=smtp3.freeserve.com)
by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1HYfxt-00032i-Nz
for avt@ietf.org; Tue, 03 Apr 2007 06:10:18 -0400
Received: from me-wanadoo.net (localhost [127.0.0.1])
by mwinf3201.me.freeserve.com (SMTP Server) with ESMTP id 0B7362400085;
Tue, 3 Apr 2007 12:10:11 +0200 (CEST)
Received: from Codalogic (user-54433ea2.lns5-c7.dsl.pol.co.uk [84.67.62.162])
by mwinf3201.me.freeserve.com (SMTP Server) with SMTP id
A14FF2400082; Tue, 3 Apr 2007 12:10:10 +0200 (CEST)
X-ME-UUID: 20070403101010660.A14FF2400082@mwinf3201.me.freeserve.com
Message-ID: <009901c775d8$4049c2b0$2400a8c0@Codalogic>
From: "Pete Cordell"
To: "Magnus Westerlund" ,
"Bhattacharya, Abhijit (Abhijit)"
References: <20070402121602.F89535@hsa><4612154C.3090205@ericsson.com>
<4612188E.90507@ericsson.com>
Subject: Re: [AVT] Confusion regarding RTP
Date: Tue, 3 Apr 2007 11:10:02 +0100
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
reply-type=response
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.3028
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
X-Spam-Score: 0.1 (/)
X-Scan-Signature: b132cb3ed2d4be2017585bf6859e1ede
Cc: avt@ietf.org
X-BeenThere: avt@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Audio/Video Transport Working Group
List-Unsubscribe: ,
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: avt-bounces@ietf.org
It seems you've forgotten that C (and C++) reserves the right to pack these
up how it feels. Try:
#include
typedef unsigned int u_int32;
typedef struct {
unsigned int version:2; /* protocol version */
unsigned int p:1; /* padding flag */
unsigned int x:1; /* header extension flag */
unsigned int cc:4; /* CSRC count */
unsigned int m:1; /* marker bit */
unsigned int pt:7; /* payload type */
unsigned int seq:16; /* sequence number */
u_int32 ts; /* timestamp */
u_int32 ssrc; /* synchronization source */
u_int32 csrc[1]; /* optional CSRC list */
} rtp_hdr_t;
typedef union {
rtp_hdr_t rtp;
unsigned int uint;
} thingy;
int main()
{
thingy my_thing;
my_thing.uint = 0;
my_thing.rtp.version = 3;
printf( "Version: %x\n", my_thing.uint );
my_thing.uint = 0;
my_thing.rtp.seq = 0xffff;
printf( "Seq: %x\n", my_thing.uint );
return 0;
}
I get:
Version: 3
seq: ffff0000
on both Visual Studio x86 and Cygwin GCC (x86).
Hence this is not likely to be portable.
HTH,
Pete.
--
=============================================
Pete Cordell
Tech-Know-Ware Ltd
for XML to C++ data binding visit
http://www.tech-know-ware.com/lmx/
http://www.codalogic.com/lmx/
=============================================
----- Original Message -----
From: "Magnus Westerlund"
To: "Bhattacharya, Abhijit (Abhijit)"
Cc:
Sent: Tuesday, April 03, 2007 10:04 AM
Subject: Re: [AVT] Confusion regarding RTP
> Bhattacharya, Abhijit (Abhijit) skrev:
>> Hi Magnus,
>>
>> Thanks for the information. Actually, the rtp_hdt_t structure in RFC
>> 3550 resulted in the confusion. Here version field is the 1st element in
>> the structure. So it becomes the LSB. Anyways, now its clear to me.
>>
>
> Your comment make me think you are misunderstanding how bit fields in C
> are defined? If one looks at the rtp_hdt_t:
>
> typedef struct {
> unsigned int version:2; /* protocol version */
> unsigned int p:1; /* padding flag */
> unsigned int x:1; /* header extension flag */
> unsigned int cc:4; /* CSRC count */
> unsigned int m:1; /* marker bit */
> unsigned int pt:7; /* payload type */
> unsigned int seq:16; /* sequence number */
> u_int32 ts; /* timestamp */
> u_int32 ssrc; /* synchronization source */
> u_int32 csrc[1]; /* optional CSRC list */
> } rtp_hdr_t;
>
> I can't understand why you think version is the LSB. Starting in the most
> significant 2 bits in the first byte write version. The next bit is p,
> then x, then 4 bits of CC in MSB to LSB. In the next byte there is first
> the marker bit (bit 9) and then 7 PT bits. Then you have the more
> significant first byte of the sequence number, followed by the less
> significant byte.
>
> Cheers
>
> Magnus Westerlund
>
> IETF Transport Area Director & TSVWG Chair
> ----------------------------------------------------------------------
> Multimedia Technologies, Ericsson Research EAB/TVM/M
> ----------------------------------------------------------------------
> Ericsson AB | Phone +46 8 4048287
> Torshamsgatan 23 | Fax +46 8 7575550
> S-164 80 Stockholm, Sweden | mailto: magnus.westerlund@ericsson.com
> ----------------------------------------------------------------------
>
> _______________________________________________
> Audio/Video Transport Working Group
> avt@ietf.org
> https://www1.ietf.org/mailman/listinfo/avt
>
_______________________________________________
Audio/Video Transport Working Group
avt@ietf.org
https://www1.ietf.org/mailman/listinfo/avt
From avt-bounces@ietf.org Tue Apr 03 06:26:55 2007
Return-path:
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
by megatron.ietf.org with esmtp (Exim 4.43)
id 1HYgCy-00049J-Cf; Tue, 03 Apr 2007 06:25:48 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
by megatron.ietf.org with esmtp (Exim 4.43) id 1HYgCx-00046h-7z
for avt@ietf.org; Tue, 03 Apr 2007 06:25:47 -0400
Received: from mee06.mee.com ([194.130.244.68])
by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1HYgCv-0005fh-QE
for avt@ietf.org; Tue, 03 Apr 2007 06:25:47 -0400
Received: from meemgw02 ([10.226.1.24] helo=meemgw02.mee.com)
by mee06.mee.com with esmtp (Exim 4.43) id 1HYgCh-0002ba-3z
for avt@ietf.org; Tue, 03 Apr 2007 11:25:31 +0100
Received: from meetvd02 (meetvd02.diamondlink.com [10.226.1.23])
by meemgw02.mee.com (8.11.6/8.11.6) with SMTP id l33APU247066
for ; Tue, 3 Apr 2007 11:25:30 +0100 (BST)
Received: From einstein.vil.ite.mee.com ([10.226.210.23]) by meetvd02
(WebShield SMTP v4.5 MR1a P0803.345);
id 1175595050125; Tue, 3 Apr 2007 11:10:50 +0100
Received: from [10.226.210.105]
by einstein.vil.ite.mee.com with esmtp (Exim 4.62)
(envelope-from )
id 1HYgCZ-0002a5-DR; Tue, 03 Apr 2007 11:25:24 +0100
Message-ID: <46122B93.4050507@vil.ite.mee.com>
Date: Tue, 03 Apr 2007 11:25:23 +0100
From: Nikola Sprljan
User-Agent: Thunderbird 1.5.0.10 (Windows/20070221)
MIME-Version: 1.0
To: Magnus Westerlund
Subject: Re: [AVT] Confusion regarding RTP
References: <20070402121602.F89535@hsa> <4612154C.3090205@ericsson.com>
<4612188E.90507@ericsson.com>
In-Reply-To: <4612188E.90507@ericsson.com>
X-Enigmail-Version: 0.94.2.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Spam-Score: -5.4 (-----)
X-Spam-Report: VI-Lab's spam scanner has examined this email on server
"einstein.vil.ite.mee.com". The results of the scan are shown below.
If you have any questions, see the administrator of that system.
Is Spam? No (-5.4 points, 3.5 required)
pts rule name description
---- ----------------------
--------------------------------------------------
-1.8 ALL_TRUSTED Passed through trusted hosts only via SMTP
-3.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1%
[score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Scan-Signature: f60d0f7806b0c40781eee6b9cd0b2135
Cc: avt@ietf.org
X-BeenThere: avt@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Audio/Video Transport Working Group
List-Unsubscribe: ,
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: avt-bounces@ietf.org
Magnus Westerlund wrote:
> Bhattacharya, Abhijit (Abhijit) skrev:
>> Hi Magnus,
>>
>> Thanks for the information. Actually, the rtp_hdt_t structure in RFC
>> 3550 resulted in the confusion. Here version field is the 1st element in
>> the structure. So it becomes the LSB. Anyways, now its clear to me.
>>
>
> Your comment make me think you are misunderstanding how bit fields in C
> are defined? If one looks at the rtp_hdt_t:
>
> typedef struct {
> unsigned int version:2; /* protocol version */
> unsigned int p:1; /* padding flag */
> unsigned int x:1; /* header extension flag */
> unsigned int cc:4; /* CSRC count */
> unsigned int m:1; /* marker bit */
> unsigned int pt:7; /* payload type */
> unsigned int seq:16; /* sequence number */
> u_int32 ts; /* timestamp */
> u_int32 ssrc; /* synchronization source */
> u_int32 csrc[1]; /* optional CSRC list */
> } rtp_hdr_t;
>
> I can't understand why you think version is the LSB. Starting in the
> most significant 2 bits in the first byte write version. The next bit is
> p, then x, then 4 bits of CC in MSB to LSB. In the next byte there is
> first the marker bit (bit 9) and then 7 PT bits. Then you have the more
> significant first byte of the sequence number, followed by the less
> significant byte.
It think the problem that Abhijit is encountering is a common one with C
bit-fields - the order of bits will depend on endianess of processor
this is compiled on. Since x86 processors use the little-endian format,
you'll have to manually reverse the order of fields for each byte in the
structure. You'll also have to do conversions from/to network byte order
(which is big-endian) by using ntohl and htonl (and other) functions.
Also, for data to be aligned properly, for some versions of the MS
compiler you have to specify correct packing when in a default Debug mode:
#pragma pack(1)
, otherwise casting pointers to/from structures including rtp_hdr_t
struct would not work.
Kind regards,
Nikola Sprljan
--
*Dr. Nikola Sprljan*
/Research Engineer/
*MITSUBISHI ELECTRIC INFORMATION TECHNOLOGY CENTRE EUROPE B.V*
*VISUAL INFORMATION LABORATORY*
20, Frederick Sanger Road
The Surrey Research Park
Guildford, Surrey GU2 7YD
/UK Registered Branch BR 003158/
*DDI Telephone: +44 1483 885538*
Tel: +44 1483 885800 Fax: +44 1483 579107
CONFIDENTIALITY NOTICE:
This message contains information which is confidential and/or privileged
and is intended for the named addressee(s) only. If you are not the
intended recipient, you must not copy, distribute, disclose, otherwise
use the information or take any action in reliance on it. If you have
received this message in error, please notify sender immediately and
destroy any copies whether in physical or electronic record.
_______________________________________________
Audio/Video Transport Working Group
avt@ietf.org
https://www1.ietf.org/mailman/listinfo/avt
From avt-bounces@ietf.org Tue Apr 03 06:37:36 2007
Return-path:
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
by megatron.ietf.org with esmtp (Exim 4.43)
id 1HYgNa-0004CX-CX; Tue, 03 Apr 2007 06:36:46 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
by megatron.ietf.org with esmtp (Exim 4.43) id 1HYgNY-0004BW-HK
for avt@ietf.org; Tue, 03 Apr 2007 06:36:44 -0400
Received: from mee06.mee.com ([194.130.244.68])
by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1HYgNX-0008PQ-9I
for avt@ietf.org; Tue, 03 Apr 2007 06:36:44 -0400
Received: from meemgw02 ([10.226.1.24] helo=meemgw02.mee.com)
by mee06.mee.com with esmtp (Exim 4.43) id 1HYgNW-00034i-Tn
for avt@ietf.org; Tue, 03 Apr 2007 11:36:42 +0100
Received: from meetvd02 (meetvd02.diamondlink.com [10.226.1.23])
by meemgw02.mee.com (8.11.6/8.11.6) with SMTP id l33Aag248567
for ; Tue, 3 Apr 2007 11:36:42 +0100 (BST)
Received: From einstein.vil.ite.mee.com ([10.226.210.23]) by meetvd02
(WebShield SMTP v4.5 MR1a P0803.345);
id 1175595722609; Tue, 3 Apr 2007 11:22:02 +0100
Received: from [10.226.210.105]
by einstein.vil.ite.mee.com with esmtp (Exim 4.62)
(envelope-from ) id 1HYgNP-0002gp-VQ
for avt@ietf.org; Tue, 03 Apr 2007 11:36:37 +0100
Message-ID: <46122E33.1000700@vil.ite.mee.com>
Date: Tue, 03 Apr 2007 11:36:35 +0100
From: Nikola Sprljan
User-Agent: Thunderbird 1.5.0.10 (Windows/20070221)
MIME-Version: 1.0
To: avt@ietf.org
Subject: Re: [AVT] Confusion regarding RTP
References: <20070402121602.F89535@hsa> <4612154C.3090205@ericsson.com> <4612188E.90507@ericsson.com>
<46122B93.4050507@vil.ite.mee.com>
In-Reply-To: <46122B93.4050507@vil.ite.mee.com>
X-Enigmail-Version: 0.94.2.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Spam-Score: -5.4 (-----)
X-Spam-Report: VI-Lab's spam scanner has examined this email on server
"einstein.vil.ite.mee.com". The results of the scan are shown below.
If you have any questions, see the administrator of that system.
Is Spam? No (-5.4 points, 3.5 required)
pts rule name description
---- ----------------------
--------------------------------------------------
-1.8 ALL_TRUSTED Passed through trusted hosts only via SMTP
-3.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1%
[score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 2870a44b67ee17965ce5ad0177e150f4
X-BeenThere: avt@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Audio/Video Transport Working Group
List-Unsubscribe: ,
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: avt-bounces@ietf.org
Please disregard the confidentiality notice in my previous mail, it was
inserted by mistake.
Nikola
_______________________________________________
Audio/Video Transport Working Group
avt@ietf.org
https://www1.ietf.org/mailman/listinfo/avt
From avt-bounces@ietf.org Tue Apr 03 06:46:17 2007
Return-path:
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
by megatron.ietf.org with esmtp (Exim 4.43)
id 1HYgVg-0004G6-IN; Tue, 03 Apr 2007 06:45:08 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
by megatron.ietf.org with esmtp (Exim 4.43) id 1HYgVf-0004Fm-6B
for avt@ietf.org; Tue, 03 Apr 2007 06:45:07 -0400
Received: from mr1.dcs.gla.ac.uk ([130.209.249.184])
by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1HYgVd-00042a-IH
for avt@ietf.org; Tue, 03 Apr 2007 06:45:07 -0400
Received: from vpn13.dcs.gla.ac.uk ([130.209.254.13]:53964)
by mr1.dcs.gla.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.42)
id 1HYgVR-0007aA-Ez; Tue, 03 Apr 2007 11:44:53 +0100
In-Reply-To: <46122B93.4050507@vil.ite.mee.com>
References: <20070402121602.F89535@hsa> <4612154C.3090205@ericsson.com>
<4612188E.90507@ericsson.com> <46122B93.4050507@vil.ite.mee.com>
Mime-Version: 1.0 (Apple Message framework v752.3)
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Message-Id:
Content-Transfer-Encoding: 7bit
From: Colin Perkins
Subject: Re: [AVT] Confusion regarding RTP
Date: Tue, 3 Apr 2007 11:44:47 +0100
To: Nikola Sprljan
X-Mailer: Apple Mail (2.752.3)
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 944ecb6e61f753561f559a497458fb4f
Cc: Magnus Westerlund , avt@ietf.org
X-BeenThere: avt@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Audio/Video Transport Working Group
List-Unsubscribe: ,
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: avt-bounces@ietf.org
Note the comment at the start of appendix A of RFC 3550:
The following definitions are used for all examples; for clarity and
brevity, the structure definitions are only valid for 32-bit big-
endian (most significant octet first) architectures. Bit fields are
assumed to be packed tightly in big-endian bit order, with no
additional padding. Modifications would be required to construct a
portable implementation.
Colin
On 3 Apr 2007, at 11:25, Nikola Sprljan wrote:
> Magnus Westerlund wrote:
>> Bhattacharya, Abhijit (Abhijit) skrev:
>>> Hi Magnus,
>>>
>>> Thanks for the information. Actually, the rtp_hdt_t structure in RFC
>>> 3550 resulted in the confusion. Here version field is the 1st
>>> element in
>>> the structure. So it becomes the LSB. Anyways, now its clear to me.
>>>
>>
>> Your comment make me think you are misunderstanding how bit fields
>> in C
>> are defined? If one looks at the rtp_hdt_t:
>>
>> typedef struct {
>> unsigned int version:2; /* protocol version */
>> unsigned int p:1; /* padding flag */
>> unsigned int x:1; /* header extension flag */
>> unsigned int cc:4; /* CSRC count */
>> unsigned int m:1; /* marker bit */
>> unsigned int pt:7; /* payload type */
>> unsigned int seq:16; /* sequence number */
>> u_int32 ts; /* timestamp */
>> u_int32 ssrc; /* synchronization source */
>> u_int32 csrc[1]; /* optional CSRC list */
>> } rtp_hdr_t;
>>
>> I can't understand why you think version is the LSB. Starting in the
>> most significant 2 bits in the first byte write version. The next
>> bit is
>> p, then x, then 4 bits of CC in MSB to LSB. In the next byte there is
>> first the marker bit (bit 9) and then 7 PT bits. Then you have the
>> more
>> significant first byte of the sequence number, followed by the less
>> significant byte.
>
> It think the problem that Abhijit is encountering is a common one
> with C
> bit-fields - the order of bits will depend on endianess of processor
> this is compiled on. Since x86 processors use the little-endian
> format,
> you'll have to manually reverse the order of fields for each byte
> in the
> structure. You'll also have to do conversions from/to network byte
> order
> (which is big-endian) by using ntohl and htonl (and other) functions.
>
> Also, for data to be aligned properly, for some versions of the MS
> compiler you have to specify correct packing when in a default
> Debug mode:
> #pragma pack(1)
> , otherwise casting pointers to/from structures including rtp_hdr_t
> struct would not work.
>
> Kind regards,
>
> Nikola Sprljan
>
> --
> *Dr. Nikola Sprljan*
> /Research Engineer/
> *MITSUBISHI ELECTRIC INFORMATION TECHNOLOGY CENTRE EUROPE B.V*
> *VISUAL INFORMATION LABORATORY*
> 20, Frederick Sanger Road
> The Surrey Research Park
> Guildford, Surrey GU2 7YD
> /UK Registered Branch BR 003158/
> *DDI Telephone: +44 1483 885538*
> Tel: +44 1483 885800 Fax: +44 1483 579107
>
> CONFIDENTIALITY NOTICE:
> This message contains information which is confidential and/or
> privileged
> and is intended for the named addressee(s) only. If you are not the
> intended recipient, you must not copy, distribute, disclose, otherwise
> use the information or take any action in reliance on it. If you have
> received this message in error, please notify sender immediately and
> destroy any copies whether in physical or electronic record.
>
> _______________________________________________
> Audio/Video Transport Working Group
> avt@ietf.org
> https://www1.ietf.org/mailman/listinfo/avt
--
Colin Perkins
http://csperkins.org/
_______________________________________________
Audio/Video Transport Working Group
avt@ietf.org
https://www1.ietf.org/mailman/listinfo/avt
From avt-bounces@ietf.org Tue Apr 03 06:54:02 2007
Return-path:
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
by megatron.ietf.org with esmtp (Exim 4.43)
id 1HYgda-0007vF-GS; Tue, 03 Apr 2007 06:53:18 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
by megatron.ietf.org with esmtp (Exim 4.43) id 1HYgdZ-0007ra-Au
for avt@ietf.org; Tue, 03 Apr 2007 06:53:17 -0400
Received: from ihemail1.lucent.com ([135.245.0.33])
by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1HYgdT-0004pz-IO
for avt@ietf.org; Tue, 03 Apr 2007 06:53:12 -0400
Received: from ilexp01.ndc.lucent.com (h135-3-39-1.lucent.com [135.3.39.1])
by ihemail1.lucent.com (8.13.8/IER-o) with ESMTP id l33AqrI3011894;
Tue, 3 Apr 2007 05:53:02 -0500 (CDT)
Received: from inexp02.in.lucent.com ([135.254.223.66]) by
ilexp01.ndc.lucent.com with Microsoft SMTPSVC(6.0.3790.1830);
Tue, 3 Apr 2007 05:52:35 -0500
Received: from INEXC1U02.in.lucent.com ([135.254.223.25]) by
inexp02.in.lucent.com with Microsoft SMTPSVC(6.0.3790.1830);
Tue, 3 Apr 2007 16:22:14 +0530
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [AVT] Confusion regarding RTP
Date: Tue, 3 Apr 2007 16:22:13 +0530
Message-ID:
In-Reply-To: <46122B93.4050507@vil.ite.mee.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [AVT] Confusion regarding RTP
Thread-Index: Acd12ngYRwiKyU3hTlixzb3BXwSN0gAApHCw
References: <20070402121602.F89535@hsa> <4612154C.3090205@ericsson.com>
<4612188E.90507@ericsson.com> <46122B93.4050507@vil.ite.mee.com>
From: "Bhattacharya, Abhijit \(Abhijit\)"
To: "Nikola Sprljan" ,
"Magnus Westerlund" ,
"Pete Cordell"
X-OriginalArrivalTime: 03 Apr 2007 10:52:14.0193 (UTC)
FILETIME=[237CF610:01C775DE]
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.33
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 8fbbaa16f9fd29df280814cb95ae2290
Cc: avt@ietf.org
X-BeenThere: avt@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Audio/Video Transport Working Group
List-Unsubscribe: ,
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: avt-bounces@ietf.org
Hi all,
Thanks for your inputs. Actually I just now attempted in both Solaris
and Linux the same code as the following=20
#include
#include
#include
#include
#include
typedef struct headers {
unsigned int version:2; /* protocol version */
unsigned int p:1; /* padding flag */
unsigned int x:1; /* header extension flag */
unsigned int cc:4; /* CSRC count */
}HDR;
typedef struct {
HDR u;
unsigned int ts; /* timestamp */
unsigned int ssrc; /* synchronization source */
unsigned int csrc[1]; /* optional CSRC list */
} rtp_hdr_t;
main()
{
char a[1];
rtp_hdr_t rtp_hdr;
rtp_hdr.u.version =3D 1;
rtp_hdr.u.p =3D 0;
rtp_hdr.u.x =3D 0;
rtp_hdr.u.cc =3D 0;
memcpy((void *)a, (void *)(&rtp_hdr.u), 1);
printf("\n THE value is %x !! \n", a[0]);
}
In Linux the answer is :-
THE value is 1
And in Solaris the answer is :-
THE value is 40 !!
Initially I was using Linux and since htons does not work within "a
byte", I was confused. So the 1st element is considered MSB in Solaris
and LSB in Linux.
Thanks and regards,
Abhijit
=20
-----Original Message-----
From: Nikola Sprljan [mailto:nikola.sprljan@vil.ite.mee.com]=20
Sent: Tuesday, April 03, 2007 3:55 PM
To: Magnus Westerlund
Cc: Bhattacharya, Abhijit (Abhijit); avt@ietf.org
Subject: Re: [AVT] Confusion regarding RTP
Magnus Westerlund wrote:
> Bhattacharya, Abhijit (Abhijit) skrev:
>> Hi Magnus,
>>
>> Thanks for the information. Actually, the rtp_hdt_t structure in RFC=20
>> 3550 resulted in the confusion. Here version field is the 1st element
>> in the structure. So it becomes the LSB. Anyways, now its clear to
me.
>>
>=20
> Your comment make me think you are misunderstanding how bit fields in=20
> C are defined? If one looks at the rtp_hdt_t:
>=20
> typedef struct {
> unsigned int version:2; /* protocol version */
> unsigned int p:1; /* padding flag */
> unsigned int x:1; /* header extension flag */
> unsigned int cc:4; /* CSRC count */
> unsigned int m:1; /* marker bit */
> unsigned int pt:7; /* payload type */
> unsigned int seq:16; /* sequence number */
> u_int32 ts; /* timestamp */
> u_int32 ssrc; /* synchronization source */
> u_int32 csrc[1]; /* optional CSRC list */
> } rtp_hdr_t;
>=20
> I can't understand why you think version is the LSB. Starting in the=20
> most significant 2 bits in the first byte write version. The next bit=20
> is p, then x, then 4 bits of CC in MSB to LSB. In the next byte there=20
> is first the marker bit (bit 9) and then 7 PT bits. Then you have the=20
> more significant first byte of the sequence number, followed by the=20
> less significant byte.
It think the problem that Abhijit is encountering is a common one with C
bit-fields - the order of bits will depend on endianess of processor
this is compiled on. Since x86 processors use the little-endian format,
you'll have to manually reverse the order of fields for each byte in the
structure. You'll also have to do conversions from/to network byte order
(which is big-endian) by using ntohl and htonl (and other) functions.
Also, for data to be aligned properly, for some versions of the MS
compiler you have to specify correct packing when in a default Debug
mode:
#pragma pack(1)
, otherwise casting pointers to/from structures including rtp_hdr_t
struct would not work.
Kind regards,
Nikola Sprljan
--
*Dr. Nikola Sprljan*
/Research Engineer/
*MITSUBISHI ELECTRIC INFORMATION TECHNOLOGY CENTRE EUROPE B.V* *VISUAL
INFORMATION LABORATORY* 20, Frederick Sanger Road The Surrey Research
Park Guildford, Surrey GU2 7YD /UK Registered Branch BR 003158/ *DDI
Telephone: +44 1483 885538*
Tel: +44 1483 885800 Fax: +44 1483 579107
CONFIDENTIALITY NOTICE:
This message contains information which is confidential and/or
privileged and is intended for the named addressee(s) only. If you are
not the intended recipient, you must not copy, distribute, disclose,
otherwise use the information or take any action in reliance on it. If
you have received this message in error, please notify sender
immediately and destroy any copies whether in physical or electronic
record.
_______________________________________________
Audio/Video Transport Working Group
avt@ietf.org
https://www1.ietf.org/mailman/listinfo/avt
From avt-bounces@ietf.org Tue Apr 03 07:15:42 2007
Return-path:
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
by megatron.ietf.org with esmtp (Exim 4.43)
id 1HYgyB-00018j-Ls; Tue, 03 Apr 2007 07:14:35 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
by megatron.ietf.org with esmtp (Exim 4.43) id 1HYgyA-00014c-59
for avt@ietf.org; Tue, 03 Apr 2007 07:14:34 -0400
Received: from mee06.mee.com ([194.130.244.68])
by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1HYgy8-0003xW-Kd
for avt@ietf.org; Tue, 03 Apr 2007 07:14:34 -0400
Received: from meemgw02 ([10.226.1.24] helo=meemgw02.mee.com)
by mee06.mee.com with esmtp (Exim 4.43) id 1HYgy8-0004ju-19
for avt@ietf.org; Tue, 03 Apr 2007 12:14:32 +0100
Received: from meetvd02 (meetvd02.diamondlink.com [10.226.1.23])
by meemgw02.mee.com (8.11.6/8.11.6) with SMTP id l33BEV253051
for ; Tue, 3 Apr 2007 12:14:31 +0100 (BST)
Received: From einstein.vil.ite.mee.com ([10.226.210.23]) by meetvd02
(WebShield SMTP v4.5 MR1a P0803.345);
id 1175597990890; Tue, 3 Apr 2007 11:59:50 +0100
Received: from [10.226.210.105]
by einstein.vil.ite.mee.com with esmtp (Exim 4.62)
(envelope-from )
id 1HYgy0-00030V-6O; Tue, 03 Apr 2007 12:14:25 +0100
Message-ID: <46123710.1070805@vil.ite.mee.com>
Date: Tue, 03 Apr 2007 12:14:24 +0100
From: Nikola Sprljan
User-Agent: Thunderbird 1.5.0.10 (Windows/20070221)
MIME-Version: 1.0
To: "Bhattacharya, Abhijit \(Abhijit\)"
Subject: Re: [AVT] Confusion regarding RTP
References: <20070402121602.F89535@hsa> <4612154C.3090205@ericsson.com>
<4612188E.90507@ericsson.com> <46122B93.4050507@vil.ite.mee.com>
In-Reply-To:
X-Enigmail-Version: 0.94.2.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Spam-Score: -5.4 (-----)
X-Spam-Report: VI-Lab's spam scanner has examined this email on server
"einstein.vil.ite.mee.com". The results of the scan are shown below.
If you have any questions, see the administrator of that system.
Is Spam? No (-5.4 points, 3.5 required)
pts rule name description
---- ----------------------
--------------------------------------------------
-1.8 ALL_TRUSTED Passed through trusted hosts only via SMTP
-3.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1%
[score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 5011df3e2a27abcc044eaa15befcaa87
Cc: avt@ietf.org
X-BeenThere: avt@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Audio/Video Transport Working Group
List-Unsubscribe: ,
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: avt-bounces@ietf.org
Bhattacharya, Abhijit (Abhijit) wrote:
> Hi all,
>
> Thanks for your inputs. Actually I just now attempted in both Solaris
> and Linux the same code as the following
...
>
> In Linux the answer is :-
>
> THE value is 1
>
> And in Solaris the answer is :-
>
> THE value is 40 !!
>
> Initially I was using Linux and since htons does not work within "a
> byte", I was confused. So the 1st element is considered MSB in Solaris
> and LSB in Linux.
My guess is that you are running Solaris on a SPARC architecure
(big-endian), while your Linux is on a x86 based machine
(little-endian). Remember, it's the processor that counts here, not the
OS. Also, some new SPARCs have switchable endianness.
And I forgot to mention: my initial assumption was that you were
compiling this on a x86 or some other little-endian processor, due to
observations you made in your second e-mail.
Cheers,
Nikola
> -----Original Message-----
> From: Nikola Sprljan [mailto:nikola.sprljan@vil.ite.mee.com]
> Sent: Tuesday, April 03, 2007 3:55 PM
> To: Magnus Westerlund
> Cc: Bhattacharya, Abhijit (Abhijit); avt@ietf.org
> Subject: Re: [AVT] Confusion regarding RTP
>
> Magnus Westerlund wrote:
>> Bhattacharya, Abhijit (Abhijit) skrev:
>>> Hi Magnus,
>>>
>>> Thanks for the information. Actually, the rtp_hdt_t structure in RFC
>>> 3550 resulted in the confusion. Here version field is the 1st element
>
>>> in the structure. So it becomes the LSB. Anyways, now its clear to
> me.
>> Your comment make me think you are misunderstanding how bit fields in
>> C are defined? If one looks at the rtp_hdt_t:
>>
>> typedef struct {
>> unsigned int version:2; /* protocol version */
>> unsigned int p:1; /* padding flag */
>> unsigned int x:1; /* header extension flag */
>> unsigned int cc:4; /* CSRC count */
>> unsigned int m:1; /* marker bit */
>> unsigned int pt:7; /* payload type */
>> unsigned int seq:16; /* sequence number */
>> u_int32 ts; /* timestamp */
>> u_int32 ssrc; /* synchronization source */
>> u_int32 csrc[1]; /* optional CSRC list */
>> } rtp_hdr_t;
>>
>> I can't understand why you think version is the LSB. Starting in the
>> most significant 2 bits in the first byte write version. The next bit
>> is p, then x, then 4 bits of CC in MSB to LSB. In the next byte there
>> is first the marker bit (bit 9) and then 7 PT bits. Then you have the
>> more significant first byte of the sequence number, followed by the
>> less significant byte.
>
> It think the problem that Abhijit is encountering is a common one with C
> bit-fields - the order of bits will depend on endianess of processor
> this is compiled on. Since x86 processors use the little-endian format,
> you'll have to manually reverse the order of fields for each byte in the
> structure. You'll also have to do conversions from/to network byte order
> (which is big-endian) by using ntohl and htonl (and other) functions.
>
> Also, for data to be aligned properly, for some versions of the MS
> compiler you have to specify correct packing when in a default Debug
> mode:
> #pragma pack(1)
> , otherwise casting pointers to/from structures including rtp_hdr_t
> struct would not work.
>
> Kind regards,
>
> Nikola Sprljan
>
> --
> *Dr. Nikola Sprljan*
> /Research Engineer/
> *MITSUBISHI ELECTRIC INFORMATION TECHNOLOGY CENTRE EUROPE B.V* *VISUAL
> INFORMATION LABORATORY* 20, Frederick Sanger Road The Surrey Research
> Park Guildford, Surrey GU2 7YD /UK Registered Branch BR 003158/ *DDI
> Telephone: +44 1483 885538*
> Tel: +44 1483 885800 Fax: +44 1483 579107
_______________________________________________
Audio/Video Transport Working Group
avt@ietf.org
https://www1.ietf.org/mailman/listinfo/avt
From avt-bounces@ietf.org Tue Apr 03 07:24:42 2007
Return-path:
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
by megatron.ietf.org with esmtp (Exim 4.43)
id 1HYh71-0008V0-Fq; Tue, 03 Apr 2007 07:23:43 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
by megatron.ietf.org with esmtp (Exim 4.43) id 1HYh70-0008Ue-5n
for avt@ietf.org; Tue, 03 Apr 2007 07:23:42 -0400
Received: from ihemail4.lucent.com ([135.245.0.39])
by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1HYh6y-0006CD-Ko
for avt@ietf.org; Tue, 03 Apr 2007 07:23:42 -0400
Received: from ilexp01.ndc.lucent.com (h135-3-39-1.lucent.com [135.3.39.1])
by ihemail4.lucent.com (8.13.8/IER-o) with ESMTP id l33BNZun006746;
Tue, 3 Apr 2007 06:23:39 -0500 (CDT)
Received: from inexp01.in.lucent.com ([135.254.223.65]) by
ilexp01.ndc.lucent.com with Microsoft SMTPSVC(6.0.3790.1830);
Tue, 3 Apr 2007 06:23:21 -0500
Received: from INEXC1U02.in.lucent.com ([135.254.223.25]) by
inexp01.in.lucent.com with Microsoft SMTPSVC(6.0.3790.1830);
Tue, 3 Apr 2007 16:53:14 +0530
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [AVT] Confusion regarding RTP
Date: Tue, 3 Apr 2007 16:53:13 +0530
Message-ID:
In-Reply-To: <46123710.1070805@vil.ite.mee.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [AVT] Confusion regarding RTP
Thread-Index: Acd14XgvcoA82ml/QnaXAqGXu0xJDQAANErQ
References: <20070402121602.F89535@hsa> <4612154C.3090205@ericsson.com>
<4612188E.90507@ericsson.com> <46122B93.4050507@vil.ite.mee.com>
<46123710.1070805@vil.ite.mee.com>
From: "Bhattacharya, Abhijit \(Abhijit\)"
To: "Nikola Sprljan"
X-OriginalArrivalTime: 03 Apr 2007 11:23:14.0767 (UTC)
FILETIME=[787A05F0:01C775E2]
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.39
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 22bbb45ef41b733eb2d03ee71ece8243
Cc: avt@ietf.org
X-BeenThere: avt@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Audio/Video Transport Working Group
List-Unsubscribe: ,
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: avt-bounces@ietf.org
Hi Nikola,
"My guess is that you are running Solaris on a SPARC architecure
(big-endian), while your Linux is on a x86 based machine
(little-endian). Remember, it's the processor that counts here, not the
OS. Also, some new SPARCs have switchable endianness."
Yes your guess is absolutely right.
Thanks and regards,
Abhijit
-----Original Message-----
From: Nikola Sprljan [mailto:nikola.sprljan@vil.ite.mee.com]=20
Sent: Tuesday, April 03, 2007 4:44 PM
To: Bhattacharya, Abhijit (Abhijit)
Cc: avt@ietf.org
Subject: Re: [AVT] Confusion regarding RTP
Bhattacharya, Abhijit (Abhijit) wrote:
> Hi all,
>=20
> Thanks for your inputs. Actually I just now attempted in both Solaris=20
> and Linux the same code as the following
...
>=20
> In Linux the answer is :-
>=20
> THE value is 1
>=20
> And in Solaris the answer is :-
>=20
> THE value is 40 !!
>=20
> Initially I was using Linux and since htons does not work within "a=20
> byte", I was confused. So the 1st element is considered MSB in Solaris
> and LSB in Linux.
My guess is that you are running Solaris on a SPARC architecure
(big-endian), while your Linux is on a x86 based machine
(little-endian). Remember, it's the processor that counts here, not the
OS. Also, some new SPARCs have switchable endianness.
And I forgot to mention: my initial assumption was that you were
compiling this on a x86 or some other little-endian processor, due to
observations you made in your second e-mail.
Cheers,
Nikola
> -----Original Message-----
> From: Nikola Sprljan [mailto:nikola.sprljan@vil.ite.mee.com]
> Sent: Tuesday, April 03, 2007 3:55 PM
> To: Magnus Westerlund
> Cc: Bhattacharya, Abhijit (Abhijit); avt@ietf.org
> Subject: Re: [AVT] Confusion regarding RTP
>=20
> Magnus Westerlund wrote:
>> Bhattacharya, Abhijit (Abhijit) skrev:
>>> Hi Magnus,
>>>
>>> Thanks for the information. Actually, the rtp_hdt_t structure in RFC
>>> 3550 resulted in the confusion. Here version field is the 1st=20
>>> element
>=20
>>> in the structure. So it becomes the LSB. Anyways, now its clear to
> me.
>> Your comment make me think you are misunderstanding how bit fields in
>> C are defined? If one looks at the rtp_hdt_t:
>>
>> typedef struct {
>> unsigned int version:2; /* protocol version */
>> unsigned int p:1; /* padding flag */
>> unsigned int x:1; /* header extension flag */
>> unsigned int cc:4; /* CSRC count */
>> unsigned int m:1; /* marker bit */
>> unsigned int pt:7; /* payload type */
>> unsigned int seq:16; /* sequence number */
>> u_int32 ts; /* timestamp */
>> u_int32 ssrc; /* synchronization source */
>> u_int32 csrc[1]; /* optional CSRC list */
>> } rtp_hdr_t;
>>
>> I can't understand why you think version is the LSB. Starting in the=20
>> most significant 2 bits in the first byte write version. The next bit
>> is p, then x, then 4 bits of CC in MSB to LSB. In the next byte there
>> is first the marker bit (bit 9) and then 7 PT bits. Then you have the
>> more significant first byte of the sequence number, followed by the=20
>> less significant byte.
>=20
> It think the problem that Abhijit is encountering is a common one with
> C bit-fields - the order of bits will depend on endianess of processor
> this is compiled on. Since x86 processors use the little-endian=20
> format, you'll have to manually reverse the order of fields for each=20
> byte in the structure. You'll also have to do conversions from/to=20
> network byte order (which is big-endian) by using ntohl and htonl (and
other) functions.
>=20
> Also, for data to be aligned properly, for some versions of the MS=20
> compiler you have to specify correct packing when in a default Debug
> mode:
> #pragma pack(1)
> , otherwise casting pointers to/from structures including rtp_hdr_t=20
> struct would not work.
>=20
> Kind regards,
>=20
> Nikola Sprljan
>=20
> --
> *Dr. Nikola Sprljan*
> /Research Engineer/
> *MITSUBISHI ELECTRIC INFORMATION TECHNOLOGY CENTRE EUROPE B.V* *VISUAL
> INFORMATION LABORATORY* 20, Frederick Sanger Road The Surrey Research=20
> Park Guildford, Surrey GU2 7YD /UK Registered Branch BR 003158/ *DDI
> Telephone: +44 1483 885538*
> Tel: +44 1483 885800 Fax: +44 1483 579107
_______________________________________________
Audio/Video Transport Working Group
avt@ietf.org
https://www1.ietf.org/mailman/listinfo/avt
From avt-bounces@ietf.org Tue Apr 03 11:16:36 2007
Return-path:
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
by megatron.ietf.org with esmtp (Exim 4.43)
id 1HYkjB-000689-DA; Tue, 03 Apr 2007 11:15:21 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
by megatron.ietf.org with esmtp (Exim 4.43) id 1HYkj9-00067g-O9
for avt@ietf.org; Tue, 03 Apr 2007 11:15:19 -0400
Received: from ihemail1.lucent.com ([135.245.0.33])
by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1HYkfn-0002VS-F0
for avt@ietf.org; Tue, 03 Apr 2007 11:12:21 -0400
Received: from ilexp01.ndc.lucent.com (h135-3-39-1.lucent.com [135.3.39.1])
by ihemail1.lucent.com (8.13.8/IER-o) with ESMTP id l33FBSTU011083;
Tue, 3 Apr 2007 10:11:50 -0500 (CDT)
Received: from inexp02.in.lucent.com ([135.254.223.66]) by
ilexp01.ndc.lucent.com with Microsoft SMTPSVC(6.0.3790.1830);
Tue, 3 Apr 2007 10:11:37 -0500
Received: from INEXC1U02.in.lucent.com ([135.254.223.25]) by
inexp02.in.lucent.com with Microsoft SMTPSVC(6.0.3790.1830);
Tue, 3 Apr 2007 20:41:32 +0530
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [AVT] Confusion regarding RTP
Date: Tue, 3 Apr 2007 20:41:31 +0530
Message-ID:
In-Reply-To: <46123710.1070805@vil.ite.mee.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [AVT] Confusion regarding RTP
Thread-Index: Acd14XgvcoA82ml/QnaXAqGXu0xJDQAHoDew
References: <20070402121602.F89535@hsa> <4612154C.3090205@ericsson.com>
<4612188E.90507@ericsson.com> <46122B93.4050507@vil.ite.mee.com>
<46123710.1070805@vil.ite.mee.com>
From: "Bhattacharya, Abhijit \(Abhijit\)"