aboutsummaryrefslogtreecommitdiffstats
path: root/airtunes2.rst
diff options
context:
space:
mode:
Diffstat (limited to 'airtunes2.rst')
-rw-r--r--airtunes2.rst20
1 files changed, 10 insertions, 10 deletions
diff --git a/airtunes2.rst b/airtunes2.rst
index fd8213b..d21e18a 100644
--- a/airtunes2.rst
+++ b/airtunes2.rst
@@ -261,6 +261,8 @@ RTP-Info ``rtptime={RTP timestamp}``
Session Server session ID (after SETUP)
User-Agent | ``iTunes/{Version} (Windows; N;)``
(e.g. Version=``iTunes/7.6.2 (Windows; N;)``)
+ (for a mac, this looks like ``User-Agent: iTunes/9.2.1
+ (Macintosh; Intel Mac OS X 10.5.8) AppleWebKit/533.17.8``)
================ =================================================
@@ -293,9 +295,9 @@ Body | ``v=0\r\n``
FLUSH
~~~~~
-======= =============================================
-Headers ``RTP-Info: seq={Last RTP seqnum};rtptime=0``
-======= =============================================
+======= ===========================================================
+Headers ``RTP-Info: seq={Last RTP seqnum};rtptime={Last RTP time}``
+======= ===========================================================
OPTIONS
~~~~~~~
@@ -309,15 +311,13 @@ RECORD
~~~~~~
======= =========================================
-Headers | ``Range: ntp={Note 1}``
- | ``RTP-Info: seq={Note 2};rtptime={Note 3}``
+Headers | ``Range: ntp=0-``
+ | ``RTP-Info: seq={Note 1};rtptime={Note 2}``
======= =========================================
-Note 1: Normal play time (apparently always 0), float, >=0. (TODO)
-
-Note 2: Initial value for the RTP Sequence Number, random 16 bit value
+Note 1: Initial value for the RTP Sequence Number, random 16 bit value
-Note 3: Initial value for the RTP Timestamps, random 32 bit value
+Note 2: Initial value for the RTP Timestamps, random 32 bit value
SET_PARAMETER
~~~~~~~~~~~~~
@@ -360,7 +360,7 @@ Headers ``Transport: RTP/AVP/UDP;unicast;interleaved=0-1;mode=record;control_por
Get ``server_port``, ``control_port`` and ``timing_port`` from ``Transport``
response header. Get ``Session`` response header and use it as server session ID.
-(TODO server_port is missing from the Transport: example above)
+The ``Audio-Jack-Status`` header is part of this response too.
TEARDOWN
~~~~~~~~