Forum Xamarin.Android
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

Gstreamer-sharp for Android

I want to build gstreamer-sharp for Android and use it via Xamarin.Android. What I need to do and how am I supposed to start(which .dll or .so files I need to compile? How I can use it? Should I use JNI or not? Which environment I need to get in my project or I just can compile shared libraries? etc.)?
Thank you in advance!


  • don-progdon-prog USMember

    If this is too broad for you, then I have something more concrete about gstreamer-sharp and native gstreamer working process on Android.
    How I understand work of gstreamer-sharp: gstreamer-sharp depends on glib-sharp(but not on the whole gtk-sharp) which provides GLib types for using them in the gstreamer-sharp, this is good choice because native gstreamer also uses GLib, so there is no need to use difficult type marshalling; gstreamer-sharp depends on gstreamer-sharp which provides front end realization which we can easily use from C# code; also gstreamer-sharp depends on libgstreamersharpglue, but I don't understand what exactly it does(this answer did not help me too).

    Also I know that I can use native gstreamer on Android. To do this I need to build gstreamer_android.c(I think this is a glue but I don't understand for what exactly) and something like main.c(with Gstreamer functions) which depends on the gstreamer_android.c and whcih we will use from the Java(or from the C#) via JNI interface. I do not quite clearly understand native gstreamer working procces on Android, so please correct me.
    So the main problem is how can I connect gstreamer-sharp with the native gstreamer on Android? And what will be better: use gstreamer-sharp or native gstreamer on Android(of course I mean use it via C# on Xamarin.Android)?
    Any help will be very useful!

  • XamarinCsXamarinCs USMember ✭✭

    i'm new in xamarin can you give me somthing simpler so i can use it in my app

Sign In or Register to comment.