找回密码
 立即注册
查看: 1103|回复: 0

[求助] 苍海大神多,求助百度安卓客户端上传语音问题

[复制链接]

489

回帖

2481

基友

5040

积分

通神6段 Lv.9

Rank: 5Rank: 5

伯爵荣耀

发表于 2015-1-28 19:22:45 | 显示全部楼层 |阅读模式
抓到了两个post包 /c/c/voice/chunkupload  和 /c/c/voice/voice_fin_chunk_upload
写完以后  post/c/c/voice/chunkupload无返回值  不添加协议头 会返回未知错误 下面是抓到的这个包  我是分了两段  第一段 是sign前
第二段是sign后 用第一段取计算sign 给第二段 该改的地方也改了 语音部分是从#!AMR下面开始替换的语音字节集  ,不知道是不行协议头问题
哪个大神给个列子学习一下
--------------------------------------------------------------------------------------------------------------------
POST /c/c/voice/chunkupload HTTP/1.1Cookie: ka=openUser-Agent: bdtb for Android 6.5.3sid: 4a2c8143ba8fe3denet: 3Content-Type: multipart/form-data; boundary=--------


7da3d81520810*Charset: UTF-8Accept-Encoding: gzipHost: c.tieba.baidu.comConnection: Keep-AliveContent-Length: 2270----------7da3d81520810*Content-Disposition: form-


data;


name="BDUSS"I4NmN3RTFzVmQ0VDVWM2p6Nlc3dVk4ZUl2Z09AU3BRZFJUMWZUTFhqeG6MLXRVQVFBQUFBJCQAAAAAAAAAAAEAAADdz0QCMzc2OTI0MDk4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA


AAAAAAAAAAAAAAAAAAAAAAAAGeiw1RnosNUU0----------7da3d81520810*Content-Disposition: form-data; name="_client_id"wappc_1422443271191_273----------7da3d81520810*Content-


Disposition: form-data; name="_client_type"2----------7da3d81520810*Content-Disposition: form-data; name="_client_version"6.5.3----------7da3d81520810*Content-


Disposition: form-data; name="_phone_imei"357139054890947----------7da3d81520810*Content-Disposition: form-data;


name="chunk_md5"43c59ff5deac978b96e4fce6024be13e----------7da3d81520810*Content-Disposition: form-data; name="chunk_no"1----------7da3d81520810*Content-Disposition:


form-data; name="cuid"EB5C8A1903C763225E97BCD9F60F6917|749098450931753----------7da3d81520810*Content-Disposition: form-data; name="from"1382d----------


7da3d81520810*Content-Disposition: form-data; name="length"380----------7da3d81520810*Content-Disposition: form-data; name="model"Droid4X-WIN----------


7da3d81520810*Content-Disposition: form-data; name="offset"0----------7da3d81520810*Content-Disposition: form-data; name="sign"9725E4DA0857A501AD80283B44033B63


----------7da3d81520810*Content-Disposition: form-data; name="timestamp"1422443350636----------7da3d81520810*Content-Disposition: form-data; name="total_length"380


----------7da3d81520810*Content-Disposition: form-data; name="total_num"1----------7da3d81520810*Content-Disposition: form-data;


name="voice_md5"43c59ff5deac978b96e4fce6024be13e----------7da3d81520810*Content-Disposition: form-data; name="voice_chunk"; filename="file"#!AMR
.G.y........@................]Gl...y........&..$.............{.....y..........(d..............~....y..........{.D&..h.||D&..h.|||||||D&..h.|||||||D&..h.|||||||


D&..h.|||||||D&..h.|||||||D&..h.|||||||D&..h.|||||||D&..h.|||||||D&..h.|||||||D&..h.|||||||D&..h.|||||||D&..h.|||||||D&..h.|||||||D&..h.|||||||D&..h.|||||||



D&..h.|||||||D&..h.|||||||D&..h.|||||||D&..h.|||||||D&..h.|----------7da3d81520810*--

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|苍海国际 ( 鲁ICP备13020644号-1 )

GMT+8, 2024-11-23 16:31 , Processed in 0.058003 second(s), 27 queries .

Powered by Discuz! Theme By eRic Modified by 4bpa

© CangHai International We Do Our Rights!

返回顶部