Add a new config element: SD.media-profile
post
https://cloud-native-SBC-IP/config/v1/sd/media-profile
Add a new config element: SD.media-profile
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : schema
Type:
object
configure a media profile and apply it to a media type
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
as-bandwidth: integer
(int64)
Minimum Value:
0
Maximum Value:4294967295
SDP b=AS: value to use for this codec when transcoding -
average-rate-limit: integer
(int64)
Minimum Value:
0
Maximum Value:125000000
average rate limit of rtp flow -
clock-rate: integer
(int64)
Minimum Value:
0
Maximum Value:4294967295
clock-rate in sdp rtpmap attribute in Hz (e.g 8000 for narrowband codecs). If left unconfigured with value 0, default clock-rate for the codec will be used -
media-type: string
media type used in sdp m lines (e.g. audio, video, data)
-
name(required): string
Minimum Length:
1
Pattern:^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
name of the media profile (e.g. PCMU, G723, G729) -
parameters: string
list of <name=value> pairs (e.g silenceSupperssion=0)
-
payload-type: string
rtp payload type used in sdp m lines
-
police-rate: integer
(int64)
Minimum Value:
0
Maximum Value:4294967295
rate used for ACME media policing -
req-bandwidth: integer
(int64)
Minimum Value:
0
Maximum Value:999999999
amount of bandwidth required (kilobits) -
sdp-bandwidth: boolean
Use 'AS' parameter in the SDP to derive 'req-bandwidth' and 'average-rate-limit'
-
sdp-rate-limit-headroom: integer
(int64)
Minimum Value:
0
Maximum Value:100
headroom for using SDP bandwidth as the average-rate-limit (percentage) -
standard-pkt-rate: integer
(int64)
Minimum Value:
0
Maximum Value:125000000
standard packetiztion rate for profile -
subname: string
Pattern:
^([A-Za-z0-9_][A-Za-z0-9._\-]{0,127})?$|^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
encoding subname used for codec variation -
transport: string
transport protocol used in sdp rtpmap attribute (e.g. RTP/AVP)
Response
Supported Media Types
- application/json
200 Response
return one config element: MediaProfile
Root Schema : schema
Type:
object
configure a media profile and apply it to a media type
Show Source
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
as-bandwidth: integer
(int64)
Minimum Value:
0
Maximum Value:4294967295
SDP b=AS: value to use for this codec when transcoding -
average-rate-limit: integer
(int64)
Minimum Value:
0
Maximum Value:125000000
average rate limit of rtp flow -
clock-rate: integer
(int64)
Minimum Value:
0
Maximum Value:4294967295
clock-rate in sdp rtpmap attribute in Hz (e.g 8000 for narrowband codecs). If left unconfigured with value 0, default clock-rate for the codec will be used -
media-type: string
media type used in sdp m lines (e.g. audio, video, data)
-
name(required): string
Minimum Length:
1
Pattern:^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
name of the media profile (e.g. PCMU, G723, G729) -
parameters: string
list of <name=value> pairs (e.g silenceSupperssion=0)
-
payload-type: string
rtp payload type used in sdp m lines
-
police-rate: integer
(int64)
Minimum Value:
0
Maximum Value:4294967295
rate used for ACME media policing -
req-bandwidth: integer
(int64)
Minimum Value:
0
Maximum Value:999999999
amount of bandwidth required (kilobits) -
sdp-bandwidth: boolean
Use 'AS' parameter in the SDP to derive 'req-bandwidth' and 'average-rate-limit'
-
sdp-rate-limit-headroom: integer
(int64)
Minimum Value:
0
Maximum Value:100
headroom for using SDP bandwidth as the average-rate-limit (percentage) -
standard-pkt-rate: integer
(int64)
Minimum Value:
0
Maximum Value:125000000
standard packetiztion rate for profile -
subname: string
Pattern:
^([A-Za-z0-9_][A-Za-z0-9._\-]{0,127})?$|^[A-Za-z0-9_][A-Za-z0-9._\-]{0,127}$
encoding subname used for codec variation -
transport: string
transport protocol used in sdp rtpmap attribute (e.g. RTP/AVP)
404 Response
Not Found
Root Schema : ApiValidationError
Type:
Show Source
object
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
code: string
-
errors: array
errors
-
message: string
-
timestamp: string
Nested Schema : Errors
Type:
Show Source
object
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
attribute: string
-
code: string
-
message: string
-
type: string
Allowed Values:
[ "error", "fatal", "warn" ]
406 Response
Validation Failure
Root Schema : ApiValidationError
Type:
Show Source
object
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
code: string
-
errors: array
errors
-
message: string
-
timestamp: string
Nested Schema : Errors
Type:
Show Source
object
-
_elementKey: string
Read Only:
true
Identifier for the element or sub-element -
attribute: string
-
code: string
-
message: string
-
type: string
Allowed Values:
[ "error", "fatal", "warn" ]