[vlc-devel] [PATCH] Add Apple AirTunes stream output plugin
Michael Hanselmann
public at hansmi.ch
Sat Dec 13 14:42:38 CET 2008
Hi Rémi
2008/12/11 Rémi Denis-Courmont <rem at videolan.org>:
>> + /* Build SDP */
>> + i_rc = asprintf( &psz_sdp,
>> + "v=0\r\n"
>> + "o=iTunes %u 0 IN IP4 %s\r\n"
>> + "s=iTunes\r\n"
>> + "c=IN IP4 %s\r\n"
>> + "t=0 0\r\n"
>> + "m=audio 0 RTP/AVP 96\r\n"
>> + "a=rtpmap:96 AppleLossless\r\n"
>> + "a=fmtp:96 4096 0 16 40 10 14 2 255 0 0 44100\r\n"
>> + "a=rsaaeskey:%s\r\n"
>> + "a=aesiv:%s\r\n",
>> + i_session_id, psz_local, p_sys->psz_host,
>> + psz_aes_key_base64, psz_aes_iv_base64 );
>
> I wonder if IP6 would ever make any sense here?
> I also guess this is not really RTP but we cannot fix that :(
I just tested it using Apple iTunes (actual IP addresses obfuscated
because to the MAC address encoded in them):
"ANNOUNCE rtsp://fe80::216:1234:567:89/2822725808 RTSP/1.0
[…]
o=iTunes 2822725808 0 IN IP4 fe80::321:1234:567:89
s=iTunes
c=IN IP4 fe80::123:9876:543:21
t=0 0
[…]"
It still uses "IP4", despite the underlying protocol being IPv6.
Regards,
Michael
--
http://hansmi.ch/
More information about the vlc-devel
mailing list