I want to run Analyse on the server upload and return json ( class FFProbeAnalysis ).
Then on the client will parse that json ( class MediaAnalysis ) and return MediaAnalysis or IMediaAnalysis.
Currently these features are hidden ( internal ), I want to make it public.
Example
//server
FFProbeAnalysis anl = await FFProbe.GetAnalysisAsync(filePath_or_stream);
//client
string json = ...;
FFProbeAnalysis anl = JsonSerializer.Deserialize<FFProbeAnalysis>(json);
return new MediaAnalysis(anl);
Note: and remove that [JsonIgnore]
|
[JsonIgnore] public IReadOnlyList<string> ErrorData { get; set; } = new List<string>(); |
I want to run Analyse on the server upload and return json ( class
FFProbeAnalysis).Then on the client will parse that json ( class
MediaAnalysis) and returnMediaAnalysisorIMediaAnalysis.Currently these features are hidden ( internal ), I want to make it public.
Example
Note: and remove that
[JsonIgnore]FFMpegCore/FFMpegCore/FFProbe/FFProbeAnalysis.cs
Line 14 in a599c48