Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] 语音\视频通话问题 #72

Open
brucejia-creator opened this issue Sep 3, 2024 · 17 comments
Open

[BUG] 语音\视频通话问题 #72

brucejia-creator opened this issue Sep 3, 2024 · 17 comments

Comments

@brucejia-creator
Copy link

OpenIM Server Version

3.8.0

Operating System and CPU Architecture

Linux (AMD)

Deployment Method

Source Code Deployment

Bug Description and Steps to Reproduce

只给了服务怎么部署,前端该怎么部署呢?需要设置哪里?
比如这个demo,readme里边关于视频\语音通话的什么都没有,是不是意味着前端代码不需要动?
写readme建议写详细点

Screenshots Link

No response

@Bloomingg
Copy link
Member

The front-end code does not need to be modified, just set the IP to your server IP.

@brucejia-creator
Copy link
Author

export const WS_URL = "";
export const API_URL = "";
export const CHAT_URL = "";
只有这三个ip修改下就好了吗?

@Bloomingg
Copy link
Member

yes

@brucejia-creator
Copy link
Author

其他不需要任何配置吗?

@brucejia-creator
Copy link
Author

我现在就是这样设置的,不行

@brucejia-creator
Copy link
Author

=> [OperationID:6a580aa2-beb1-4982-9e7e-bd6e0a8beef0] (invoked by js) run createCustomMessage with args ["6a580aa2-beb1-4982-9e7e-bd6e0a8beef0","{"customType":200,"data":{"inviterUserID":"1852607991","inviteeUserIDList":["8395269355"],"groupID":"","roomID":"b75ad8c9-4482-45dc-9832-22051a7eaff6","timeout":60,"mediaType":"audio","sessionType":1,"platformID":5}}","",""]
index.es.js:533 => (invoked by go wasm) run getLoginUser method with args ["1852607991"]
index.es.js:533 => (invoked by go wasm) run getLoginUser method with response {"data":"{"userID":"1852607991","nickname":"开发测试","faceURL":null,"createTime":1724738761348,"appMangerLevel":null,"ex":null,"attachedInfo":null,"globalRecvMsgOpt":null}","errCode":0,"errMsg":""}
index.es.js:1773 SDK => [OperationID:6a580aa2-beb1-4982-9e7e-bd6e0a8beef0] (invoked by js) run createCustomMessage with response before processor ["{"clientMsgID":"c31978ab76684f863241b87d8eea526a","createTime":1725357331956,"sendTime":1725357331956,"sessionType":0,"sendID":"1852607991","msgFrom":100,"contentType":110,"senderPlatformID":5,"senderNickname":"开发测试","seq":0,"isRead":false,"status":1,"customElem":{"data":"{\"customType\":200,\"data\":{\"inviterUserID\":\"1852607991\",\"inviteeUserIDList\":[\"8395269355\"],\"groupID\":\"\",\"roomID\":\"b75ad8c9-4482-45dc-9832-22051a7eaff6\",\"timeout\":60,\"mediaType\":\"audio\",\"sessionType\":1,\"platformID\":5}}"}}"]
index.es.js:1773 SDK => [OperationID:8b0c9ffe-73fb-40bf-8931-8a24992e5027] (invoked by js) run sendMessage with args ["8b0c9ffe-73fb-40bf-8931-8a24992e5027","{"clientMsgID":"c31978ab76684f863241b87d8eea526a","createTime":1725357331956,"sendTime":1725357331956,"sessionType":0,"sendID":"1852607991","msgFrom":100,"contentType":110,"senderPlatformID":5,"senderNickname":"开发测试","seq":0,"isRead":false,"status":1,"customElem":{"data":"{\"customType\":200,\"data\":{\"inviterUserID\":\"1852607991\",\"inviteeUserIDList\":[\"8395269355\"],\"groupID\":\"\",\"roomID\":\"b75ad8c9-4482-45dc-9832-22051a7eaff6\",\"timeout\":60,\"mediaType\":\"audio\",\"sessionType\":1,\"platformID\":5}}"}}","8395269355","","{"title":"你有一条新消息","desc":"","ex":"","iOSPushSound":"+1","iOSBadgeCount":true}",true]
index.es.js:533 => (invoked by go wasm) run getConversation method with args ["si_1852607991_8395269355"]
index.es.js:533 => (invoked by go wasm) run getConversation method with response {"data":"{"conversationID":"si_1852607991_8395269355","conversationType":1,"userID":"8395269355","groupID":"","showName":"aaron","faceURL":"","recvMsgOpt":0,"unreadCount":0,"groupAtType":0,"latestMsg":"{\"clientMsgID\":\"0e7b750e1bda2d676fc3d9db179a9da0\",\"serverMsgID\":\"8d47384fcf3db67f95dd435f6f67d245\",\"createTime\":1725272368472,\"sendTime\":1725272368721,\"sessionType\":1,\"sendID\":\"1852607991\",\"recvID\":\"8395269355\",\"msgFrom\":100,\"contentType\":101,\"senderPlatformID\":5,\"senderNickname\":\"开发测试\",\"seq\":8,\"isRead\":true,\"status\":2,\"textElem\":{\"content\":\"Fx2V7_80GrjDGJ1T1jPHLha4eyBSltM3qyBUVbpvUCw=|1|16ffeb6971ab24c33908faf301357dc47\"}}","latestMsgSendTime":1725272368721,"draftText":"","draftTextTime":0,"isPinned":false,"burnDuration":0,"isPrivateChat":false,"isNotInGroup":false,"updateUnreadCountTime":0,"attachedInfo":"","ex":"","maxSeq":0,"minSeq":0,"hasReadSeq":8,"msgDestructTime":0,"isMsgDestruct":false}","errCode":0,"errMsg":""}

@brucejia-creator
Copy link
Author

现在别人给我打视频我看不到
我们这边安卓端测试过,是好的,但是安卓端给我打电话,我这边完全没有反应

@brucejia-creator
Copy link
Author

我发的日志是web端开语音通话的时候的日志,但是我打电话得那个人没反应

@Bloomingg
Copy link
Member

when the other party dials you, you can collect your logs. at the same time, you can try to use the web client for both users to communicate.

@brucejia-creator
Copy link
Author

为什么会有暂未支持的消息类型?

@brucejia-creator
Copy link
Author

电话来了之后接通或者拒绝都会报错

@brucejia-creator
Copy link
Author

电话来了之后接通或者拒绝都会报错
index.tsx:88 Uncaught (in promise) {operationID: '6021badd-4f48-4e1d-b37e-7bb0c4b14ea2', event: 'Sendmessage', errCode: 1004, errMsg: '1004 userID not found: 1004 RecordNotFoundError userID not found: 1004 RecordNotFoundError'}

@brucejia-creator
Copy link
Author

这是为啥?

@Bloomingg
Copy link
Member

you can try to use the web client for both users to communicate.

@brucejia-creator
Copy link
Author

index-12f7c238.js:410 toast.inviteUserFailed {operationID: 'f70b3aa4-4c2c-40e1-820e-37b4e1e058ce', event: 'Sendmessage', errMsg: '10002 ArgsError', errCode: 10002}
这是什么问题?

@HNAN572
Copy link

HNAN572 commented Sep 15, 2024

音视频服务怎么部署可以指导下吗?大佬们

@OpenIM-Robot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Can you provide guidance on how to deploy audio and video services? Big guys

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants