Video codec utilities.
More...
◆ pjmedia_vid_codec_h263_parse_fmtp()
Parse SDP fmtp of H.263.
- Parameters
-
fmtp | The H.263 SDP fmtp to be parsed. |
h263_fmtp | The parsing result. |
- Returns
- PJ_SUCCESS on success.
◆ pjmedia_vid_codec_h263_apply_fmtp()
Parse, negotiate, and apply the encoding and decoding SDP fmtp of H.263 in the specified codec parameter.
- Parameters
-
param | The codec parameter. |
- Returns
- PJ_SUCCESS on success.
◆ pjmedia_vid_codec_h264_parse_fmtp()
Parse SDP fmtp of H.264.
- Parameters
-
fmtp | The H.264 SDP fmtp to be parsed. |
h264_fmtp | The parsing result. |
- Returns
- PJ_SUCCESS on success.
◆ pjmedia_vid_codec_h264_match_sdp()
Match H.264 format in the SDP media offer and answer. This will compare H.264 identifier parameters in SDP fmtp, i.e: "profile-level-id" and "packetization-mode" fields. For better interoperability, when the option PJMEDIA_SDP_NEG_FMT_MATCH_ALLOW_MODIFY_ANSWER is set, this function may update the answer so the parameters in the answer match to ones in the offer.
- Parameters
-
pool | The memory pool. |
offer | The SDP media offer. |
o_fmt_idx | Index of the H.264 format in the SDP media offer. |
answer | The SDP media answer. |
a_fmt_idx | Index of the H.264 format in the SDP media answer. |
option | The format matching option, see pjmedia_sdp_neg_fmt_match_flag. |
- Returns
- PJ_SUCCESS when the formats in offer and answer match.
◆ pjmedia_vid_codec_h264_apply_fmtp()
Parse and apply the encoding and decoding SDP fmtp of H.264 in the specified codec parameter. This will validate size and fps to conform to H.264 level specified in SDP fmtp "profile-level-id".
- Parameters
-
param | The codec parameter. |
- Returns
- PJ_SUCCESS on success.
◆ pjmedia_vid_codec_vpx_parse_fmtp()
Parse SDP fmtp of VPX.
- Parameters
-
fmtp | The VPX SDP fmtp to be parsed. |
vpx_fmtp | The parsing result. |
- Returns
- PJ_SUCCESS on success.
◆ pjmedia_vid_codec_vpx_apply_fmtp()
Parse and apply the encoding and decoding SDP fmtp of VPX in the specified codec parameter. This will validate size and fps to conform to VPX level specified in SDP fmtp "max-fr" and "max-fs".
- Parameters
-
param | The codec parameter. |
- Returns
- PJ_SUCCESS on success.
References PJ_END_DECL.