diff options
author | Liong Sauw Ming <ming@teluu.com> | 2015-05-15 06:47:00 +0000 |
---|---|---|
committer | Liong Sauw Ming <ming@teluu.com> | 2015-05-15 06:47:00 +0000 |
commit | 022019f99c320ded6eecf71bf437c9ac09d07884 (patch) | |
tree | d8a59f565b85723b224c3d9bca93c9acb739dc82 /pjsip-apps | |
parent | 00a113817f2481e3afcec96c946f3ae89243e6f5 (diff) |
Re #1843 (misc): Sample app streamutil: Set the receiving payload type as well, instead of only the outgoing pt
Thanks to Chris Cox for the suggestion.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5095 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps')
-rw-r--r-- | pjsip-apps/src/samples/streamutil.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pjsip-apps/src/samples/streamutil.c b/pjsip-apps/src/samples/streamutil.c index ee357b3d..ee337eec 100644 --- a/pjsip-apps/src/samples/streamutil.c +++ b/pjsip-apps/src/samples/streamutil.c @@ -138,6 +138,7 @@ static pj_status_t create_stream( pj_pool_t *pool, info.dir = dir; pj_memcpy(&info.fmt, codec_info, sizeof(pjmedia_codec_info)); info.tx_pt = codec_info->pt; + info.rx_pt = codec_info->pt; info.ssrc = pj_rand(); #if PJMEDIA_HAS_RTCP_XR && PJMEDIA_STREAM_ENABLE_XR |