Wrong AudioCodecData.PacketDuration return value
ivanjaros opened this issue · comments
The value returned by this method has to divide the current value by the number of channels. Otherwise the result equals to real length * channels. In other words, 5 seconds long audio with stereo layout(ie. 2 channels) will return value of 10, instead of 5.