Video issue in preview

Back to Bug Reports
An issue has been acknowledged in this thread and it is being tracked internally by the Fuse team.

Fuse version 0.34.0 (build 10613)

OSX 10.12.3

iOS 10.2.1

When showing Apple's example HLS video in preview it crashes on OSX and only plays the sound on iOS. For the latter that also goes for other videostreams I have tested (none-public, so I can't disclose those).

<App Background="Black">
    <Video ux:Name="video" Dock="Top" Url="" IsLooping="false" StretchMode="Uniform" AutoPlay="true" />

The crash happens around a second into playing the video, so the first bit works fine.

Crashlog from Fuse Monitor:

LOG: System.ArgumentException: start_index + length > array length
    Parameter name: length
      at (wrapper managed-to-native) System.Runtime.InteropServices.Marshal:copy_from_unmanaged (intptr,int,System.Array,int)
      at System.Runtime.InteropServices.Marshal.Copy (IntPtr source, System.Byte[] destination, Int32 startIndex, Int32 length) <0x152b6248 + 0x00027> in <filename unknown>:0 
      at Fuse.Video.Mono.PixelBuffer.UpdateTexture (Int32 textureName, Fuse.Video.Mono.VideoHandle handle) <0x152b5ca0 + 0x000e3> in <filename unknown>:0 
      at Fuse.Video.Mono.VideoImpl.UpdateTexture (Fuse.Video.Mono.VideoHandle handle, Int32 textureHandle) <0x152b55d8 + 0x00143> in <filename unknown>:0 
      at Fuse.Video.Mono.MonoImpl.UpdateTexture (Int32 textureHandle) <0x152b55a8 + 0x0001b> in <filename unknown>:0 
      at Fuse.Video.Graphics.CIL.VideoImpl.UpdateTexture (Fuse.Video.Graphics.CIL.VideoHandle handle, Int32 textureHandle) <0x152b5580 + 0x00021> in <filename unknown>:0 
      at Fuse.Controls.VideoImpl.CIL.VideoPlayer.Update () <0x152b4a70 + 0x001af> in <filename unknown>:0 
      at Fuse.Controls.VideoImpl.GraphicsVideoService.Fuse.Controls.VideoImpl.IVideoService.Update () <0x141fb658 + 0x0002c> in <filename unknown>:0 
      at Fuse.Controls.VideoImpl.VideoVisual.OnUpdate () <0x141fb5d8 + 0x0001c> in <filename unknown>:0 
      at Fuse.UpdateListener.Invoke () <0xfc343d0 + 0x00053> in <filename unknown>:0 
      at Fuse.UpdateManager.ProcessListeners (Fuse.Stage stage, System.Collections.Generic.List`1& _exceptions) <0xfc34210 + 0x00057> in <filename unknown>:0
Post Stats
  • 2
  • 112
  • 2