FS-8204 add sprop-stereo also

This commit is contained in:
Anthony Minessale
2015-09-22 15:31:09 -05:00
parent 86805cece3
commit 7ea9b684a7
3 changed files with 4 additions and 3 deletions

View File

@@ -253,6 +253,7 @@ static char *gen_fmtp(opus_codec_settings_t *settings, switch_memory_pool_t *poo
}
if (settings->stereo) {
settings->sprop_stereo = settings->stereo;
snprintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "stereo=%d; ", settings->stereo);
}