debug
This commit is contained in:
parent
f4563d5fb5
commit
fb534bfe4f
|
@ -18,6 +18,8 @@ def my_callback(npData, dataSize, dataCount, sampleRate, numChannels, channelInd
|
|||
ret = rtc_plugins.sendCustomAudioData(srcChannelIndex, audioData, 48000, 1, len(audioData))
|
||||
if ret != 0:
|
||||
print(f"resend fail, ret:{ret}")
|
||||
else:
|
||||
print("resend succ")
|
||||
ret = rtc_plugins.init(destUserId, destDisplayName, destRoomId, my_callback)
|
||||
if ret != 0:
|
||||
print(f"init fail, ret:{ret}")
|
||||
|
|
|
@ -31,4 +31,4 @@ for i in range(100):
|
|||
ret = rtc_plugins.sendCustomAudioData(destChannelIndex, audioData, 48000, 1, len(audioData))
|
||||
if ret != 0:
|
||||
print(f"send fail, ret:{ret}")
|
||||
time.sleep(3)
|
||||
time.sleep(30)
|
||||
|
|
Loading…
Reference in New Issue