Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

video / audio streaming in sync

Discussion in 'Unity Render Streaming' started by ikeepbaconinmypocket, Apr 21, 2022.

  1. ikeepbaconinmypocket

    ikeepbaconinmypocket

    Joined:
    Jun 15, 2020
    Posts:
    4
    Hi, first of all i apologize for my amateur question...

    I ve managed to stream 2 videos via the webbrowserinput example, but I need to stream the audio from the video as well (its the same audio for both videos) without user interaction. Is this possible?
    I ve tried to trigger click play audio from the "main.js" file with no luck...
    thank you in advance
     
  2. kazuki_unity729

    kazuki_unity729

    Unity Technologies

    Joined:
    Aug 2, 2018
    Posts:
    796
  3. ikeepbaconinmypocket

    ikeepbaconinmypocket

    Joined:
    Jun 15, 2020
    Posts:
    4
    yes I ve checked that but it seems that audio plays only when you click the button, not when the video starts. Also I can't get hardware acceleration to work, I ve enabled the NVIDIA package, but when I click play, the hardware acceleration tick is checked off. Are there any dependencies I should check?
     
  4. kazuki_unity729

    kazuki_unity729

    Unity Technologies

    Joined:
    Aug 2, 2018
    Posts:
    796