ret |= GST_ELEMENT_REGISTER (rtpmux, plugin);
ret |= GST_ELEMENT_REGISTER (rtpdtmfmux, plugin);
ret |= GST_ELEMENT_REGISTER (rtpfunnel, plugin);
+#ifndef TIZEN_FEATURE_EXCLUDE_UNUSED_ELEMENTS
ret |= GST_ELEMENT_REGISTER (rtpst2022_1_fecdec, plugin);
ret |= GST_ELEMENT_REGISTER (rtpst2022_1_fecenc, plugin);
ret |= GST_ELEMENT_REGISTER (rtphdrexttwcc, plugin);
ret |= GST_ELEMENT_REGISTER (rtphdrextntp64, plugin);
ret |= GST_ELEMENT_REGISTER (rtphdrextstreamid, plugin);
ret |= GST_ELEMENT_REGISTER (rtphdrextrepairedstreamid, plugin);
+#endif
return ret;
}
+if get_option('exclude-unused-elements') # Not using the method of adding list to make it easy to upgrade opensource codes
+# remove unused 'gstrtphdrext-*.c', 'gstrtpst2022_1_fecdec.c', 'gstrtpst2022_1_fecenc.c' from the original sources
+rtpmanager_sources = [
+ 'gstrtpmanager.c',
+ 'gstrtpbin.c',
+ 'gstrtpdtmfmux.c',
+ 'gstrtpjitterbuffer.c',
+ 'gstrtpmux.c',
+ 'gstrtpptdemux.c',
+ 'gstrtprtxqueue.c',
+ 'gstrtprtxreceive.c',
+ 'gstrtprtxsend.c',
+ 'gstrtpssrcdemux.c',
+ 'rtpjitterbuffer.c',
+ 'rtpsession.c',
+ 'rtpsource.c',
+ 'rtpstats.c',
+ 'rtptimerqueue.c',
+ 'rtptwcc.c',
+ 'gstrtpsession.c',
+ 'gstrtpfunnel.c',
+ 'gstrtputils.c'
+]
+else
rtpmanager_sources = [
'gstrtpmanager.c',
'gstrtpbin.c',
'gstrtpst2022-1-fecenc.c',
'gstrtputils.c'
]
+endif
gstrtpmanager = library('gstrtpmanager',
rtpmanager_sources,