This commit is contained in:
wangjiyu 2025-04-14 18:25:57 +08:00
parent 41d47101d2
commit 92027296d6
1 changed files with 2 additions and 2 deletions

View File

@ -39,8 +39,8 @@ int initRecv(const char* destRoomId, const char* srcUserId, const int16_t destCh
return -1; return -1;
} }
} }
int initSend(const char* destRoomId, const int16_t destChannelIndex) { int initSend(const char* srcRoomId, const char* destRoomId, const int16_t destChannelIndex) {
bool res = RTCContext::instance().initSend(destRoomId, destChannelIndex); bool res = RTCContext::instance().initSend(srcRoomId, destRoomId, destChannelIndex);
if (res) { if (res) {
return 0; return 0;
} else { } else {