This commit is contained in:
wangjiyu 2025-04-15 20:16:39 +08:00
parent 9369c5dd15
commit aa3e6e2bbb
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ ret = rtc_plugins.initSend(srcRoomId, destRoomId, destChannelIndex, 1)
if ret != 0:
print(f"initSend fail, ret:{ret}")
exit(1)
#audioData = np.array([0, 1, -1, 0], dtype=np.int16)
audioData = np.array([0, 1, -1, 0], dtype=np.int16)
#ret = rtc_plugins.sendCustomAudioData(destChannelIndex, audioData, 48000, 1, len(audioData))
#if ret != 0:
# print(f"send fail, ret:{ret}")