I am trying to use VAS to send/receive data. The DnLink and UpLink codec initialization is going perfect and the loopback example worked as well. I did some changes, but the problem is that EmptyBuffer is being called only once and then FillBuffer is called as long as the application is running. Code snippet:
I am using ILBC Codec and the Buffer size i get is 40. What am i doing wrong here. I previously used the DoLookBack function that is in the original example and things were working fine, but why is that it is not working this way? Also i thought that maybe iPlayBufPtr's length and maxsize are wrong or something, so i copied the structure of a "Filled" iRecBufPtr once and still it didnt work. What is the problem here?
void CVoIPTestEngine::EmptyBuffer(const CVoIPAudioUplinkStream& /*aSrc*/,
//GIVE DATA TO SEND
void CVoIPTestEngine::FillBuffer(const CVoIPAudioDownlinkStream& /*aSrc*/,
//GET RECEIVED DATA