示例#1
0
        static IntPtr n_CreateDecoder_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_codecType)
        {
            global::Org.Webrtc.SoftwareVideoDecoderFactory __this = global::Java.Lang.Object.GetObject <global::Org.Webrtc.SoftwareVideoDecoderFactory> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            string codecType = JNIEnv.GetString(native_codecType, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret     = JNIEnv.ToLocalJniHandle(__this.CreateDecoder(codecType));

            return(__ret);
        }
示例#2
0
 static IntPtr n_GetSupportedCodecs(IntPtr jnienv, IntPtr native__this)
 {
     global::Org.Webrtc.SoftwareVideoDecoderFactory __this = global::Java.Lang.Object.GetObject <global::Org.Webrtc.SoftwareVideoDecoderFactory> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(JNIEnv.NewArray(__this.GetSupportedCodecs()));
 }