View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002173 | NoesisGUI | C# SDK | public | 2021-10-29 04:04 | 2021-12-16 12:29 |
| Reporter | DavidYawCSpeed | Assigned To | hcpizzi | ||
| Priority | normal | Severity | major | ||
| Status | resolved | Resolution | fixed | ||
| Product Version | 3.1.1 | ||||
| Target Version | 3.1.3 | Fixed in Version | 3.1.2 | ||
| Summary | 0002173: MediaPlayer: Unable to detect corrupt/invalid files | ||||
| Description | When a corrupt file is loaded, the MediaFailed event is not fired. MediaOpened is fired instead. I think that after setting the Source of a MediaElement, it should be a hard requirement that either MediaOpened or MediaFailed events be fired (this might already be the case). Also, detecting files that cannot be handled should be enhanced, and MediaOpened should only be raised if successfully read and it contains valid data. | ||||
| Steps To Reproduce | I did my testing with a zero-byte file. ("touch empty.mp4".) When I attempt to play it back, here's the result I get. Note that this is a mix of the Noesis logger, my logger (I'm logging all the events that MediaElement raises), and raw console output from 'mp'. Also note that MediaOpened event is raised, but MediaFailed is not. 2021-10-27 17:00:21.2142|TRACE|VideoPlaybackViewModel|MediaElementInitialized() | ||||
| Platform | Linux | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2021-10-29 04:04 | DavidYawCSpeed | New Issue | |
| 2021-10-29 10:31 | sfernandez | Assigned To | => hcpizzi |
| 2021-10-29 10:31 | sfernandez | Status | new => assigned |
| 2021-10-29 10:31 | sfernandez | Target Version | => 3.1.3 |
| 2021-12-16 12:29 | hcpizzi | Status | assigned => resolved |
| 2021-12-16 12:29 | hcpizzi | Resolution | open => fixed |
| 2021-12-16 12:29 | hcpizzi | Fixed in Version | => 3.1.2 |