title: Adding RTMP plugin (gstreamer-plugin-bad-0.10.23) support to Gstreamer Android SDK 2013.6 Congo
body: <p>I'm currently trying to configure RTMP plugin with the GSTREAMER Android SDK release 2013.6 version. I was able to cross compile the RTMP plugin for and was successful in creating the libgstrtmp.a and the libgstrtmp.la files. </p>
  
  <p>Then I added this files to the gstreamer-0.10 folder in the GSTREAMER Android SDK's libs folder. I then took the sample tutorial-5 from the SDK base and made the changes in the Android.mk file and then recompile the project. </p>
  
  <p>After all this the RTMP plugin was statically registered in the libgstreamer_android.so but when i run the application providing a rtmp stream I get the following error's </p>
  
  <blockquote>
    <p>g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed </p>
    
    <p>g_once_init_leave: assertion `result != 0' failed </p>
  </blockquote>
  
  <p>and the following warnings. </p>
  
  <blockquote>
    <p>specified instance size for type <code>GstRTMPSrc' is smaller than the parent type's</code>GstPushSrc' instance size</p>
    
    <p>specified instance size for type <code>GstRTMPSink' is smaller than the parent type's</code>GstBaseSink' instance size</p>
  </blockquote>
  
  <p>Can someone help me troubleshoot this error. As per the Gstreamer SDK FAQ's this mismatch between the instances and the parent class might be due to compilation with two different versions of gstreamer. That is my plugin is compiled with some other version than that of the SDK. </p>
  
  <p>My Another question is that against what version of the gstreamer version is the Android SDK compiled. As this might be the main culprit in the error. </p>
  
  <p>Thanking You.</p>
  
  <p>Dhruv.</p>