When transceiver direction was set to 'recvonly', a particular transceiver
was added with a preference caps without payload type. When trying to
create an offer description, the payload type must be added to the caps
regardless its source type.
[Version] 0.3.241
[Issue Type] Bug fix
Change-Id: I924b297a3a23522ca7466c45eb0d65de1972d82c
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Name: capi-media-webrtc
Summary: A WebRTC library in Tizen Native API
-Version: 0.3.240
+Version: 0.3.241
Release: 0
Group: Multimedia/API
License: Apache-2.0
return NULL;
}
-static void __check_and_update_transceiver(webrtc_gst_slot_s *source)
+static void __check_and_update_recvonly_transceiver(webrtc_gst_slot_s *source)
{
rtp_payload_info_s *payload_info = NULL;
if (!(source = webrtc->gst.sources[i]))
continue;
- if (source->type != WEBRTC_MEDIA_SOURCE_TYPE_NULL)
- continue;
-
LOG_DEBUG("source[id:%u, type:%d, media_types:0x%x]", source->id, source->type, source->media_types);
- __check_and_update_transceiver(source);
+ __check_and_update_recvonly_transceiver(source);
}
}