Closed wang22290 closed 3 weeks ago
@wang22290 Hi, the contentType of the video message is equal to 104, I didn't find it in the logs.
@wang22290 Hi, the contentType of the video message is equal to 110, I didn't find it in the logs.
I resent the log, and in the log, the contentType is 110.
2024-08-09 03:30:44.660 INFO [PID:43825] [interaction/long_conn_mgr.go:437] recv msg {"operationID": "fffc8819-34d3-4267-9c97-3795aafaccd7", "errCode": 0, "errMsg": "", "reqIdentifier": 2001}
2024-08-09 03:30:44.661 DEBUG [PID:43825] [interaction/msg_sync.go:183] push msgs {"operationID": "fffc8819-34d3-4267-9c97-3795aafaccd7", "push": "msgs:
{key:\"si_2818335385_8302040959\" value:{Msgs:
{sendID:\"8302040959\" recvID:\"2818335385\" clientMsgID:\"ffebbde3508da1dc9f6448c3ba9babac\" serverMsgID:\"8c746b0b4ac932f85a2ed9f5547d4594\" senderPlatformID:4 senderNickname:\"wagn-test\" sessionType:1 msgFrom:100 contentType:110 content:\"{\\"data\\":\\"{\\\\"customType\\\\":200,\\\\"data\\\\":{\\\\"inviterUserID\\\\":\\\\"8302040959\\\\",\\\\"inviteeUserIDList\\\\":[\\\\"2818335385\\\\"],\\\\"groupID\\\\":\\\\"\\\\",\\\\"roomID\\\\":\\\\"61ea96ea-f4df-45d5-99ee-9ffcd207f069\\\\",\\\\"timeout\\\\":60,\\\\"mediaType\\\\":\\\\"video\\\\",\\\\"sessionType\\\\":1,\\\\"platformID\\\\":4}}\\"}\" sendTime:1723174244253 createTime:1723174242236 status:1
options:{key:\"conversationUpdate\" value:false} options:{key:\"history\" value:false} options:{key:\"offlinePush\" value:false} options:{key:\"persistent\" value:false} options:{key:\"senderConversationUpdate\" value:false} options:{key:\"senderSync\" value:false} options:{key:\"unreadCount\" value:false}
offlinePushInfo:{title:\"你有一条新消息\" iOSPushSound:\"+1\" iOSBadgeCount:true}
attachedInfo:\"null\"}}}", "syncedMaxSeqs": {"n_2254426245_2818335385":3,"n_2818335385_3878665227":1,"n_2818335385_6594205827":1,"n_2818335385_6828372381":1,"n_2818335385_7067133039":9,"n_2818335385_8295219665":1,"n_2818335385_8302040959":54,"n_2818335385_8696014801":1,"sg_3153821063":3,"si_2254426245_2818335385":3,"si_2818335385_3878665227":1,"si_2818335385_6594205827":1,"si_2818335385_6828372381":2,"si_2818335385_7067133039":7,"si_2818335385_8295219665":57,"si_2818335385_8302040959":81,"si_2818335385_8696014801":8}}
2024-08-09 03:30:44.662 DEBUG [PID:43825]
[interaction/msg_sync.go:369] triggerConversation {"operationID": "fffc8819-34d3-4267-9c97-3795aafaccd7",
"msgs": {"si_2818335385_8302040959":{"Msgs":
[{"sendID":"8302040959","recvID":"2818335385","groupID":"","clientMsgID":"ffebbde3508da1dc9f6448c3ba9babac","serverMsgID":"8c746b0b4ac932f85a2ed9f5547d4594","senderPlatformID":4,"senderNickname":"wagn-test","senderFaceURL":"","sessionType":1,"msgFrom":100,"contentType":110,"content":"eyJkYXRhIjoie1wiY3VzdG9tVHlwZVwiOjIwMCxcImRhdGFcIjp7XCJpbnZpdGVyVXNlcklEXCI6XCI4MzAyMDQwOTU5XCIsXCJpbnZpdGVlVXNlcklETGlzdFwiOltcIjI4MTgzMzUzODVcIl0sXCJncm91cElEXCI6XCJcIixcInJvb21JRFwiOlwiNjFlYTk2ZWEtZjRkZi00NWQ1LTk5ZWUtOWZmY2QyMDdmMDY5XCIsXCJ0aW1lb3V0XCI6NjAsXCJtZWRpYVR5cGVcIjpcInZpZGVvXCIsXCJzZXNzaW9uVHlwZVwiOjEsXCJwbGF0Zm9ybUlEXCI6NH19In0=","seq":0,"sendTime":1723174244253,"createTime":1723174242236,"status":1,"isRead":false,
"options":{"conversationUpdate":false,"history":false,"offlinePush":false,"persistent":false,"senderConversationUpdate":false,"senderSync":false,"unreadCount":false},
"offlinePushInfo":{"title":"你有一条新消息","desc":"","ex":"","iOSPushSound":"+1","iOSBadgeCount":true,"signalInfo":""},"atUserIDList":null,"attachedInfo":"null","ex":""}],
"isEnd":false}}}
2024-08-09 03:30:44.662 DEBUG [PID:43825] [conversation_msg/conversation_notification.go:33] NotificationCmd start {"operationID": "fffc8819-34d3-4267-9c97-3795aafaccd7", "cmd": "005", "value": {"Msgs":{"si_2818335385_8302040959":{"Msgs":
[{"sendID":"8302040959","recvID":"2818335385","groupID":"","clientMsgID":"ffebbde3508da1dc9f6448c3ba9babac","serverMsgID":"8c746b0b4ac932f85a2ed9f5547d4594","senderPlatformID":4,"senderNickname":"wagn-test","senderFaceURL":"","sessionType":1,"msgFrom":100,"contentType":110,"content":"eyJkYXRhIjoie1wiY3VzdG9tVHlwZVwiOjIwMCxcImRhdGFcIjp7XCJpbnZpdGVyVXNlcklEXCI6XCI4MzAyMDQwOTU5XCIsXCJpbnZpdGVlVXNlcklETGlzdFwiOltcIjI4MTgzMzUzODVcIl0sXCJncm91cElEXCI6XCJcIixcInJvb21JRFwiOlwiNjFlYTk2ZWEtZjRkZi00NWQ1LTk5ZWUtOWZmY2QyMDdmMDY5XCIsXCJ0aW1lb3V0XCI6NjAsXCJtZWRpYVR5cGVcIjpcInZpZGVvXCIsXCJzZXNzaW9uVHlwZVwiOjEsXCJwbGF0Zm9ybUlEXCI6NH19In0=","seq":0,"sendTime":1723174244253,"createTime":1723174242236,"status":1,"isRead":false,"
options":{"conversationUpdate":false,"history":false,"offlinePush":false,"persistent":false,"senderConversationUpdate":false,"senderSync":false,"unreadCount":false},
"offlinePushInfo":{"title":"你有一条新消息","desc":"","ex":"","iOSPushSound":"+1","iOSBadgeCount":true,"signalInfo":""},
"atUserIDList":null,"attachedInfo":"null","ex":""}],"isEnd":false}},"SyncFlag":0}}
2024-08-09 03:30:44.662 DEBUG [PID:43825] [interaction/msg_sync.go:304] noting conversation to sync {"operationID": "fffc8819-34d3-4267-9c97-3795aafaccd7", "syncMsgNum": 10}
2024-08-09 03:30:44.663 DEBUG [PID:43825] [conversation_msg/conversation_msg.go:186] message come here conversation ch {"operationID": "fffc8819-34d3-4267-9c97-3795aafaccd7", "conversation length": 1}
2024-08-09 03:30:44.663 DEBUG [PID:43825] [conversation_msg/conversation_msg.go:190] parse message in one conversation {"operationID": "fffc8819-34d3-4267-9c97-3795aafaccd7", "conversationID": "si_2818335385_8302040959", "message length": 1}
2024-08-09 03:30:44.663 DEBUG [PID:43825] [conversation_msg/conversation_msg.go:195] parse message {"operationID": "fffc8819-34d3-4267-9c97-3795aafaccd7", "conversationID": "si_2818335385_8302040959", "msg": "sendID:\"8302040959\" recvID:\"2818335385\" clientMsgID:\"ffebbde3508da1dc9f6448c3ba9babac\" serverMsgID:\"8c746b0b4ac932f85a2ed9f5547d4594\" senderPlatformID:4 senderNickname:\"wagn-test\" sessionType:1 msgFrom:100 contentType:110 content:\"{\\"data\\":\\"{\\\\"customType\\\\":200,\\\\"data\\\\":{\\\\"inviterUserID\\\\":\\\\"8302040959\\\\",\\\\"inviteeUserIDList\\\\":[\\\\"2818335385\\\\"],\\\\"groupID\\\\":\\\\"\\\\",\\\\"roomID\\\\":\\\\"61ea96ea-f4df-45d5-99ee-9ffcd207f069\\\\",\\\\"timeout\\\\":60,\\\\"mediaType\\\\":\\\\"video\\\\",\\\\"sessionType\\\\":1,\\\\"platformID\\\\":4}}\\"}\" sendTime:1723174244253 createTime:1723174242236 status:1
options:{key:\"conversationUpdate\" value:false} options:{key:\"history\" value:false}
options:{key:\"offlinePush\" value:false} options:{key:\"persistent\" value:false}
options:{key:\"senderConversationUpdate\" value:false}
options:{key:\"senderSync\" value:false} options:{key:\"unreadCount\" value:false}
offlinePushInfo:{title:\"你有一条新消息\" iOSPushSound:\"+1\" iOSBadgeCount:true} attachedInfo:\"null\""}
2024-08-09 03:30:44.664 DEBUG [PID:43825] [conversation_msg/conversation_msg.go:237] decode message {"operationID": "fffc8819-34d3-4267-9c97-3795aafaccd7", "msg": {"clientMsgID":"ffebbde3508da1dc9f6448c3ba9babac","serverMsgID":"8c746b0b4ac932f85a2ed9f5547d4594","createTime":1723174242236,"sendTime":1723174244253,"sessionType":1,"sendID":"8302040959","recvID":"2818335385","msgFrom":100,"contentType":110,"senderPlatformID":4,"senderNickname":"wagn-test","seq":0,"isRead":false,"status":2,"attachedInfo":"null","customElem":{"data":"{\"customType\":200,\"data\":{\"inviterUserID\":\"8302040959\",\"inviteeUserIDList\":[\"2818335385\"],\"groupID\":\"\",\"roomID\":\"61ea96ea-f4df-45d5-99ee-9ffcd207f069\",\"timeout\":60,\"mediaType\":\"video\",\"sessionType\":1,\"platformID\":4}}"}, "attachedInfoElem":{"groupHasReadInfo":{"hasReadCount":0,"groupMemberCount":0}, "isPrivateChat":false,"burnDuration":0,"hasReadTime":0,"isEncryption":false,"inEncryptStatus":false}}}
2024-08-09 03:30:44.665 DEBUG [PID:43825] [log/sql_logger.go:84] sql exec detail {"gorm": "gorm.io/driver/sqlite@v1.3.6/migrator.go:33", "elapsed time": "0.374917(ms)", "sql": "SELECT count(*) FROM sqlite_master WHERE type='table' AND name=\"chat_logs_si_2818335385_8302040959\""}
2024-08-09 03:30:44.666 ERROR [PID:43825] [log/sql_logger.go:71] sql exec detail {"operationID": "fffc8819-34d3-4267-9c97-3795aafaccd7", "gorm": "github.com/openimsdk/openim-sdk-core/v3@v3.0.0-00010101000000-000000000000/pkg/db/chat_log_model_v3.go:79", "elapsed time": "0.411625(ms)", "rows": 0, "sql": "SELECT * FROM chat_logs_si_2818335385_8302040959
WHERE client_msg_id = \"ffebbde3508da1dc9f6448c3ba9babac\" LIMIT 1", "error": "record not found"}
2024-08-09 03:30:44.667 DEBUG [PID:43825] [log/sql_logger.go:86] sql exec detail {"operationID": "fffc8819-34d3-4267-9c97-3795aafaccd7", "gorm": "github.com/openimsdk/openim-sdk-core/v3@v3.0.0-00010101000000-000000000000/pkg/db/conversation_model.go:155", "elapsed time": "0.506709(ms)", "rows": 1, "sql": "SELECT * FROM local_conversations
WHERE conversation_id = \"si_2818335385_8302040959\" LIMIT 1"}
2024-08-09 03:30:44.668 DEBUG [PID:43825] [log/sql_logger.go:86] sql exec detail {"operationID": "fffc8819-34d3-4267-9c97-3795aafaccd7", "gorm": "github.com/openimsdk/openim-sdk-core/v3@v3.0.0-00010101000000-000000000000/pkg/db/user_model.go:31", "elapsed time": "0.390667(ms)", "rows": 1, "sql": "SELECT * FROM local_users
WHERE user_id = \"2818335385\" LIMIT 1"}
2024-08-09 03:30:44.669 DEBUG [PID:43825] [log/sql_logger.go:86] sql exec detail {"operationID": "fffc8819-34d3-4267-9c97-3795aafaccd7", "gorm": "github.com/openimsdk/openim-sdk-core/v3@v3.0.0-00010101000000-000000000000/pkg/db/conversation_model.go:43", "elapsed time": "1.076000(ms)", "rows": 4, "sql": "SELECT * FROM local_conversations
WHERE latest_msg_send_time > 0 ORDER BY case when is_pinned=1 then 0 else 1 end,max(latest_msg_send_time,draft_text_time) DESC"}
2024-08-09 03:30:44.669 DEBUG [PID:43825] [conversation_msg/conversation_msg.go:328] listToMap: {"operationID": "fffc8819-34d3-4267-9c97-3795aafaccd7", "local conversation": [{"conversationID":"si_2818335385_8302040959","conversationType":1,"userID":"8302040959","groupID":"","showName":"wagn-test","faceURL":"","recvMsgOpt":0,"unreadCount":1,"groupAtType":0,"latestMsg":"{\"clientMsgID\":\"a7f3e2f530c83e8f16ea1a76fb21f5b6\",\"serverMsgID\":\"51b7286151d319146a60daa1f1935366\",\"createTime\":1723174217730,\"sendTime\":1723174219757,\"sessionType\":1,\"sendID\":\"8302040959\",\"recvID\":\"2818335385\",\"msgFrom\":100,\"contentType\":101,\"senderPlatformID\":4,\"senderNickname\":\"wagn-test\",\"seq\":81,\"isRead\":false,\"status\":2,\"attachedInfo\":\"null\",\"textElem\":{\"content\":\"1\"},\"attachedInfoElem\":{\"groupHasReadInfo\":{\"hasReadCount\":0,\"groupMemberCount\":0},\"isPrivateChat\":false,\"burnDuration\":0,\"hasReadTime\":0,\"isEncryption\":false,\"inEncryptStatus\":false}}","latestMsgSendTime":1723174219757,"draftText":"","draftTextTime":0,"isPinned":false,"isPrivateChat":false,"burnDuration":0,"isNotInGroup":false,"updateUnreadCountTime":0,"attachedInfo":"","ex":"","maxSeq":0,"minSeq":0,"hasReadSeq":80,"msgDestructTime":0,"isMsgDestruct":false},{"conversationID":"si_2254426245_2818335385","conversationType":1,"userID":"2254426245","groupID":"","showName":"test","faceURL":"","recvMsgOpt":0,"unreadCount":0,"groupAtType":0,"latestMsg":"{\"clientMsgID\":\"6c0a931cd8e66b5a95d1f9f5b03b4a4a\",\"serverMsgID\":\"da6a3322fd064e20a24fd8f418c93811\",\"createTime\":1723099932604,\"sendTime\":1723099932763,\"sessionType\":1,\"sendID\":\"2254426245\",\"recvID\":\"2818335385\",\"msgFrom\":100,\"contentType\":101,\"senderPlatformID\":5,\"senderNickname\":\"test\",\"seq\":3,\"isRead\":true,\"status\":2,\"attachedInfo\":\"null\",\"textElem\":{\"content\":\"111\"},\"attachedInfoElem\":{\"groupHasReadInfo\":{\"hasReadCount\":0,\"groupMemberCount\":0},\"isPrivateChat\":false,\"burnDuration\":0,\"hasReadTime\":0,\"isEncryption\":false,\"inEncryptStatus\":false}}","latestMsgSendTime":1723099932763,"draftText":"","draftTextTime":0,"isPinned":false,"isPrivateChat":false,"burnDuration":0,"isNotInGroup":false,"updateUnreadCountTime":0,"attachedInfo":"","ex":"","maxSeq":0,"minSeq":0,"hasReadSeq":3,"msgDestructTime":0,"isMsgDestruct":false},{"conversationID":"si_2818335385_7067133039","conversationType":1,"userID":"7067133039","groupID":"","showName":"linghu","faceURL":"","recvMsgOpt":0,"unreadCount":0,"groupAtType":0,"latestMsg":"{\"clientMsgID\":\"52c997736fdf6e20463de95882760ad9\",\"serverMsgID\":\"49c63c2128722a59fcf600907180576a\",\"createTime\":1723088207484,\"sendTime\":1723088207703,\"sessionType\":1,\"sendID\":\"2818335385\",\"recvID\":\"7067133039\",\"msgFrom\":100,\"contentType\":101,\"senderPlatformID\":1,\"senderNickname\":\"wagn\",\"seq\":7,\"isRead\":true,\"status\":2,\"attachedInfo\":\"null\",\"textElem\":{\"content\":\"hbb\"},\"attachedInfoElem\":{\"groupHasReadInfo\":{\"hasReadCount\":0,\"groupMemberCount\":0},\"isPrivateChat\":false,\"burnDuration\":0,\"hasReadTime\":0,\"isEncryption\":false,\"inEncryptStatus\":false}}","latestMsgSendTime":1723088207703,"draftText":"","draftTextTime":0,"isPinned":false,"isPrivateChat":false,"burnDuration":0,"isNotInGroup":false,"updateUnreadCountTime":0,"attachedInfo":"","ex":"","maxSeq":0,"minSeq":0,"hasReadSeq":7,"msgDestructTime":0,"isMsgDestruct":false},{"conversationID":"si_2818335385_8696014801","conversationType":1,"userID":"8696014801","groupID":"","showName":"zhangsan","faceURL":"","recvMsgOpt":0,"unreadCount":0,"groupAtType":0,"latestMsg":"{\"clientMsgID\":\"a9c63ab5fc38542ab67a6ef83d5225c2\",\"serverMsgID\":\"95ca3e761e367b278f9e78eb29ca29a0\",\"createTime\":1723000608115,\"sendTime\":1723000608296,\"sessionType\":1,\"sendID\":\"2818335385\",\"recvID\":\"8696014801\",\"msgFrom\":100,\"contentType\":110,\"senderPlatformID\":1,\"senderNickname\":\"wagn\",\"seq\":8,\"isRead\":false,\"status\":2,\"attachedInfo\":\"null\",\"customElem\":{\"data\":\"{\\"customType\\":203,\\"data\\":{\\"inviterUserID\\":\\"2818335385\\",\\"inviteeUserIDList\\":[\\"8696014801\\"],\\"groupID\\":null,\\"roomID\\":\\"10154a77-17f7-4049-8b3f-f9517fff8404\\",\\"timeout\\":30,\\"mediaType\\":\\"audio\\",\\"sessionType\\":1,\\"platformID\\":1}}\"},\"attachedInfoElem\":{\"groupHasReadInfo\":{\"hasReadCount\":0,\"groupMemberCount\":0},\"isPrivateChat\":false,\"burnDuration\":0,\"hasReadTime\":0,\"isEncryption\":false,\"inEncryptStatus\":false}}","latestMsgSendTime":1723000608296,"draftText":"","draftTextTime":0,"isPinned":false,"isPrivateChat":false,"burnDuration":0,"isNotInGroup":false,"updateUnreadCountTime":0,"attachedInfo":"","ex":"","maxSeq":0,"minSeq":0,"hasReadSeq":8,"msgDestructTime":0,"isMsgDestruct":false}], "generated c map": {}}
2024-08-09 03:30:44.670 INFO [PID:43825] [conversation_msg/conversation_msg.go:330] trigger map is : {"operationID": "fffc8819-34d3-4267-9c97-3795aafaccd7", "newConversations": {}, "changedConversations": {}}
2024-08-09 03:30:44.671 DEBUG [PID:43825] [log/sql_logger.go:86] sql exec detail {"operationID": "fffc8819-34d3-4267-9c97-3795aafaccd7", "gorm": "github.com/openimsdk/openim-sdk-core/v3@v3.0.0-00010101000000-000000000000/pkg/db/conversation_model.go:155", "elapsed time": "0.528959(ms)", "rows": 1, "sql": "SELECT * FROM local_conversations
WHERE conversation_id = \"si_2818335385_8302040959\" LIMIT 1"}
2024-08-09 03:30:44.672 DEBUG [PID:43825] [log/sql_logger.go:86] sql exec detail {"operationID": "fffc8819-34d3-4267-9c97-3795aafaccd7", "gorm": "github.com/openimsdk/openim-sdk-core/v3@v3.0.0-00010101000000-000000000000/pkg/db/conversation_model.go:57", "elapsed time": "0.679250(ms)", "rows": 5, "sql": "SELECT * FROM local_conversations
WHERE latest_msg_send_time = 0"}
native call flutter { method: advancedMsgListener type: onRecvOnlineOnlyMessage }
2024-08-09 03:30:44.673 DEBUG [PID:43825] [conversation_msg/conversation_msg.go:399] insert msg {"operationID": "fffc8819-34d3-4267-9c97-3795aafaccd7", "cost time": 0.009433542, "len": 1}
2024-08-09 03:30:44.673 DEBUG [PID:43825] [conversation_msg/conversation_notification.go:51] NotificationCmd end {"operationID": "fffc8819-34d3-4267-9c97-3795aafaccd7", "cmd": "005", "value": {"Msgs":{"si_2818335385_8302040959":{"Msgs":[{"sendID":"8302040959","recvID":"2818335385","groupID":"","clientMsgID":"ffebbde3508da1dc9f6448c3ba9babac","serverMsgID":"8c746b0b4ac932f85a2ed9f5547d4594","senderPlatformID":4,"senderNickname":"wagn-test","senderFaceURL":"","sessionType":1,"msgFrom":100,"contentType":110,"content":"eyJkYXRhIjoie1wiY3VzdG9tVHlwZVwiOjIwMCxcImRhdGFcIjp7XCJpbnZpdGVyVXNlcklEXCI6XCI4MzAyMDQwOTU5XCIsXCJpbnZpdGVlVXNlcklETGlzdFwiOltcIjI4MTgzMzUzODVcIl0sXCJncm91cElEXCI6XCJcIixcInJvb21JRFwiOlwiNjFlYTk2ZWEtZjRkZi00NWQ1LTk5ZWUtOWZmY2QyMDdmMDY5XCIsXCJ0aW1lb3V0XCI6NjAsXCJtZWRpYVR5cGVcIjpcInZpZGVvXCIsXCJzZXNzaW9uVHlwZVwiOjEsXCJwbGF0Zm9ybUlEXCI6NH19In0=","seq":0,"sendTime":1723174244253,"createTime":1723174242236,"status":1,"isRead":false,"options":{"conversationUpdate":false,"history":false,"offlinePush":false,"persistent":false,"senderConversationUpdate":false,"senderSync":false,"unreadCount":false},"offlinePushInfo":{"title":"你有一条新消息","desc":"","ex":"","iOSPushSound":"+1","iOSBadgeCount":true,"signalInfo":""},"atUserIDList":null,"attachedInfo":"null","ex":""}],"isEnd":false}},"SyncFlag":0}}
2024-08-09 03:30:49.487 INFO [PID:43825] [interaction/long_conn_mgr.go:316] ping and getMaxSeq start {"operationID": "1723174253296652779", "goroutine ID:": 110}
2024-08-09 03:30:50.086 INFO [PID:43825] [interaction/long_conn_mgr.go:437] recv msg {"operationID": "1723174253296652779", "errCode": 0, "errMsg": "", "reqIdentifier": 1001}
2024-08-09 03:30:50.086 INFO [PID:43825] [interaction/msg_sync.go:129] recv max seqs from long conn mgr, start sync msgs {"operationID": "1723174253296652779", "cmd": "maxSeq", "value": {"ConversationMaxSeqOnSvr":{"n_2254426245_2818335385":3,"n_2818335385_3878665227":1,"n_2818335385_6594205827":1,"n_2818335385_6828372381":1,"n_2818335385_7067133039":9,"n_2818335385_8295219665":1,"n_2818335385_8302040959":54,"n_2818335385_8696014801":1,"sg_3153821063":3,"si_2254426245_2818335385":3,"si_2818335385_3878665227":1,"si_2818335385_6594205827":1,"si_2818335385_6828372381":2,"si_2818335385_7067133039":7,"si_2818335385_8295219665":57,"si_2818335385_8302040959":81,"si_2818335385_8696014801":8}}}
2024-08-09 03:30:50.087 DEBUG [PID:43825] [interaction/msg_sync.go:304] noting conversation to sync {"operationID": "1723174194747", "syncMsgNum": 10}
My mistake, the type of video message is 104.
My mistake, the type of video message is 104.
But the log I captured shows contentType 110. I am using the Electron demo compiled with the macOS project. In the Electron demo, I only modified the backend URL for our deployment without changing any other code. Could this issue be related to the SDK, or is it caused by something else?
My mistake, the type of video message is 104.
I am using a Flutter project running on an iPhone. When two iPhones send videos, the connection works fine, but the log I captured also shows contentType as 110.
`2024-08-09 03:34:59.029 INFO [PID:43825] [interaction/long_conn_mgr.go:437] recv msg {"operationID": "1723174498485", "errCode": 0, "errMsg": "", "reqIdentifier": 2001}
2024-08-09 03:34:59.031 DEBUG [PID:43825] [interaction/msg_sync.go:183] push msgs {"operationID": "1723174498485", "push": "msgs:
{key:\"si_2818335385_8302040959\" value:{Msgs:
{sendID:\"8302040959\" recvID:\"2818335385\" clientMsgID:\"afbe34ad130231c9846733da456d8c31\" serverMsgID:\"0cc293be85f076477f4ae921e2ce1154\" senderPlatformID:1 senderNickname:\"wagn-test\" sessionType:1 msgFrom:100 contentType:110 content:\"{\\"data\\":\\"{\\\\"customType\\\\":200,\\\\"data\\\\":{\\\\"inviterUserID\\\\":\\\\"8302040959\\\\",\\\\"inviteeUserIDList\\\\":[\\\\"2818335385\\\\"],\\\\"groupID\\\\":null,\\\\"roomID\\\\":\\\\"23397888-4189-4042-9586-2655458e4644\\\\",\\\\"timeout\\\\":30,\\\\"mediaType\\\\":\\\\"video\\\\",\\\\"sessionType\\\\":1,\\\\"platformID\\\\":1}}\\"}\" seq:84 sendTime:1723174498657 createTime:1723174498483 status:1
offlinePushInfo:{}
attachedInfo:\"null\"}}}", "syncedMaxSeqs": {"n_2254426245_2818335385":3,"n_2818335385_3878665227":1,"n_2818335385_6594205827":1,"n_2818335385_6828372381":1,"n_2818335385_7067133039":9,"n_2818335385_8295219665":1,"n_2818335385_8302040959":55,"n_2818335385_8696014801":1,"sg_3153821063":3,"si_2254426245_2818335385":3,"si_2818335385_3878665227":1,"si_2818335385_6594205827":1,"si_2818335385_6828372381":2,"si_2818335385_7067133039":7,"si_2818335385_8295219665":57,"si_2818335385_8302040959":83,"si_2818335385_8696014801":8}}
2024-08-09 03:34:59.031 DEBUG [PID:43825]
[interaction/msg_sync.go:205] trigger msgs {"operationID": "1723174498485",
"msgs":
[{"sendID":"8302040959","recvID":"2818335385","groupID":"","clientMsgID":"afbe34ad130231c9846733da456d8c31","serverMsgID":"0cc293be85f076477f4ae921e2ce1154","senderPlatformID":1,"senderNickname":"wagn-test","senderFaceURL":"","sessionType":1,"msgFrom":100,"contentType":110,"content":"eyJkYXRhIjoie1wiY3VzdG9tVHlwZVwiOjIwMCxcImRhdGFcIjp7XCJpbnZpdGVyVXNlcklEXCI6XCI4MzAyMDQwOTU5XCIsXCJpbnZpdGVlVXNlcklETGlzdFwiOltcIjI4MTgzMzUzODVcIl0sXCJncm91cElEXCI6bnVsbCxcInJvb21JRFwiOlwiMjMzOTc4ODgtNDE4OS00MDQyLTk1ODYtMjY1NTQ1OGU0NjQ0XCIsXCJ0aW1lb3V0XCI6MzAsXCJtZWRpYVR5cGVcIjpcInZpZGVvXCIsXCJzZXNzaW9uVHlwZVwiOjEsXCJwbGF0Zm9ybUlEXCI6MX19In0=","seq":84,"sendTime":1723174498657,"createTime":1723174498483,"status":1,"isRead":false,
"options":null,
"offlinePushInfo":{"title":"","desc":"","ex":"","iOSPushSound":"","iOSBadgeCount":false,"signalInfo":""},"atUserIDList":null,"attachedInfo":"null","ex":""}]}
2024-08-09 03:34:59.032 DEBUG [PID:43825] [interaction/msg_sync.go:369] triggerConversation {"operationID": "1723174498485", "msgs": {"si_2818335385_8302040959": {"Msgs":
[{"sendID":"8302040959","recvID":"2818335385","groupID":"","clientMsgID":"afbe34ad130231c9846733da456d8c31","serverMsgID":"0cc293be85f076477f4ae921e2ce1154","senderPlatformID":1,"senderNickname":"wagn-test","senderFaceURL":"","sessionType":1,"msgFrom":100,"contentType":110,"content":"eyJkYXRhIjoie1wiY3VzdG9tVHlwZVwiOjIwMCxcImRhdGFcIjp7XCJpbnZpdGVyVXNlcklEXCI6XCI4MzAyMDQwOTU5XCIsXCJpbnZpdGVlVXNlcklETGlzdFwiOltcIjI4MTgzMzUzODVcIl0sXCJncm91cElEXCI6bnVsbCxcInJvb21JRFwiOlwiMjMzOTc4ODgtNDE4OS00MDQyLTk1ODYtMjY1NTQ1OGU0NjQ0XCIsXCJ0aW1lb3V0XCI6MzAsXCJtZWRpYVR5cGVcIjpcInZpZGVvXCIsXCJzZXNzaW9uVHlwZVwiOjEsXCJwbGF0Zm9ybUlEXCI6MX19In0=","seq":84,"sendTime":1723174498657,"createTime":1723174498483,"status":1,"isRead":false, "options":null, "offlinePushInfo":{"title":"","desc":"","ex":"","iOSPushSound":"","iOSBadgeCount":false,"signalInfo":""},
"atUserIDList":null,"attachedInfo":"null","ex":""}],
"isEnd":false}}}
2024-08-09 03:34:59.032 DEBUG [PID:43825] [conversation_msg/conversation_notification.go:33]
NotificationCmd start
{"operationID": "1723174498485", "cmd": "005", "value": {"Msgs":{"si_2818335385_8302040959":{"Msgs":
[{"sendID":"8302040959","recvID":"2818335385","groupID":"","clientMsgID":"afbe34ad130231c9846733da456d8c31","serverMsgID":"0cc293be85f076477f4ae921e2ce1154","senderPlatformID":1,"senderNickname":"wagn-test","senderFaceURL":"","sessionType":1,"msgFrom":100,"contentType":110,"content":"eyJkYXRhIjoie1wiY3VzdG9tVHlwZVwiOjIwMCxcImRhdGFcIjp7XCJpbnZpdGVyVXNlcklEXCI6XCI4MzAyMDQwOTU5XCIsXCJpbnZpdGVlVXNlcklETGlzdFwiOltcIjI4MTgzMzUzODVcIl0sXCJncm91cElEXCI6bnVsbCxcInJvb21JRFwiOlwiMjMzOTc4ODgtNDE4OS00MDQyLTk1ODYtMjY1NTQ1OGU0NjQ0XCIsXCJ0aW1lb3V0XCI6MzAsXCJtZWRpYVR5cGVcIjpcInZpZGVvXCIsXCJzZXNzaW9uVHlwZVwiOjEsXCJwbGF0Zm9ybUlEXCI6MX19In0=","seq":84,"sendTime":1723174498657,"createTime":1723174498483,"status":1,"isRead":false,
"options":null,
"offlinePushInfo":{"title":"","desc":"","ex":"","iOSPushSound":"","iOSBadgeCount":false,"signalInfo":""},
"atUserIDList":null,"attachedInfo":"null","ex":""}],"isEnd":false}}, "SyncFlag":0}}
2024-08-09 03:34:59.033 DEBUG [PID:43825] [interaction/msg_sync.go:304] noting conversation to sync {"operationID": "1723174498485", "syncMsgNum": 10}
2024-08-09 03:34:59.033 DEBUG [PID:43825] [conversation_msg/conversation_msg.go:186] message come here conversation ch {"operationID": "1723174498485", "conversation length": 1}
2024-08-09 03:34:59.033 DEBUG [PID:43825] [conversation_msg/conversation_msg.go:190] parse message in one conversation {"operationID": "1723174498485", "conversationID": "si_2818335385_8302040959", "message length": 1}
2024-08-09 03:34:59.034 DEBUG [PID:43825] [conversation_msg/conversation_msg.go:195] parse message {"operationID": "1723174498485", "conversationID": "si_2818335385_8302040959",
"msg": "sendID:\"8302040959\" recvID:\"2818335385\" clientMsgID:\"afbe34ad130231c9846733da456d8c31\" serverMsgID:\"0cc293be85f076477f4ae921e2ce1154\" senderPlatformID:1 senderNickname:\"wagn-test\" sessionType:1 msgFrom:100 contentType:110 content:\"{\\"data\\":\\"{\\\\"customType\\\\":200,\\\\"data\\\\":{\\\\"inviterUserID\\\\":\\\\"8302040959\\\\",\\\\"inviteeUserIDList\\\\":[\\\\"2818335385\\\\"],\\\\"groupID\\\\":null,\\\\"roomID\\\\":\\\\"23397888-4189-4042-9586-2655458e4644\\\\",\\\\"timeout\\\\":30,\\\\"mediaType\\\\":\\\\"video\\\\",\\\\"sessionType\\\\":1,\\\\"platformID\\\\":1}}\\"}\" seq:84 sendTime:1723174498657 createTime:1723174498483 status:1 offlinePushInfo:{} attachedInfo:\"null\""}
2024-08-09 03:34:59.035 DEBUG [PID:43825] [conversation_msg/conversation_msg.go:237] decode message {"operationID": "1723174498485", "msg": {"clientMsgID":"afbe34ad130231c9846733da456d8c31","serverMsgID":"0cc293be85f076477f4ae921e2ce1154","createTime":1723174498483,"sendTime":1723174498657,"sessionType":1,"sendID":"8302040959","recvID":"2818335385","msgFrom":100,"contentType":110,"senderPlatformID":1,"senderNickname":"wagn-test","seq":84,"isRead":false,"status":2,"attachedInfo":"null","customElem":{"data":"{\"customType\":200,\"data\":{\"inviterUserID\":\"8302040959\",\"inviteeUserIDList\":[\"2818335385\"],\"groupID\":null,\"roomID\":\"23397888-4189-4042-9586-2655458e4644\",\"timeout\":30,\"mediaType\":\"video\",\"sessionType\":1,\"platformID\":1}}"},"attachedInfoElem":{"groupHasReadInfo":{"hasReadCount":0,"groupMemberCount":0},"isPrivateChat":false,"burnDuration":0,"hasReadTime":0,"isEncryption":false,"inEncryptStatus":false}}}
2024-08-09 03:34:59.035 DEBUG [PID:43825] [log/sql_logger.go:84] sql exec detail {"gorm": "gorm.io/driver/sqlite@v1.3.6/migrator.go:33", "elapsed time": "0.340083(ms)", "sql": "SELECT count(*) FROM sqlite_master WHERE type='table' AND name=\"chat_logs_si_2818335385_8302040959\""}
2024-08-09 03:34:59.037 ERROR [PID:43825] [log/sql_logger.go:71] sql exec detail {"operationID": "1723174498485", "gorm": "github.com/openimsdk/openim-sdk-core/v3@v3.0.0-00010101000000-000000000000/pkg/db/chat_log_model_v3.go:79", "elapsed time": "0.465750(ms)", "rows": 0, "sql": "SELECT * FROM chat_logs_si_2818335385_8302040959
WHERE client_msg_id = \"afbe34ad130231c9846733da456d8c31\" LIMIT 1", "error": "record not found"}
2024-08-09 03:34:59.038 DEBUG [PID:43825] [log/sql_logger.go:86] sql exec detail {"operationID": "1723174498485", "gorm": "github.com/openimsdk/openim-sdk-core/v3@v3.0.0-00010101000000-000000000000/pkg/db/conversation_model.go:155", "elapsed time": "0.513250(ms)", "rows": 1, "sql": "SELECT * FROM local_conversations
WHERE conversation_id = \"si_2818335385_8302040959\" LIMIT 1"}
2024-08-09 03:34:59.038 DEBUG [PID:43825] [log/sql_logger.go:86] sql exec detail {"operationID": "1723174498485", "gorm": "github.com/openimsdk/openim-sdk-core/v3@v3.0.0-00010101000000-000000000000/pkg/db/user_model.go:31", "elapsed time": "0.344875(ms)", "rows": 1, "sql": "SELECT * FROM local_users
WHERE user_id = \"2818335385\" LIMIT 1"}
2024-08-09 03:34:59.040 DEBUG [PID:43825] [log/sql_logger.go:86] sql exec detail {"operationID": "1723174498485", "gorm": "github.com/openimsdk/openim-sdk-core/v3@v3.0.0-00010101000000-000000000000/pkg/db/conversation_model.go:43", "elapsed time": "0.994958(ms)", "rows": 4, "sql": "SELECT * FROM local_conversations
WHERE latest_msg_send_time > 0 ORDER BY case when is_pinned=1 then 0 else 1 end,max(latest_msg_send_time,draft_text_time) DESC"}
2024-08-09 03:34:59.040 DEBUG [PID:43825] [conversation_msg/conversation_msg.go:328] listToMap:
{"operationID": "1723174498485", "local conversation": [{"conversationID":"si_2818335385_8302040959","conversationType":1,"userID":"8302040959","groupID":"","showName":"wagn-test","faceURL":"","recvMsgOpt":0,"unreadCount":2,"groupAtType":0,"latestMsg":"{\"clientMsgID\":\"b78fb4f293a793e21b7d0df77f8fbbdc\",\"serverMsgID\":\"6220f93d04e26b2fbf37c71953df0a9b\",\"createTime\":1723174491258,\"sendTime\":1723174491485,\"sessionType\":1,\"sendID\":\"2818335385\",\"recvID\":\"8302040959\",\"msgFrom\":100,\"contentType\":110,\"senderPlatformID\":1,\"senderNickname\":\"wagn\",\"seq\":83,\"isRead\":true,\"status\":2,\"customElem\":{\"data\":\"{\\"customType\\":202,\\"data\\":{\\"inviterUserID\\":\\"8302040959\\",\\"inviteeUserIDList\\":[\\"2818335385\\"],\\"groupID\\":null,\\"roomID\\":\\"ca883d50-6a27-4dfc-bda4-a0fea6d7e7be\\",\\"timeout\\":30,\\"mediaType\\":\\"video\\",\\"sessionType\\":1,\\"platformID\\":1}}\"}}","latestMsgSendTime":1723174491485,"draftText":"","draftTextTime":0,"isPinned":false,"isPrivateChat":false,"burnDuration":0,"isNotInGroup":false,"updateUnreadCountTime":0,"attachedInfo":"","ex":"","maxSeq":0,"minSeq":0,"hasReadSeq":80,"msgDestructTime":0,"isMsgDestruct":false},{"conversationID":"si_2254426245_2818335385","conversationType":1,"userID":"2254426245","groupID":"","showName":"test","faceURL":"","recvMsgOpt":0,"unreadCount":0,"groupAtType":0,"latestMsg":"{\"clientMsgID\":\"6c0a931cd8e66b5a95d1f9f5b03b4a4a\",\"serverMsgID\":\"da6a3322fd064e20a24fd8f418c93811\",\"createTime\":1723099932604,\"sendTime\":1723099932763,\"sessionType\":1,\"sendID\":\"2254426245\",\"recvID\":\"2818335385\",\"msgFrom\":100,\"contentType\":101,\"senderPlatformID\":5,\"senderNickname\":\"test\",\"seq\":3,\"isRead\":true,\"status\":2,\"attachedInfo\":\"null\",\"textElem\":{\"content\":\"111\"},\"attachedInfoElem\":{\"groupHasReadInfo\":{\"hasReadCount\":0,\"groupMemberCount\":0},\"isPrivateChat\":false,\"burnDuration\":0,\"hasReadTime\":0,\"isEncryption\":false,\"inEncryptStatus\":false}}","latestMsgSendTime":1723099932763,"draftText":"","draftTextTime":0,"isPinned":false,"isPrivateChat":false,"burnDuration":0,"isNotInGroup":false,"updateUnreadCountTime":0,"attachedInfo":"","ex":"","maxSeq":0,"minSeq":0,"hasReadSeq":3,"msgDestructTime":0,"isMsgDestruct":false},{"conversationID":"si_2818335385_7067133039","conversationType":1,"userID":"7067133039","groupID":"","showName":"linghu","faceURL":"","recvMsgOpt":0,"unreadCount":0,"groupAtType":0,"latestMsg":"{\"clientMsgID\":\"52c997736fdf6e20463de95882760ad9\",\"serverMsgID\":\"49c63c2128722a59fcf600907180576a\",\"createTime\":1723088207484,\"sendTime\":1723088207703,\"sessionType\":1,\"sendID\":\"2818335385\",\"recvID\":\"7067133039\",\"msgFrom\":100,\"contentType\":101,\"senderPlatformID\":1,\"senderNickname\":\"wagn\",\"seq\":7,\"isRead\":true,\"status\":2,\"attachedInfo\":\"null\",\"textElem\":{\"content\":\"hbb\"},\"attachedInfoElem\":{\"groupHasReadInfo\":{\"hasReadCount\":0,\"groupMemberCount\":0},\"isPrivateChat\":false,\"burnDuration\":0,\"hasReadTime\":0,\"isEncryption\":false,\"inEncryptStatus\":false}}","latestMsgSendTime":1723088207703,"draftText":"","draftTextTime":0,"isPinned":false,"isPrivateChat":false,"burnDuration":0,"isNotInGroup":false,"updateUnreadCountTime":0,"attachedInfo":"","ex":"","maxSeq":0,"minSeq":0,"hasReadSeq":7,"msgDestructTime":0,"isMsgDestruct":false},{"conversationID":"si_2818335385_8696014801","conversationType":1,"userID":"8696014801","groupID":"","showName":"zhangsan","faceURL":"","recvMsgOpt":0,"unreadCount":0,"groupAtType":0,"latestMsg":"{\"clientMsgID\":\"a9c63ab5fc38542ab67a6ef83d5225c2\",\"serverMsgID\":\"95ca3e761e367b278f9e78eb29ca29a0\",\"createTime\":1723000608115,\"sendTime\":1723000608296,\"sessionType\":1,\"sendID\":\"2818335385\",\"recvID\":\"8696014801\",\"msgFrom\":100,\"contentType\":110,\"senderPlatformID\":1,\"senderNickname\":\"wagn\",\"seq\":8,\"isRead\":false,\"status\":2,\"attachedInfo\":\"null\",\"customElem\":{\"data\":\"{\\"customType\\":203,\\"data\\":{\\"inviterUserID\\":\\"2818335385\\",\\"inviteeUserIDList\\":[\\"8696014801\\"],\\"groupID\\":null,\\"roomID\\":\\"10154a77-17f7-4049-8b3f-f9517fff8404\\",\\"timeout\\":30,\\"mediaType\\":\\"audio\\",\\"sessionType\\":1,\\"platformID\\":1}}\"},\"attachedInfoElem\":{\"groupHasReadInfo\":{\"hasReadCount\":0,\"groupMemberCount\":0},\"isPrivateChat\":false,\"burnDuration\":0,\"hasReadTime\":0,\"isEncryption\":false,\"inEncryptStatus\":false}}","latestMsgSendTime":1723000608296,"draftText":"","draftTextTime":0,"isPinned":false,"isPrivateChat":false,"burnDuration":0,"isNotInGroup":false,"updateUnreadCountTime":0,"attachedInfo":"","ex":"","maxSeq":0,"minSeq":0,"hasReadSeq":8,"msgDestructTime":0,"isMsgDestruct":false}], "generated c map": {"si_2818335385_8302040959":{"conversationID":"si_2818335385_8302040959","conversationType":1,"userID":"8302040959","groupID":"","showName":"wagn-test","faceURL":"","recvMsgOpt":0,"unreadCount":1,"groupAtType":0,"latestMsg":"{\"clientMsgID\":\"afbe34ad130231c9846733da456d8c31\",\"serverMsgID\":\"0cc293be85f076477f4ae921e2ce1154\",\"createTime\":1723174498483,\"sendTime\":1723174498657,\"sessionType\":1,\"sendID\":\"8302040959\",\"recvID\":\"2818335385\",\"msgFrom\":100,\"contentType\":110,\"senderPlatformID\":1,\"senderNickname\":\"wagn-test\",\"seq\":84,\"isRead\":false,\"status\":2,\"attachedInfo\":\"null\",\"customElem\":{\"data\":\"{\\"customType\\":200,\\"data\\":{\\"inviterUserID\\":\\"8302040959\\",\\"inviteeUserIDList\\":[\\"2818335385\\"],\\"groupID\\":null,\\"roomID\\":\\"23397888-4189-4042-9586-2655458e4644\\",\\"timeout\\":30,\\"mediaType\\":\\"video\\",\\"sessionType\\":1,\\"platformID\\":1}}\"},\"attachedInfoElem\":{\"groupHasReadInfo\":{\"hasReadCount\":0,\"groupMemberCount\":0},\"isPrivateChat\":false,\"burnDuration\":0,\"hasReadTime\":0,\"isEncryption\":false,\"inEncryptStatus\":false}}","latestMsgSendTime":1723174498657,"draftText":"","draftTextTime":0,"isPinned":false,"isPrivateChat":false,"burnDuration":0,"isNotInGroup":false,"updateUnreadCountTime":0,"attachedInfo":"","ex":"","maxSeq":0,"minSeq":0,"hasReadSeq":0,"msgDestructTime":0,"isMsgDestruct":false}}}
2024-08-09 03:34:59.041 INFO [PID:43825] [conversation_msg/conversation_msg.go:330] trigger map is : {"operationID": "1723174498485", "newConversations": {}, "changedConversations": {"si_2818335385_8302040959":{"conversationID":"si_2818335385_8302040959","conversationType":1,"userID":"8302040959","groupID":"","showName":"wagn-test","faceURL":"","recvMsgOpt":0,"unreadCount":3,"groupAtType":0,"latestMsg":"{\"clientMsgID\":\"afbe34ad130231c9846733da456d8c31\",\"serverMsgID\":\"0cc293be85f076477f4ae921e2ce1154\",\"createTime\":1723174498483,\"sendTime\":1723174498657,\"sessionType\":1,\"sendID\":\"8302040959\",\"recvID\":\"2818335385\",\"msgFrom\":100,\"contentType\":110,\"senderPlatformID\":1,\"senderNickname\":\"wagn-test\",\"seq\":84,\"isRead\":false,\"status\":2,\"attachedInfo\":\"null\",\"customElem\":{\"data\":\"{\\"customType\\":200,\\"data\\":{\\"inviterUserID\\":\\"8302040959\\",\\"inviteeUserIDList\\":[\\"2818335385\\"],\\"groupID\\":null,\\"roomID\\":\\"23397888-4189-4042-9586-2655458e4644\\",\\"timeout\\":30,\\"mediaType\\":\\"video\\",\\"sessionType\\":1,\\"platformID\\":1}}\"},\"attachedInfoElem\":{\"groupHasReadInfo\":{\"hasReadCount\":0,\"groupMemberCount\":0},\"isPrivateChat\":false,\"burnDuration\":0,\"hasReadTime\":0,\"isEncryption\":false,\"inEncryptStatus\":false}}","latestMsgSendTime":1723174498657,"draftText":"","draftTextTime":0,"isPinned":false,"isPrivateChat":false,"burnDuration":0,"isNotInGroup":false,"updateUnreadCountTime":0,"attachedInfo":"","ex":"","maxSeq":0,"minSeq":0,"hasReadSeq":80,"msgDestructTime":0,"isMsgDestruct":false}}}
2024-08-09 03:34:59.041 DEBUG [PID:43825] [log/sql_logger.go:86] sql exec detail {"operationID": "1723174498485", "gorm": "github.com/openimsdk/openim-sdk-core/v3@v3.0.0-00010101000000-000000000000/pkg/db/conversation_model.go:155", "elapsed time": "0.497542(ms)", "rows": 1, "sql": "SELECT * FROM local_conversations
WHERE conversation_id = \"si_2818335385_8302040959\" LIMIT 1"}
2024-08-09 03:34:59.048 DEBUG [PID:43825] [log/sql_logger.go:86] sql exec detail {"operationID": "1723174498485", "gorm": "github.com/openimsdk/openim-sdk-core/v3@v3.0.0-00010101000000-000000000000/pkg/db/chat_log_model_v3.go:67", "elapsed time": "6.542875(ms)", "rows": 1, "sql": "INSERT INTO chat_logs_si_2818335385_8302040959
(client_msg_id
,server_msg_id
,send_id
,recv_id
,sender_platform_id
,sender_nick_name
,sender_face_url
,session_type
,msg_from
,content_type
,content
,is_read
,status
,seq
,send_time
,create_time
,attached_info
,ex
,local_ex
,is_react
,is_external_extensions
,msg_first_modify_time
) VALUES (\"afbe34ad130231c9846733da456d8c31\",\"0cc293be85f076477f4ae921e2ce1154\",\"8302040959\",\"2818335385\",1,\"wagn-test\",\"\",1,100,110,\"{\\"data\\":\\"{\\\"customType\\\":200,\\\"data\\\":{\\\"inviterUserID\\\":\\\"8302040959\\\",\\\"inviteeUserIDList\\\":[\\\"2818335385\\\"],\\\"groupID\\\":null,\\\"roomID\\\":\\\"23397888-4189-4042-9586-2655458e4644\\\",\\\"timeout\\\":30,\\\"mediaType\\\":\\\"video\\\",\\\"sessionType\\\":1,\\\"platformID\\\":1}}\\"}\",false,2,84,1723174498657,1723174498483,\"{\\"groupHasReadInfo\\":{\\"hasReadCount\\":0,\\"groupMemberCount\\":0},\\"isPrivateChat\\":false,\\"burnDuration\\":0,\\"hasReadTime\\":0,\\"isEncryption\\":false,\\"inEncryptStatus\\":false}\",\"\",\"\",false,false,0)"}
2024-08-09 03:34:59.049 DEBUG [PID:43825] [log/sql_logger.go:86] sql exec detail {"operationID": "1723174498485", "gorm": "github.com/openimsdk/openim-sdk-core/v3@v3.0.0-00010101000000-000000000000/pkg/db/conversation_model.go:57", "elapsed time": "0.691500(ms)", "rows": 5, "sql": "SELECT * FROM local_conversations
WHERE latest_msg_send_time = 0"}
2024-08-09 03:34:59.052 DEBUG [PID:43825] [log/sql_logger.go:86] sql exec detail {"operationID": "1723174498485", "gorm": "github.com/openimsdk/openim-sdk-core/v3@v3.0.0-00010101000000-000000000000/pkg/db/conversation_model.go:162", "elapsed time": "1.839750(ms)", "rows": 1, "sql": "UPDATE local_conversations
SET conversation_type
=1,user_id
=\"8302040959\",show_name
=\"wagn-test\",unread_count
=3,latest_msg
=\"{\\"clientMsgID\\":\\"afbe34ad130231c9846733da456d8c31\\",\\"serverMsgID\\":\\"0cc293be85f076477f4ae921e2ce1154\\",\\"createTime\\":1723174498483,\\"sendTime\\":1723174498657,\\"sessionType\\":1,\\"sendID\\":\\"8302040959\\",\\"recvID\\":\\"2818335385\\",\\"msgFrom\\":100,\\"contentType\\":110,\\"senderPlatformID\\":1,\\"senderNickname\\":\\"wagn-test\\",\\"seq\\":84,\\"isRead\\":false,\\"status\\":2,\\"attachedInfo\\":\\"null\\",\\"customElem\\":{\\"data\\":\\"{\\\"customType\\\":200,\\\"data\\\":{\\\"inviterUserID\\\":\\\"8302040959\\\",\\\"inviteeUserIDList\\\":[\\\"2818335385\\\"],\\\"groupID\\\":null,\\\"roomID\\\":\\\"23397888-4189-4042-9586-2655458e4644\\\",\\\"timeout\\\":30,\\\"mediaType\\\":\\\"video\\\",\\\"sessionType\\\":1,\\\"platformID\\\":1}}\\"},\\"attachedInfoElem\\":{\\"groupHasReadInfo\\":{\\"hasReadCount\\":0,\\"groupMemberCount\\":0},\\"isPrivateChat\\":false,\\"burnDuration\\":0,\\"hasReadTime\\":0,\\"isEncryption\\":false,\\"inEncryptStatus\\":false}}\",latest_msg_send_time
=1723174498657,has_read_seq
=80 WHERE conversation_id
= \"si_2818335385_8302040959\""}
native call flutter { method: advancedMsgListener type: onRecvNewMessage }
native call flutter { method: conversationListener type: onConversationChanged }
2024-08-09 03:34:59.052 DEBUG [PID:43825] [log/sql_logger.go:86] sql exec detail {"gorm": "github.com/openimsdk/openim-sdk-core/v3@v3.0.0-00010101000000-000000000000/pkg/db/conversation_model.go:315", "elapsed time": "0.229458(ms)", "rows": 4, "sql": "SELECT unread_count
FROM local_conversations
WHERE recv_msg_opt < 2 and latest_msg_send_time > 0"}
native call flutter { method: conversationListener type: onTotalUnreadMessageCountChanged }
2024-08-09 03:34:59.052 DEBUG [PID:43825] [conversation_msg/conversation_msg.go:399] insert msg {"operationID": "1723174498485", "cost time": 0.019008375, "len": 1}
2024-08-09 03:34:59.053 DEBUG [PID:43825] [conversation_msg/conversation_notification.go:51] NotificationCmd end {"operationID": "1723174498485", "cmd": "005", "value": {"Msgs":{"si_2818335385_8302040959":{"Msgs":[{"sendID":"8302040959","recvID":"2818335385","groupID":"","clientMsgID":"afbe34ad130231c9846733da456d8c31","serverMsgID":"0cc293be85f076477f4ae921e2ce1154","senderPlatformID":1,"senderNickname":"wagn-test","senderFaceURL":"","sessionType":1,"msgFrom":100,"contentType":110,"content":"eyJkYXRhIjoie1wiY3VzdG9tVHlwZVwiOjIwMCxcImRhdGFcIjp7XCJpbnZpdGVyVXNlcklEXCI6XCI4MzAyMDQwOTU5XCIsXCJpbnZpdGVlVXNlcklETGlzdFwiOltcIjI4MTgzMzUzODVcIl0sXCJncm91cElEXCI6bnVsbCxcInJvb21JRFwiOlwiMjMzOTc4ODgtNDE4OS00MDQyLTk1ODYtMjY1NTQ1OGU0NjQ0XCIsXCJ0aW1lb3V0XCI6MzAsXCJtZWRpYVR5cGVcIjpcInZpZGVvXCIsXCJzZXNzaW9uVHlwZVwiOjEsXCJwbGF0Zm9ybUlEXCI6MX19In0=","seq":84,"sendTime":1723174498657,"createTime":1723174498483,"status":1,"isRead":false,"options":null,"offlinePushInfo":{"title":"","desc":"","ex":"","iOSPushSound":"","iOSBadgeCount":false,"signalInfo":""},"atUserIDList":null,"attachedInfo":"null","ex":""}],"isEnd":false}},"SyncFlag":0}}
2024-08-09 03:34:59.060 INFO [PID:43825] [open_im_sdk/caller.go:115] func call req {"operationID": "1723174499060", "function name": "github.com/openimsdk/openim-sdk-core/v3/internal/third.(*Third).SetAppBadge-fm", "args": [3]}
2024-08-09 03:34:59.060 DEBUG [PID:43825] [util/post.go:89] ApiRequest {"operationID": "1723174499060", "url": "https://imserver.alphatics.tech/third/set_app_badge", "body": "{\"userID\":\"2818335385\",\"appUnreadCount\":3}"}
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel: "dev.flutter.pigeon.wakelock_plus_platform_interface.WakelockPlusApi.toggle"., null, null)
Are you asking about video calls, not video messages?
If Electron Demo cannot be used, please go to the corresponding repository to submit an issue.
Are you asking about video calls, not video messages?
If Electron Demo cannot be used, please go to the corresponding repository to submit an issue.
Sorry, I made a mistake in my description. What I meant to ask about is video calling. My logs are captured from a Flutter project. Video calls between two iPhones work fine, but when the PC version of the project tries to call the Flutter version of the project, it cannot trigger the call reception page. The SDK’s method for receiving the call is not being invoked, even though I can capture the logs.
You can see the differences between the message formats between flutter and Electron.
This is because isOnlineOnly is sent as true when sending a message on the electron side, and the custom message is sent as a signaling, which is received in onRecvOnlineOnlyMessage on the flutter side. You can change the receiving logic on the flutter side or set isOnlineOnly in electron to false, and we'll update the sync later.
Describe the bug
2024-08-09 03:30:44.660 INFO [PID:43825] [interaction/long_conn_mgr.go:437] recv msg {"operationID": "fffc8819-34d3-4267-9c97-3795aafaccd7", "errCode": 0, "errMsg": "", "reqIdentifier": 2001}
2024-08-09 03:30:44.661 DEBUG [PID:43825] [interaction/msg_sync.go:183] push msgs {"operationID": "fffc8819-34d3-4267-9c97-3795aafaccd7", "push": "msgs:
{key:\"si_2818335385_8302040959\" value:{Msgs:
{sendID:\"8302040959\" recvID:\"2818335385\" clientMsgID:\"ffebbde3508da1dc9f6448c3ba9babac\" serverMsgID:\"8c746b0b4ac932f85a2ed9f5547d4594\" senderPlatformID:4 senderNickname:\"wagn-test\" sessionType:1 msgFrom:100 contentType:110 content:\"{\\"data\\":\\"{\\\\"customType\\\\":200,\\\\"data\\\\":{\\\\"inviterUserID\\\\":\\\\"8302040959\\\\",\\\\"inviteeUserIDList\\\\":[\\\\"2818335385\\\\"],\\\\"groupID\\\\":\\\\"\\\\",\\\\"roomID\\\\":\\\\"61ea96ea-f4df-45d5-99ee-9ffcd207f069\\\\",\\\\"timeout\\\\":60,\\\\"mediaType\\\\":\\\\"video\\\\",\\\\"sessionType\\\\":1,\\\\"platformID\\\\":4}}\\"}\" sendTime:1723174244253 createTime:1723174242236 status:1
options:{key:\"conversationUpdate\" value:false} options:{key:\"history\" value:false} options:{key:\"offlinePush\" value:false} options:{key:\"persistent\" value:false} options:{key:\"senderConversationUpdate\" value:false} options:{key:\"senderSync\" value:false} options:{key:\"unreadCount\" value:false}
offlinePushInfo:{title:\"你有一条新消息\" iOSPushSound:\"+1\" iOSBadgeCount:true}
attachedInfo:\"null\"}}}", "syncedMaxSeqs": {"n_2254426245_2818335385":3,"n_2818335385_3878665227":1,"n_2818335385_6594205827":1,"n_2818335385_6828372381":1,"n_2818335385_7067133039":9,"n_2818335385_8295219665":1,"n_2818335385_8302040959":54,"n_2818335385_8696014801":1,"sg_3153821063":3,"si_2254426245_2818335385":3,"si_2818335385_3878665227":1,"si_2818335385_6594205827":1,"si_2818335385_6828372381":2,"si_2818335385_7067133039":7,"si_2818335385_8295219665":57,"si_2818335385_8302040959":81,"si_2818335385_8696014801":8}}
2024-08-09 03:30:44.662 DEBUG [PID:43825]
[interaction/msg_sync.go:369] triggerConversation {"operationID": "fffc8819-34d3-4267-9c97-3795aafaccd7", "msgs": {"si28183353858302040959":{"Msgs":
[{"sendID":"8302040959","recvID":"2818335385","groupID":"","clientMsgID":"ffebbde3508da1dc9f6448c3ba9babac","serverMsgID":"8c746b0b4ac932f85a2ed9f5547d4594","senderPlatformID":4,"senderNickname":"wagn-test","senderFaceURL":"","sessionType":1,"msgFrom":100,"contentType":110,"content":"eyJkYXRhIjoie1wiY3VzdG9tVHlwZVwiOjIwMCxcImRhdGFcIjp7XCJpbnZpdGVyVXNlcklEXCI6XCI4MzAyMDQwOTU5XCIsXCJpbnZpdGVlVXNlcklETGlzdFwiOltcIjI4MTgzMzUzODVcIl0sXCJncm91cElEXCI6XCJcIixcInJvb21JRFwiOlwiNjFlYTk2ZWEtZjRkZi00NWQ1LTk5ZWUtOWZmY2QyMDdmMDY5XCIsXCJ0aW1lb3V0XCI6NjAsXCJtZWRpYVR5cGVcIjpcInZpZGVvXCIsXCJzZXNzaW9uVHlwZVwiOjEsXCJwbGF0Zm9ybUlEXCI6NH19In0=","seq":0,"sendTime":1723174244253,"createTime":1723174242236,"status":1,"isRead":false,
"options":{"conversationUpdate":false,"history":false,"offlinePush":false,"persistent":false,"senderConversationUpdate":false,"senderSync":false,"unreadCount":false},
"offlinePushInfo":{"title":"你有一条新消息","desc":"","ex":"","iOSPushSound":"+1","iOSBadgeCount":true,"signalInfo":""},"atUserIDList":null,"attachedInfo":"null","ex":""}],
"isEnd":false}}}
2024-08-09 03:30:44.662 DEBUG [PID:43825] [conversation_msg/conversation_notification.go:33] NotificationCmd start {"operationID": "fffc8819-34d3-4267-9c97-3795aafaccd7", "cmd": "005", "value": {"Msgs":{"si_2818335385_8302040959":{"Msgs":
[{"sendID":"8302040959","recvID":"2818335385","groupID":"","clientMsgID":"ffebbde3508da1dc9f6448c3ba9babac","serverMsgID":"8c746b0b4ac932f85a2ed9f5547d4594","senderPlatformID":4,"senderNickname":"wagn-test","senderFaceURL":"","sessionType":1,"msgFrom":100,"contentType":110,"content":"eyJkYXRhIjoie1wiY3VzdG9tVHlwZVwiOjIwMCxcImRhdGFcIjp7XCJpbnZpdGVyVXNlcklEXCI6XCI4MzAyMDQwOTU5XCIsXCJpbnZpdGVlVXNlcklETGlzdFwiOltcIjI4MTgzMzUzODVcIl0sXCJncm91cElEXCI6XCJcIixcInJvb21JRFwiOlwiNjFlYTk2ZWEtZjRkZi00NWQ1LTk5ZWUtOWZmY2QyMDdmMDY5XCIsXCJ0aW1lb3V0XCI6NjAsXCJtZWRpYVR5cGVcIjpcInZpZGVvXCIsXCJzZXNzaW9uVHlwZVwiOjEsXCJwbGF0Zm9ybUlEXCI6NH19In0=","seq":0,"sendTime":1723174244253,"createTime":1723174242236,"status":1,"isRead":false,"
options":{"conversationUpdate":false,"history":false,"offlinePush":false,"persistent":false,"senderConversationUpdate":false,"senderSync":false,"unreadCount":false},
"offlinePushInfo":{"title":"你有一条新消息","desc":"","ex":"","iOSPushSound":"+1","iOSBadgeCount":true,"signalInfo":""},
"atUserIDList":null,"attachedInfo":"null","ex":""}],"isEnd":false}},"SyncFlag":0}}
2024-08-09 03:30:44.662 DEBUG [PID:43825] [interaction/msg_sync.go:304] noting conversation to sync {"operationID": "fffc8819-34d3-4267-9c97-3795aafaccd7", "syncMsgNum": 10}
2024-08-09 03:30:44.663 DEBUG [PID:43825] [conversation_msg/conversation_msg.go:186] message come here conversation ch {"operationID": "fffc8819-34d3-4267-9c97-3795aafaccd7", "conversation length": 1}
2024-08-09 03:30:44.663 DEBUG [PID:43825] [conversation_msg/conversation_msg.go:190] parse message in one conversation {"operationID": "fffc8819-34d3-4267-9c97-3795aafaccd7", "conversationID": "si_2818335385_8302040959", "message length": 1}
2024-08-09 03:30:44.663 DEBUG [PID:43825] [conversation_msg/conversation_msg.go:195] parse message {"operationID": "fffc8819-34d3-4267-9c97-3795aafaccd7", "conversationID": "si_2818335385_8302040959", "msg": "sendID:\"8302040959\" recvID:\"2818335385\" clientMsgID:\"ffebbde3508da1dc9f6448c3ba9babac\" serverMsgID:\"8c746b0b4ac932f85a2ed9f5547d4594\" senderPlatformID:4 senderNickname:\"wagn-test\" sessionType:1 msgFrom:100 contentType:110 content:\"{\\"data\\":\\"{\\\\"customType\\\\":200,\\\\"data\\\\":{\\\\"inviterUserID\\\\":\\\\"8302040959\\\\",\\\\"inviteeUserIDList\\\\":[\\\\"2818335385\\\\"],\\\\"groupID\\\\":\\\\"\\\\",\\\\"roomID\\\\":\\\\"61ea96ea-f4df-45d5-99ee-9ffcd207f069\\\\",\\\\"timeout\\\\":60,\\\\"mediaType\\\\":\\\\"video\\\\",\\\\"sessionType\\\\":1,\\\\"platformID\\\\":4}}\\"}\" sendTime:1723174244253 createTime:1723174242236 status:1
options:{key:\"conversationUpdate\" value:false} options:{key:\"history\" value:false}
options:{key:\"offlinePush\" value:false} options:{key:\"persistent\" value:false}
options:{key:\"senderConversationUpdate\" value:false}
options:{key:\"senderSync\" value:false} options:{key:\"unreadCount\" value:false}
offlinePushInfo:{title:\"你有一条新消息\" iOSPushSound:\"+1\" iOSBadgeCount:true} attachedInfo:\"null\""}
2024-08-09 03:30:44.664 DEBUG [PID:43825] [conversation_msg/conversation_msg.go:237] decode message {"operationID": "fffc8819-34d3-4267-9c97-3795aafaccd7", "msg": {"clientMsgID":"ffebbde3508da1dc9f6448c3ba9babac","serverMsgID":"8c746b0b4ac932f85a2ed9f5547d4594","createTime":1723174242236,"sendTime":1723174244253,"sessionType":1,"sendID":"8302040959","recvID":"2818335385","msgFrom":100,"contentType":110,"senderPlatformID":4,"senderNickname":"wagn-test","seq":0,"isRead":false,"status":2,"attachedInfo":"null","customElem":{"data":"{\"customType\":200,\"data\":{\"inviterUserID\":\"8302040959\",\"inviteeUserIDList\":[\"2818335385\"],\"groupID\":\"\",\"roomID\":\"61ea96ea-f4df-45d5-99ee-9ffcd207f069\",\"timeout\":60,\"mediaType\":\"video\",\"sessionType\":1,\"platformID\":4}}"}, "attachedInfoElem":{"groupHasReadInfo":{"hasReadCount":0,"groupMemberCount":0}, "isPrivateChat":false,"burnDuration":0,"hasReadTime":0,"isEncryption":false,"inEncryptStatus":false}}}
2024-08-09 03:30:44.665 DEBUG [PID:43825] [log/sql_logger.go:84] sql exec detail {"gorm": "gorm.io/driver/sqlite@v1.3.6/migrator.go:33", "elapsed time": "0.374917(ms)", "sql": "SELECT count(*) FROM sqlite_master WHERE type='table' AND name=\"chat_logs_si_2818335385_8302040959\""}
2024-08-09 03:30:44.666 ERROR [PID:43825] [log/sql_logger.go:71] sql exec detail {"operationID": "fffc8819-34d3-4267-9c97-3795aafaccd7", "gorm": "github.com/openimsdk/openim-sdk-core/v3@v3.0.0-00010101000000-000000000000/pkg/db/chat_log_model_v3.go:79", "elapsed time": "0.411625(ms)", "rows": 0, "sql": "SELECT * FROM
chat_logs_si_2818335385_8302040959
WHERE client_msg_id = \"ffebbde3508da1dc9f6448c3ba9babac\" LIMIT 1", "error": "record not found"}2024-08-09 03:30:44.667 DEBUG [PID:43825] [log/sql_logger.go:86] sql exec detail {"operationID": "fffc8819-34d3-4267-9c97-3795aafaccd7", "gorm": "github.com/openimsdk/openim-sdk-core/v3@v3.0.0-00010101000000-000000000000/pkg/db/conversation_model.go:155", "elapsed time": "0.506709(ms)", "rows": 1, "sql": "SELECT * FROM
local_conversations
WHERE conversation_id = \"si_2818335385_8302040959\" LIMIT 1"}2024-08-09 03:30:44.668 DEBUG [PID:43825] [log/sql_logger.go:86] sql exec detail {"operationID": "fffc8819-34d3-4267-9c97-3795aafaccd7", "gorm": "github.com/openimsdk/openim-sdk-core/v3@v3.0.0-00010101000000-000000000000/pkg/db/user_model.go:31", "elapsed time": "0.390667(ms)", "rows": 1, "sql": "SELECT * FROM
local_users
WHERE user_id = \"2818335385\" LIMIT 1"}2024-08-09 03:30:44.669 DEBUG [PID:43825] [log/sql_logger.go:86] sql exec detail {"operationID": "fffc8819-34d3-4267-9c97-3795aafaccd7", "gorm": "github.com/openimsdk/openim-sdk-core/v3@v3.0.0-00010101000000-000000000000/pkg/db/conversation_model.go:43", "elapsed time": "1.076000(ms)", "rows": 4, "sql": "SELECT * FROM
local_conversations
WHERE latest_msg_send_time > 0 ORDER BY case when is_pinned=1 then 0 else 1 end,max(latest_msg_send_time,draft_text_time) DESC"}2024-08-09 03:30:44.669 DEBUG [PID:43825] [conversation_msg/conversation_msg.go:328] listToMap: {"operationID": "fffc8819-34d3-4267-9c97-3795aafaccd7", "local conversation": [{"conversationID":"si_2818335385_8302040959","conversationType":1,"userID":"8302040959","groupID":"","showName":"wagn-test","faceURL":"","recvMsgOpt":0,"unreadCount":1,"groupAtType":0,"latestMsg":"{\"clientMsgID\":\"a7f3e2f530c83e8f16ea1a76fb21f5b6\",\"serverMsgID\":\"51b7286151d319146a60daa1f1935366\",\"createTime\":1723174217730,\"sendTime\":1723174219757,\"sessionType\":1,\"sendID\":\"8302040959\",\"recvID\":\"2818335385\",\"msgFrom\":100,\"contentType\":101,\"senderPlatformID\":4,\"senderNickname\":\"wagn-test\",\"seq\":81,\"isRead\":false,\"status\":2,\"attachedInfo\":\"null\",\"textElem\":{\"content\":\"1\"},\"attachedInfoElem\":{\"groupHasReadInfo\":{\"hasReadCount\":0,\"groupMemberCount\":0},\"isPrivateChat\":false,\"burnDuration\":0,\"hasReadTime\":0,\"isEncryption\":false,\"inEncryptStatus\":false}}","latestMsgSendTime":1723174219757,"draftText":"","draftTextTime":0,"isPinned":false,"isPrivateChat":false,"burnDuration":0,"isNotInGroup":false,"updateUnreadCountTime":0,"attachedInfo":"","ex":"","maxSeq":0,"minSeq":0,"hasReadSeq":80,"msgDestructTime":0,"isMsgDestruct":false},{"conversationID":"si_2254426245_2818335385","conversationType":1,"userID":"2254426245","groupID":"","showName":"test","faceURL":"","recvMsgOpt":0,"unreadCount":0,"groupAtType":0,"latestMsg":"{\"clientMsgID\":\"6c0a931cd8e66b5a95d1f9f5b03b4a4a\",\"serverMsgID\":\"da6a3322fd064e20a24fd8f418c93811\",\"createTime\":1723099932604,\"sendTime\":1723099932763,\"sessionType\":1,\"sendID\":\"2254426245\",\"recvID\":\"2818335385\",\"msgFrom\":100,\"contentType\":101,\"senderPlatformID\":5,\"senderNickname\":\"test\",\"seq\":3,\"isRead\":true,\"status\":2,\"attachedInfo\":\"null\",\"textElem\":{\"content\":\"111\"},\"attachedInfoElem\":{\"groupHasReadInfo\":{\"hasReadCount\":0,\"groupMemberCount\":0},\"isPrivateChat\":false,\"burnDuration\":0,\"hasReadTime\":0,\"isEncryption\":false,\"inEncryptStatus\":false}}","latestMsgSendTime":1723099932763,"draftText":"","draftTextTime":0,"isPinned":false,"isPrivateChat":false,"burnDuration":0,"isNotInGroup":false,"updateUnreadCountTime":0,"attachedInfo":"","ex":"","maxSeq":0,"minSeq":0,"hasReadSeq":3,"msgDestructTime":0,"isMsgDestruct":false},{"conversationID":"si_2818335385_7067133039","conversationType":1,"userID":"7067133039","groupID":"","showName":"linghu","faceURL":"","recvMsgOpt":0,"unreadCount":0,"groupAtType":0,"latestMsg":"{\"clientMsgID\":\"52c997736fdf6e20463de95882760ad9\",\"serverMsgID\":\"49c63c2128722a59fcf600907180576a\",\"createTime\":1723088207484,\"sendTime\":1723088207703,\"sessionType\":1,\"sendID\":\"2818335385\",\"recvID\":\"7067133039\",\"msgFrom\":100,\"contentType\":101,\"senderPlatformID\":1,\"senderNickname\":\"wagn\",\"seq\":7,\"isRead\":true,\"status\":2,\"attachedInfo\":\"null\",\"textElem\":{\"content\":\"hbb\"},\"attachedInfoElem\":{\"groupHasReadInfo\":{\"hasReadCount\":0,\"groupMemberCount\":0},\"isPrivateChat\":false,\"burnDuration\":0,\"hasReadTime\":0,\"isEncryption\":false,\"inEncryptStatus\":false}}","latestMsgSendTime":1723088207703,"draftText":"","draftTextTime":0,"isPinned":false,"isPrivateChat":false,"burnDuration":0,"isNotInGroup":false,"updateUnreadCountTime":0,"attachedInfo":"","ex":"","maxSeq":0,"minSeq":0,"hasReadSeq":7,"msgDestructTime":0,"isMsgDestruct":false},{"conversationID":"si_2818335385_8696014801","conversationType":1,"userID":"8696014801","groupID":"","showName":"zhangsan","faceURL":"","recvMsgOpt":0,"unreadCount":0,"groupAtType":0,"latestMsg":"{\"clientMsgID\":\"a9c63ab5fc38542ab67a6ef83d5225c2\",\"serverMsgID\":\"95ca3e761e367b278f9e78eb29ca29a0\",\"createTime\":1723000608115,\"sendTime\":1723000608296,\"sessionType\":1,\"sendID\":\"2818335385\",\"recvID\":\"8696014801\",\"msgFrom\":100,\"contentType\":110,\"senderPlatformID\":1,\"senderNickname\":\"wagn\",\"seq\":8,\"isRead\":false,\"status\":2,\"attachedInfo\":\"null\",\"customElem\":{\"data\":\"{\\"customType\\":203,\\"data\\":{\\"inviterUserID\\":\\"2818335385\\",\\"inviteeUserIDList\\":[\\"8696014801\\"],\\"groupID\\":null,\\"roomID\\":\\"10154a77-17f7-4049-8b3f-f9517fff8404\\",\\"timeout\\":30,\\"mediaType\\":\\"audio\\",\\"sessionType\\":1,\\"platformID\\":1}}\"},\"attachedInfoElem\":{\"groupHasReadInfo\":{\"hasReadCount\":0,\"groupMemberCount\":0},\"isPrivateChat\":false,\"burnDuration\":0,\"hasReadTime\":0,\"isEncryption\":false,\"inEncryptStatus\":false}}","latestMsgSendTime":1723000608296,"draftText":"","draftTextTime":0,"isPinned":false,"isPrivateChat":false,"burnDuration":0,"isNotInGroup":false,"updateUnreadCountTime":0,"attachedInfo":"","ex":"","maxSeq":0,"minSeq":0,"hasReadSeq":8,"msgDestructTime":0,"isMsgDestruct":false}], "generated c map": {}}
2024-08-09 03:30:44.670 INFO [PID:43825] [conversation_msg/conversation_msg.go:330] trigger map is : {"operationID": "fffc8819-34d3-4267-9c97-3795aafaccd7", "newConversations": {}, "changedConversations": {}}
2024-08-09 03:30:44.671 DEBUG [PID:43825] [log/sql_logger.go:86] sql exec detail {"operationID": "fffc8819-34d3-4267-9c97-3795aafaccd7", "gorm": "github.com/openimsdk/openim-sdk-core/v3@v3.0.0-00010101000000-000000000000/pkg/db/conversation_model.go:155", "elapsed time": "0.528959(ms)", "rows": 1, "sql": "SELECT * FROM
local_conversations
WHERE conversation_id = \"si_2818335385_8302040959\" LIMIT 1"}2024-08-09 03:30:44.672 DEBUG [PID:43825] [log/sql_logger.go:86] sql exec detail {"operationID": "fffc8819-34d3-4267-9c97-3795aafaccd7", "gorm": "github.com/openimsdk/openim-sdk-core/v3@v3.0.0-00010101000000-000000000000/pkg/db/conversation_model.go:57", "elapsed time": "0.679250(ms)", "rows": 5, "sql": "SELECT * FROM
local_conversations
WHERE latest_msg_send_time = 0"} native call flutter { method: advancedMsgListener type: onRecvOnlineOnlyMessage }2024-08-09 03:30:44.673 DEBUG [PID:43825] [conversation_msg/conversation_msg.go:399] insert msg {"operationID": "fffc8819-34d3-4267-9c97-3795aafaccd7", "cost time": 0.009433542, "len": 1}
2024-08-09 03:30:44.673 DEBUG [PID:43825] [conversation_msg/conversation_notification.go:51] NotificationCmd end {"operationID": "fffc8819-34d3-4267-9c97-3795aafaccd7", "cmd": "005", "value": {"Msgs":{"si28183353858302040959":{"Msgs":[{"sendID":"8302040959","recvID":"2818335385","groupID":"","clientMsgID":"ffebbde3508da1dc9f6448c3ba9babac","serverMsgID":"8c746b0b4ac932f85a2ed9f5547d4594","senderPlatformID":4,"senderNickname":"wagn-test","senderFaceURL":"","sessionType":1,"msgFrom":100,"contentType":110,"content":"eyJkYXRhIjoie1wiY3VzdG9tVHlwZVwiOjIwMCxcImRhdGFcIjp7XCJpbnZpdGVyVXNlcklEXCI6XCI4MzAyMDQwOTU5XCIsXCJpbnZpdGVlVXNlcklETGlzdFwiOltcIjI4MTgzMzUzODVcIl0sXCJncm91cElEXCI6XCJcIixcInJvb21JRFwiOlwiNjFlYTk2ZWEtZjRkZi00NWQ1LTk5ZWUtOWZmY2QyMDdmMDY5XCIsXCJ0aW1lb3V0XCI6NjAsXCJtZWRpYVR5cGVcIjpcInZpZGVvXCIsXCJzZXNzaW9uVHlwZVwiOjEsXCJwbGF0Zm9ybUlEXCI6NH19In0=","seq":0,"sendTime":1723174244253,"createTime":1723174242236,"status":1,"isRead":false,"options":{"conversationUpdate":false,"history":false,"offlinePush":false,"persistent":false,"senderConversationUpdate":false,"senderSync":false,"unreadCount":false},"offlinePushInfo":{"title":"你有一条新消息","desc":"","ex":"","iOSPushSound":"+1","iOSBadgeCount":true,"signalInfo":""},"atUserIDList":null,"attachedInfo":"null","ex":""}],"isEnd":false}},"SyncFlag":0}}
2024-08-09 03:30:49.487 INFO [PID:43825] [interaction/long_conn_mgr.go:316] ping and getMaxSeq start {"operationID": "1723174253296652779", "goroutine ID:": 110}
2024-08-09 03:30:50.086 INFO [PID:43825] [interaction/long_conn_mgr.go:437] recv msg {"operationID": "1723174253296652779", "errCode": 0, "errMsg": "", "reqIdentifier": 1001}
2024-08-09 03:30:50.086 INFO [PID:43825] [interaction/msg_sync.go:129] recv max seqs from long conn mgr, start sync msgs {"operationID": "1723174253296652779", "cmd": "maxSeq", "value": {"ConversationMaxSeqOnSvr":{"n_2254426245_2818335385":3,"n_2818335385_3878665227":1,"n_2818335385_6594205827":1,"n_2818335385_6828372381":1,"n_2818335385_7067133039":9,"n_2818335385_8295219665":1,"n_2818335385_8302040959":54,"n_2818335385_8696014801":1,"sg_3153821063":3,"si_2254426245_2818335385":3,"si_2818335385_3878665227":1,"si_2818335385_6594205827":1,"si_2818335385_6828372381":2,"si_2818335385_7067133039":7,"si_2818335385_8295219665":57,"si_2818335385_8302040959":81,"si_2818335385_8696014801":8}}}
2024-08-09 03:30:50.087 DEBUG [PID:43825] [interaction/msg_sync.go:304] noting conversation to sync {"operationID": "1723174194747", "syncMsgNum": 10} Additional context