|
本帖最后由 子熹. 于 2024-3-7 16:45 编辑
rong.sendSightMessage({
"conversationType":"PRIVATE",
"targetId":"65",
"sightPath":"fs:///storage/emulated/0/DCIM/Screenshots/Screenrecording_20231231_175552.mp4",
"thumbPath":"fs:///storage/emulated/0/Android/data/com.kingdom.xiaogu/files/Pictures/image_select/1709629349893.jpg",
"extra":""
}, function (ret, err) {
console.log(JSON.stringify(ret));
})
rong.sendSightMessage({
"conversationType":"PRIVATE",
"targetId":"65",
"sightPath":"/storage/emulated/0/DCIM/Screenshots/Screenrecording_20231231_175552.mp4",
"thumbPath":"/storage/emulated/0/Android/data/com.kingdom.xiaogu/files/Pictures/image_select/1709629349893.jpg",
"extra":""
}, function (ret, err) {
console.log(JSON.stringify(ret));
})
查出来是不报错的,但是返回值没有音频内容?
- {"result":{"message":{"content":{"extra":"","mediaUrl":"","thumbPath":"file:///data/user/0/com.kingdom.xiaogu/files/AnOrNjr88SAWbmJ0YQzUpw_1709620960000/video/thumbnail/15.jpg"},"conversationType":"PRIVATE","extra":"","isCanIncludeExpansion":false,"isDownload":false,"isListened":false,"isMultipleReceive":false,"isRead":false,"isRetrieved":false,"messageDirection":"SEND","messageId":15,"messageUId":"","objectName":"RC:SightMsg","readReceiptInfo":"{}","receivedTime":0,"senderUserId":"2378","sentStatus":"SENDING","sentTime":1709629992548,"targetId":"65"}},"status":"prepare"}
复制代码 所以是不用加“fs://”吗?返回值没有音频是漏掉什么步骤了吗?求大佬解答!
|
|