summaryrefslogtreecommitdiff
path: root/res/res_pjsip_sdp_rtp.c
diff options
context:
space:
mode:
authorGeorge Joseph <gjoseph@digium.com>2017-02-10 14:45:43 -0700
committerGeorge Joseph <gjoseph@digium.com>2017-02-13 07:49:25 -0700
commit8b72ec312bd9fc439383a24d3f5c29b638758fd3 (patch)
tree4d3ca86c7ec86a9c7d5f297d8d012bb590b8e2fb /res/res_pjsip_sdp_rtp.c
parentbab4885f1e923a252209db8b6011cf8a2fcb30c5 (diff)
stream: Add media stream topology definition and API
This change adds the media stream topology definition and API for accessing and using it. Some refactoring of the stream was also done. ASTERISK-26786 Change-Id: Ic930232d24d5ad66dcabc14e9b359e0ff8e7f568
Diffstat (limited to 'res/res_pjsip_sdp_rtp.c')
-rw-r--r--res/res_pjsip_sdp_rtp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/res/res_pjsip_sdp_rtp.c b/res/res_pjsip_sdp_rtp.c
index 4d6a1a168..e32d2b65f 100644
--- a/res/res_pjsip_sdp_rtp.c
+++ b/res/res_pjsip_sdp_rtp.c
@@ -87,7 +87,8 @@ static int media_type_to_fdno(enum ast_media_type media_type)
case AST_MEDIA_TYPE_VIDEO: return FD_VIDEO;
case AST_MEDIA_TYPE_TEXT:
case AST_MEDIA_TYPE_UNKNOWN:
- case AST_MEDIA_TYPE_IMAGE: break;
+ case AST_MEDIA_TYPE_IMAGE:
+ case AST_MEDIA_TYPE_END: break;
}
return -1;
}