1

实际上,我正在尝试获取通过 http 流式传输的音频,并具有这样的响应:

HTTP/1.1 200 OK
Cache-Control: no-store, no-cache, must-revalidate, max-age=0
Connection: close
Content-Type: multipart/mixed;boundary=audioframe

--audioframe
Content-Type: audio/L16;rate=8000;channels=1
Content-Length: 640
X-Time: 2014-07-02T18:40:31.639+04:00
...<binary data>...
--audioframe
Content-Type: audio/L16;rate=8000;channels=1
Content-Length: 640
X-Time: 2014-07-02T18:40:31.639+04:00
...<binary data>...
4

1 回答 1

0

我发现 @Streaming 不能与 RestAdapter.LogLevel.FULL 一起使用这就是问题所在!

https://github.com/square/retrofit/issues/561

于 2014-07-10T09:46:53.880 回答