Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Video Catching full VideoPlayer Error

Discussion in 'Audio & Video' started by drorriov, Jan 10, 2019.

  1. drorriov

    drorriov

    Joined:
    Jun 7, 2014
    Posts:
    43
    Hello,

    I am using VideoPlayer with URL to show a video.
    Sometimes when there is a problem with the URL parameters i can receive error from VideoPlayer like:

    WindowsVideoMedia error 0x80070005 while reading https://www.myvideo.coo?parameter=1&parameter2=2
    Context: MFCreateSourceReaderFromURL
    Error details: Access is denied.

    I do use
    Code (CSharp):
    1. videoPlayer.errorReceived += ErrorReceived;
    event to catch errors,
    but in this case it won't return the error details "Access is denied."
    It will return: "VideoPlayer cannot play url : https://www.myvideo.coo?parameter=1&parameter2=2"

    How do i catch the error details like: "Access is denied"?
     
    Last edited: Jan 10, 2019
  2. drorriov

    drorriov

    Joined:
    Jun 7, 2014
    Posts:
    43
    Anyone?
     
  3. SEARCHBLOCK

    SEARCHBLOCK

    Joined:
    Jul 22, 2020
    Posts:
    1
    Hi,
    Did you manage to get this issue resolved?
    I am having similar error code.