You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

sdp-a-rtpmap.h 602B

6 mesi fa
123456789101112131415
  1. #ifndef _sdp_a_rtpmap_h_
  2. #define _sdp_a_rtpmap_h_
  3. /// parse SDP a=rtpmap:
  4. /// a=rtpmap:98 L16/11025/2
  5. /// sdp_a_rtpmap("98 L16/11025/2", 98, "L16", 11025, "2");
  6. /// @param[in] rtpmap value
  7. /// @param[out] payload RTP payload type
  8. /// @param[out] encoding audio/video encoding [optional, null acceptable]
  9. /// @param[out] rate bit rate [optional, null acceptable]
  10. /// @param[out] parameters payload parameters [optional, null acceptable]
  11. /// @return 0-ok, other-error
  12. int sdp_a_rtpmap(const char* rtpmap, int* payload, char encoding[16], int* rate, char parameters[64]);
  13. #endif /* !_sdp_a_rtpmap_h_ */