This commit is contained in:
wangjiyu 2025-04-15 21:19:24 +08:00
parent 04bee387b3
commit f097f281e2
3 changed files with 3 additions and 3 deletions

View File

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

View File

@ -277,7 +277,7 @@ bool RTCContext::initRecv(const char* destRoomId, const char* srcUserId, const i
return true;
}
bool RTCContext::initSend(const char* srcRoomId, const char* destRoomId, const int16_t destChannelIndex, uint8_t channelNum)
bool RTCContext::initSend(const char* srcRoomId, const char* destRoomId, const uint8_t destChannelIndex, uint8_t channelNum)
{
while (!isOnRoom_)
{

View File

@ -84,7 +84,7 @@ public:
mrtc::IMRTCEngine* getRtcEngine() const;
bool init(const char* selfUserId, const char* selfDisplayName, const char* selfRoomId);
bool initRecv(const char* destRoomId, const char* srcUserId, const int16_t destChannelIndex);
bool initSend(const char* srcRoomId, const char* destRoomId, const int16_t destChannelIndex, uint8_t channelNum);
bool initSend(const char* srcRoomId, const char* destRoomId, const uint8_t destChannelIndex, uint8_t channelNum);
bool initGIL();
void* getpData() const;