Archived:Frame length variation for G.711 encoder (Known Issue)
The length of frames produced by the G.711 encoder has been changed from 20 ms to 10 ms in the Nokia N95 firmware v2.0.015.
Frames produced by the G.711 encoder will have a length of 2+80 bytes (10 ms) in the Nokia N95 firmware v2.0.015 and the Nokia N95 8GB, when it previously was 2+160 bytes (20 ms).
This change was made in order to support all possible G.711 frame sizes (10 ms, 20 ms, 30 ms) in the Nokia Internet Telephony application.
This affects Audio Proxy Server (APS) clients and applications using the G.711 encoder directly when running on the Nokia N95 firmware v2.0.015 (and onwards), as well as the Nokia N95 8GB.
APS does not provide any means of resolving the frame size used by a codec until the streaming is started. Audio frames passed to G.711 decoder must always have the same length as frames produced by the G.711 encoder.
If the remote party expects G.711 frames in 20 ms mode, the client should combine adjacent 10 ms frames to produce 20 ms frames as needed.
The G.711 encoder uses a fixed frame length, and it cannot be configured dynamically.