Method and apparatus for real time communication system buffer size and error correction coding selection