Browse code

sdpops: exported to kemi the functions to detect sdp with codecs

- sdp_with_codecs_by_id() and sdp_with_codecs_by_name()

Daniel-Constantin Mierla authored on 27/06/2019 14:25:27
Showing 1 changed files
... ...
@@ -2209,6 +2209,16 @@ static sr_kemi_t sr_kemi_sdpops_exports[] = {
2209 2209
 		{ SR_KEMIP_STR, SR_KEMIP_NONE, SR_KEMIP_NONE,
2210 2210
 			SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
2211 2211
 	},
2212
+	{ str_init("sdpops"), str_init("sdp_with_codecs_by_id"),
2213
+		SR_KEMIP_INT, sdp_with_codecs_by_id,
2214
+		{ SR_KEMIP_STR, SR_KEMIP_NONE, SR_KEMIP_NONE,
2215
+			SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
2216
+	},
2217
+	{ str_init("sdpops"), str_init("sdp_with_codecs_by_name"),
2218
+		SR_KEMIP_INT, sdp_with_codecs_by_name,
2219
+		{ SR_KEMIP_STR, SR_KEMIP_NONE, SR_KEMIP_NONE,
2220
+			SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
2221
+	},
2212 2222
 	{ str_init("sdpops"), str_init("sdp_get"),
2213 2223
 		SR_KEMIP_INT, ki_sdp_get,
2214 2224
 		{ SR_KEMIP_STR, SR_KEMIP_NONE, SR_KEMIP_NONE,