Search Unity

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

Synchronize data per frame

Discussion in 'Unity Render Streaming' started by jhurlbut, Jan 20, 2021.

  1. jhurlbut

    jhurlbut

    Joined:
    Aug 24, 2015
    Posts:
    2
    Is there a way to encode metadata in the media stream so that it is synchronized at the frame level? The datachannel does not seem to be frame synchronized to the video track. Would it be possible to add support for the insertable streams API to the native code? https://github.com/w3c/webrtc-insertable-streams
     
  2. kazuki_unity729

    kazuki_unity729

    Unity Technologies

    Joined:
    Aug 2, 2018
    Posts:
    796
    Yeah, I guess the insertable streams API is the best way to achieve synchronizing the data with each frame. But unfortunately, we have not supported it yet.

    I created a ticket for the feature request in our repository.
    Please watch it to check the progress if you want.
    https://github.com/Unity-Technologies/com.unity.webrtc/issues/305
     
  3. Careprod_DevTeam

    Careprod_DevTeam

    Joined:
    Dec 29, 2020
    Posts:
    7
    Hi,
    Any advancement on that feature? i checked the Git link but it seems that it didn't moved since your post.

    Thanks,
     
  4. kazuki_unity729

    kazuki_unity729

    Unity Technologies

    Joined:
    Aug 2, 2018
    Posts:
    796
    Sorry but nothing's changed since the post.