public static String GetCodecDescription(TrackType type, int codec) { return(InteropHelper.PtrToString(_getCodecDescriptionFunction.Delegate(type, codec))); }
public String GetMeta(MetaDataType type) { return(InteropHelper.PtrToString(_getMetaFunction.Delegate(InstancePointer, type))); }
/// <summary> /// Get a readable error message. /// </summary> /// <returns>return a readable LibVlc error message, if there are no error will return <see cref="null" /></returns> /// <exception cref="Exception">A delegate callback throws an exception.</exception> public static String GetErrorMessage() { return(InteropHelper.PtrToString(_errorMessageFunction.Delegate())); }
/// <summary> /// Get changeset of LibVlc. /// </summary> /// <returns></returns> public static String GetChangeset() { return(InteropHelper.PtrToString(_getChangesetFunction.Delegate())); }
/// <summary> /// Get compiler infomation of LibVlc. /// </summary> /// <returns></returns> public static String GetCompiler() { return(InteropHelper.PtrToString(_getCompilerFunction.Delegate())); }
/// <summary> /// Get version string of LibVlc. /// </summary> /// <returns></returns> public static String GetVersion() { return(InteropHelper.PtrToString(_getVersionFunction.Delegate())); }
public bool VlmAddVod(String name, String input, int options, String[] additionalOptions, int enable, String muxer) { var nameHandle = InteropHelper.StringToPtr(name); var inputHandle = InteropHelper.StringToPtr(input); var muxerHandle = InteropHelper.StringToPtr(muxer); var result = _newVodInputFunction.Delegate(InstancePointer, nameHandle.AddrOfPinnedObject(), inputHandle.AddrOfPinnedObject(), options, InteropHelper.StringArrayToPtr(additionalOptions), enable, muxerHandle.AddrOfPinnedObject()) == 0; nameHandle.Free(); inputHandle.Free(); muxerHandle.Free(); return(result); }