debug
This commit is contained in:
parent
c8a10100b1
commit
c0330e46fd
|
@ -14,6 +14,7 @@ srcChannelIndex = 46
|
||||||
destChannelIndex = 47
|
destChannelIndex = 47
|
||||||
def my_callback(npData, dataSize, dataCount, sampleRate, numChannels, channelIndex):
|
def my_callback(npData, dataSize, dataCount, sampleRate, numChannels, channelIndex):
|
||||||
print(f"dataSize:{dataSize}, dataCount:{dataCount}, sampleRate:{sampleRate}, numChannels:{numChannels}, channelIndex:{channelIndex}")
|
print(f"dataSize:{dataSize}, dataCount:{dataCount}, sampleRate:{sampleRate}, numChannels:{numChannels}, channelIndex:{channelIndex}")
|
||||||
|
print(npData)
|
||||||
#audioData = np.array([0, 1, -1, 0], dtype=np.int16)
|
#audioData = np.array([0, 1, -1, 0], dtype=np.int16)
|
||||||
#ret = rtc_plugins.sendCustomAudioData(srcChannelIndex, audioData, 48000, 1, len(audioData))
|
#ret = rtc_plugins.sendCustomAudioData(srcChannelIndex, audioData, 48000, 1, len(audioData))
|
||||||
#if ret != 0:
|
#if ret != 0:
|
||||||
|
|
Loading…
Reference in New Issue