Playing a MP3 using Windows Phone 7 and MediaElement
I'm trying to figure out how to play a MP3 of a GoogleVoice voicemail item.  To start, the MP3 isn't a .mp3 where you can just set an audio source to MediaElement.  The MP3 is served via an HTTP response.  Basically, I need a way to have MediaElement play this MP3.  It would be nice if I can just do a static URL to the file, but it seems I need to download or something first...

Below is as much information as I can dig up.  I can make the request via HTTPWebRequest, it's not handling the rest.  Before I go about downloading it all, I wanted to see what people suggest.

URL: https://www.google.com/voice/media/send_voicemail/ba8a7a5d649e0b3e182b7d353b1e3794aec89526

Fiddler Request:
GET https://www.google.com/voice/media/send_voicemail/ba8a7a5d649e0b3e182b7d353b1e3794aec89526 HTTP/1.1
Accept: text/html, application/xhtml+xml, */*
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; InfoPath.3; .NET4.0C; .NET4.0E; Zune 4.7; MS-RTC LM 8)
Accept-Encoding: gzip, deflate
Host: www.google.com
Connection: Keep-Alive
Cookie: gv=DQAAAM0AAAD8oLu6c5idbJZAiAgUywGtpZiBPhj__TSQjsNZoeB-h0Df2Oo58yAae7QUWWol5d-nGCyAn7Al5pYcukxbryoKl-vhUJVfxOYYe7kPsqA9RgK1kYSS72Tx4fFiXmYmhgj6Ah5w04g3t0sQcXM-_dLdK4J6Bs7QgdM9ZSjSQZ7GbelGMMBqsM5FFYvUng_yD1niU_oYX9mYOYgJvVhDwCGic6Q8967slt0WagIWm5KgM32tseUbIYnjJIjFX4-Q5ah0cp-qsfA0M4t97EGFwlOX; PREF=ID=5934df9715521f86:U=ee1610b0d8d59590:FF=0:TM=1308004739:LM=1308004740:S=MMVCAo_1owrn5G84; NID=48=SkORQr0dAGcZfHaKrFPG0jwHMOXWR8MY0kKbB-yyJZUJMIqpa6fBcdND4N9_uBSNxApPP_SzNy9ef0JsYXGlWTMW2xYFfpszV_4SsuqCO9aWmGY9R_mm4UFo-U-d_gu9; SID=DQAAAMkAAAD5u6zB7g_bv7wQzKARmem2ng5Er3sxmz9OxZPEh47WoV-HQ4LsP5Eayq3WaUh-jTMf317A0LKhUjZVZ0OGY5enjnWVpJgjljB5lxBjV4X_AesKsDVe0BGOV5PL8_-UOVvHs6OxJgZrnEo_73CCRCu07rq6vkWCmghCbg13yjgyNVK4Kh7mvKj9S1nuzNPr7_QjOaIyY_8MqvwFA_pkDYns3jWhT8IorBJy4XahZtYsxaGszXjcCtI3Gu7ZEuuesnCLJM7fCvPWblZu6h-FmTEl; HSID=AxmxwVKceE7qLSZ5m; SSID=A7ycTCwZ4BElXyLC0; S=grandcentral=YLT-lg1bRIoFhalR33FNBw


Fiddler Response:
HTTP/1.1 200 OK
Content-Type: audio/mpeg
Cache-Control: must-revalidate
Expires: Fri, 01 Jan 1990 00:00:00 GMT
Pragma: no-cache, no-store
cookie: 
Content-Length: 5120
Content-Disposition: attachment; filename="ba8a7a5d649e0b3e182b7d353b1e3794aec89526.mp3"
Content-Transfer-Encoding: binary
Accept-Ranges: bytes
Date: Fri, 17 Jun 2011 18:11:10 GMT
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Server: GSE

�� ��yz�CHwww�8��B�!9�F+�F�PIb���&+$@����L�0L�0ؠ�<�9���'4h���[l�S�[m���"�.... (note this is the 5120 bytes in the content length)


Thanks!
Playing a MP3 using Windows Phone 7 and MediaElement
===

I'm trying to figure out how to play a MP3 of a GoogleVoice voicemail item.  To start, the MP3 isn't a .mp3 where you can just set an audio source to MediaElement.  The MP3 is served via an HTTP response.  Basically, I need a way to have MediaElement play this MP3.  It would be nice if I can just do a static URL to the file, but it seems I need to download or something first...

Below is as much information as I can dig up.  I can make the request via HTTPWebRequest, it's not handling the rest.  Before I go about downloading it all, I wanted to see what people suggest.

URL: https://www.google.com/voice/media/send_voicemail/ba8a7a5d649e0b3e182b7d353b1e3794aec89526

Fiddler Request:
GET https://www.google.com/voice/media/send_voicemail/ba8a7a5d649e0b3e182b7d353b1e3794aec89526 HTTP/1.1
Accept: text/html, application/xhtml+xml, */*
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; InfoPath.3; .NET4.0C; .NET4.0E; Zune 4.7; MS-RTC LM 8)
Accept-Encoding: gzip, deflate
Host: www.google.com
Connection: Keep-Alive
Cookie: gv=DQAAAM0AAAD8oLu6c5idbJZAiAgUywGtpZiBPhj__TSQjsNZoeB-h0Df2Oo58yAae7QUWWol5d-nGCyAn7Al5pYcukxbryoKl-vhUJVfxOYYe7kPsqA9RgK1kYSS72Tx4fFiXmYmhgj6Ah5w04g3t0sQcXM-_dLdK4J6Bs7QgdM9ZSjSQZ7GbelGMMBqsM5FFYvUng_yD1niU_oYX9mYOYgJvVhDwCGic6Q8967slt0WagIWm5KgM32tseUbIYnjJIjFX4-Q5ah0cp-qsfA0M4t97EGFwlOX; PREF=ID=5934df9715521f86:U=ee1610b0d8d59590:FF=0:TM=1308004739:LM=1308004740:S=MMVCAo_1owrn5G84; NID=48=SkORQr0dAGcZfHaKrFPG0jwHMOXWR8MY0kKbB-yyJZUJMIqpa6fBcdND4N9_uBSNxApPP_SzNy9ef0JsYXGlWTMW2xYFfpszV_4SsuqCO9aWmGY9R_mm4UFo-U-d_gu9; SID=DQAAAMkAAAD5u6zB7g_bv7wQzKARmem2ng5Er3sxmz9OxZPEh47WoV-HQ4LsP5Eayq3WaUh-jTMf317A0LKhUjZVZ0OGY5enjnWVpJgjljB5lxBjV4X_AesKsDVe0BGOV5PL8_-UOVvHs6OxJgZrnEo_73CCRCu07rq6vkWCmghCbg13yjgyNVK4Kh7mvKj9S1nuzNPr7_QjOaIyY_8MqvwFA_pkDYns3jWhT8IorBJy4XahZtYsxaGszXjcCtI3Gu7ZEuuesnCLJM7fCvPWblZu6h-FmTEl; HSID=AxmxwVKceE7qLSZ5m; SSID=A7ycTCwZ4BElXyLC0; S=grandcentral=YLT-lg1bRIoFhalR33FNBw


Fiddler Response:
HTTP/1.1 200 OK
Content-Type: audio/mpeg
Cache-Control: must-revalidate
Expires: Fri, 01 Jan 1990 00:00:00 GMT
Pragma: no-cache, no-store
cookie: 
Content-Length: 5120
Content-Disposition: attachment; filename="ba8a7a5d649e0b3e182b7d353b1e3794aec89526.mp3"
Content-Transfer-Encoding: binary
Accept-Ranges: bytes
Date: Fri, 17 Jun 2011 18:11:10 GMT
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Server: GSE

�� ��yz�CHwww�8��B�!9�F+�F�PIb���&+$@����L�0L�0ؠ�<�9���'4h���[l�S�[m���"�.... (note this is the 5120 bytes in the content length)


Thanks!