A condition has been added not to allow 0 value.
Valid range has been added to the documentation.
[Version] 1.1.29
[Issue Type] Bug fix
Change-Id: Ieb33ed50d8175c67770668c1a7e95a798845bddd
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
* @param[in] webrtc WebRTC handle
* @param[in] source_id The media source id
* @param[in] codec The transceiver codec
- * @param[in] pt The RTP payload type
+ * @param[in] pt The RTP payload type\n
+ * Valid range is 96 ~ 127.
* @return @c 0 on success,
* otherwise a negative error value
* @retval #WEBRTC_ERROR_NONE Successful
Name: capi-media-webrtc
Summary: A WebRTC library in Tizen Native API
-Version: 1.1.28
+Version: 1.1.29
Release: 0
Group: Multimedia/API
License: Apache-2.0
LOG_INFO("already payload type[%u] was set", source->av[av_idx].multiple_codecs[mc_idx].pt);
return WEBRTC_ERROR_NONE;
- } else if (pt == source->av[av_idx].pt) {
+ } else if (source->av[av_idx].pt != 0 && pt == source->av[av_idx].pt) {
if (!source->av[av_idx].pt_set_by_api)
_return_payload_type(webrtc, source->av[av_idx].pt);
source->av[av_idx].pt_set_by_api = true;