1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221
|
<pre>Network Working Group G. Vaudreuil
Request for Comments: 2424 Lucent Technologies
Category: Standards Track G. Parsons
Northern Telecom
September 1998
<span class="h1">Content Duration</span>
<span class="h1">MIME Header Definition</span>
Status of this Memo
This document specifies an Internet standards track protocol for the
Internet community, and requests discussion and suggestions for
improvements. Please refer to the current edition of the "Internet
Official Protocol Standards" (STD 1) for the standardization state
and status of this protocol. Distribution of this memo is unlimited.
Copyright Notice
Copyright (C) The Internet Society (1998). All Rights Reserved.
Overview
This document describes the MIME header Content-Duration that is
intended for use with any timed media content (typically audio/* or
video/*).
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Abstract</span>
This document describes the MIME header Content-Duration that is
intended for use with any time varying media content (typically
audio/* or video/*). The length of time is represented in seconds
without any units indication.
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Content-Duration Header Field</span>
Time varying media contents, for example, a spoken voice message or a
video clip, have an inherent time duration. Many audio and video
encodings may include their duration as header information or may
allow accurate calculation based on the byte length of the data.
However, it may be useful to present the time duration of the content
in a MIME header to allow its simple determination without dealing
with the actual content.
<span class="grey">Vaudreuil & Parsons Standards Track [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc2424">RFC 2424</a> Content-Duration September 1998</span>
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
document are to be interpreted as described in [<a href="#ref-REQ" title=""Key words for use in RFCs to Indicate Requirement Levels"">REQ</a>].
<span class="h3"><a class="selflink" id="section-2.1" href="#section-2.1">2.1</a> Syntax</span>
The Content-Duration field's value is a single number specifying the
time duration in seconds of the content. Formally:
duration := "Content-Duration" ":" 1*10DIGIT
Note that practically (though highly unlikely in MIME media), the
upper bound on the numerical value of the time duration is (2^^31 -
1) or 2147483647.
<span class="h3"><a class="selflink" id="section-2.2" href="#section-2.2">2.2</a> Semantics</span>
This field represents the time duration of the associated time
varying media content. The time duration is noted in seconds with no
units tag. The time value should be exact, however the exact value
of the time duration cannot be known without opening the content and
playing it. If an exact value must be known, then the latter method
should be used. This mechanism simply allows placing a sender
determined time duration value in the header for easy access.
Though there are several ways to present this duration to the
recipient (e.g. with the inbox headers, when audio attachment
opened), the actual use of this field on reception is a local
implementation issue.
<span class="h3"><a class="selflink" id="section-2.3" href="#section-2.3">2.3</a> Example</span>
In this example the content duration represents 33 seconds:
Content-Duration: 33
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. VPIM Usage</span>
The Content-Duration header field for the audio/32KADPCM sub-type is
a useful component of the VPIM specification [<a href="#ref-VPIM2" title=""Voice Profile for Internet Mail - version 2"">VPIM2</a>]. All VPIM
Messages MUST contain this sub-type to carry the audio of a voice
message. It may be useful in some instances (e.g. viewing on a
simple MIME or non-MIME desktop) to have the time duration of the
voice message available without having to open the audio content.
<span class="grey">Vaudreuil & Parsons Standards Track [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc2424">RFC 2424</a> Content-Duration September 1998</span>
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Security Considerations</span>
This definition introduces the option of explicitly identifying the
time duration of an audio/* or video/* content outside of the binary
data that forms the content. In some environments (though likely not
the majority), the identification of the actual time duration in a
header field may be a security issue and as a result should not be
noted. Reliance on the time indicated in this header field cannot be
trusted for the purposes of determining the exact size of the data.
The exact length of the data must be determined by examining the data
itself.
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. Authors' Addresses</span>
Glenn W. Parsons
Northern Telecom
P.O. Box 3511, Station C
Ottawa, ON K1Y 4H7
Canada
Phone: +1-613-763-7582
Fax: +1-613-763-4461
EMail: Glenn.Parsons@Nortel.ca
Gregory M. Vaudreuil
Lucent Technologies
17080 Dallas Parkway
Dallas, TX 75248-1905
United States
Phone/Fax: +1-972-733-2722
EMail: GregV@Lucent.Com
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. References</span>
[<a id="ref-MIME2">MIME2</a>] Freed, N., and N. Borenstein, "Multipurpose Internet Mail
Extensions (MIME) Part Two: Media Types", <a href="./rfc2046">RFC 2046</a>, November
1996.
[<a id="ref-VPIM2">VPIM2</a>] Vaudreuil, G., and G. Parsons, "Voice Profile for Internet
Mail - version 2", <a href="./rfc2421">RFC 2421</a>, September 1998.
[<a id="ref-REQ">REQ</a>] Bradner, S., "Key words for use in RFCs to Indicate Requirement
Levels", <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc2119">RFC 2119</a>, March 1997.
<span class="grey">Vaudreuil & Parsons Standards Track [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc2424">RFC 2424</a> Content-Duration September 1998</span>
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. Full Copyright Statement</span>
Copyright (C) The Internet Society (1998). All Rights Reserved.
This document and translations of it may be copied and furnished to
others, and derivative works that comment on or otherwise explain it
or assist in its implementation may be prepared, copied, published
and distributed, in whole or in part, without restriction of any
kind, provided that the above copyright notice and this paragraph are
included on all such copies and derivative works. However, this
document itself may not be modified in any way, such as by removing
the copyright notice or references to the Internet Society or other
Internet organizations, except as needed for the purpose of
developing Internet standards in which case the procedures for
copyrights defined in the Internet Standards process must be
followed, or as required to translate it into languages other than
English.
The limited permissions granted above are perpetual and will not be
revoked by the Internet Society or its successors or assigns.
This document and the information contained herein is provided on an
"AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
Vaudreuil & Parsons Standards Track [Page 4]
</pre>
|