Create a new toxav group.
Audio data callback format: audio_callback(Tox *tox, uint32_t groupnumber, uint32_t peernumber, const int16_t *pcm, unsigned int samples, uint8_t channels, uint32_t sample_rate, void *userdata)
Note that total size of pcm in bytes is equal to (samples * channels * sizeof(int16_t)).
group number on success. |
-1 on failure. |