Module: kamailio
Branch: master
Commit: 09232b92f960ac257ae69b87ac5205a563ebeb48
URL:
https://github.com/kamailio/kamailio/commit/09232b92f960ac257ae69b87ac5205a…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2016-08-26T11:46:20+02:00
modules: readme files regenerated - sdpops ...
---
Modified: modules/sdpops/README
---
Diff:
https://github.com/kamailio/kamailio/commit/09232b92f960ac257ae69b87ac5205a…
Patch:
https://github.com/kamailio/kamailio/commit/09232b92f960ac257ae69b87ac5205a…
---
diff --git a/modules/sdpops/README b/modules/sdpops/README
index 1c24eb7..fdbafd2 100644
--- a/modules/sdpops/README
+++ b/modules/sdpops/README
@@ -26,8 +26,8 @@ Daniel-Constantin Mierla
3. Parameters
4. Functions
- 4.1. sdp_remove_codecs_by_id(list)
- 4.2. sdp_remove_codecs_by_name(list)
+ 4.1. sdp_remove_codecs_by_id(list [, mtype])
+ 4.2. sdp_remove_codecs_by_name(list [, mtype])
4.3. sdp_remove_line_by_prefix(string)
4.4. sdp_keep_codecs_by_id(list [, mtype])
4.5. sdp_keep_codecs_by_name(list [, mtype])
@@ -81,8 +81,8 @@ Chapter 1. Admin Guide
3. Parameters
4. Functions
- 4.1. sdp_remove_codecs_by_id(list)
- 4.2. sdp_remove_codecs_by_name(list)
+ 4.1. sdp_remove_codecs_by_id(list [, mtype])
+ 4.2. sdp_remove_codecs_by_name(list [, mtype])
4.3. sdp_remove_line_by_prefix(string)
4.4. sdp_keep_codecs_by_id(list [, mtype])
4.5. sdp_keep_codecs_by_name(list [, mtype])
@@ -133,8 +133,8 @@ Chapter 1. Admin Guide
4. Functions
- 4.1. sdp_remove_codecs_by_id(list)
- 4.2. sdp_remove_codecs_by_name(list)
+ 4.1. sdp_remove_codecs_by_id(list [, mtype])
+ 4.2. sdp_remove_codecs_by_name(list [, mtype])
4.3. sdp_remove_line_by_prefix(string)
4.4. sdp_keep_codecs_by_id(list [, mtype])
4.5. sdp_keep_codecs_by_name(list [, mtype])
@@ -153,7 +153,7 @@ Chapter 1. Admin Guide
4.18. sdp_with_ice()
4.19. sdp_get_line_startswith(avpvar, string)
-4.1. sdp_remove_codecs_by_id(list)
+4.1. sdp_remove_codecs_by_id(list [, mtype])
Remove the codecs provided in the parameter 'list' from all media
streams found in SDP payload. The parameter 'list' must be one item or
@@ -168,15 +168,20 @@ Chapter 1. Admin Guide
sdp_remove_codecs_by_id("0");
# remove PCMU, PCMA and GSM
sdp_remove_codecs_by_id("0,8,3");
+sdp_remove_codecs_by_id("17", "audio");
+sdp_remove_codecs_by_id("23", "video");
...
-4.2. sdp_remove_codecs_by_name(list)
+4.2. sdp_remove_codecs_by_name(list [, mtype])
Remove the codecs provided in the parameter 'list' from all media
streams found in SDP payload. The parameter 'list' must be one item or
a comma separated list of codec names. The parameter can be a static
string or a variable holding the list of codec names.
+ Optional parameter mtype can be provided to apply the operations only
+ to the streams matching m=mtype.
+
This function can be used from ANY_ROUTE.
Example 1.2. sdp_remove_codecs_by_name usage
@@ -192,6 +197,9 @@ sdp_remove_codecs_by_name("PCMU,PCMA,GSM");
Remove all SDP attribute lines beginning with 'string' in all media
streams.
+ Optional parameter mtype can be provided to apply the operations only
+ to the streams matching m=mtype.
+
This function can be used from ANY_ROUTE.
Example 1.3. sdp_remove_line_by_prefix usage