From c1130200b88f45c0a2b396b18c1bca287e721a38 Mon Sep 17 00:00:00 2001 From: wangjiyu Date: Wed, 16 Apr 2025 10:47:29 +0800 Subject: [PATCH] debug --- test_time_s.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test_time_s.py b/test_time_s.py index 99ab819..c0c5853 100644 --- a/test_time_s.py +++ b/test_time_s.py @@ -12,10 +12,10 @@ srcRoomId = "srcRoom12" destRoomId = srcRoomId srcChannelIndex = 46 destChannelIndex = 47 -def my_callback(shmName, dataCount, sampleRate, numChannels, channelIndex): - print(f"my_callback, dataCount:{dataCount}, sampleRate:{sampleRate}, numChannels:{numChannels}, channelIndex:{channelIndex}") +def my_callback(shmName, dataSize, dataCount, sampleRate, numChannels, channelIndex): + print(f"my_callback, dataSize:{dataSize}, dataCount:{dataCount}, sampleRate:{sampleRate}, numChannels:{numChannels}, channelIndex:{channelIndex}") print(f"data:{shmName}") - print("after my_callback") + print("after my_callback_r") ret = rtc_plugins.init(srcUserId, srcDisplayName, srcRoomId, my_callback) if ret != 0: print(f"init fail, ret:{ret}")