Package version
Render Streaming 3.1.0-exp.6
WebRTC 3.0.0-pre.4 Environment
OS windows11
unity version 2021.3.9
Android 13 Question
I tried to get the ntp time of audio data on the receiving end, and I follow the README to custom native plugin. We have test the official webrtc example, It seems feasible to obtain ntp time using the PullRenderData function.
I built the new native plugin to get ntp time on windows and android. However, the value of the ntp time get from PullrenderData was always -1 when I run Bidirectional on the windows, and it became elapsed time when I change the platfrom to android. I don’t know how the PullRenderData is implemented,since unity.webrtc is using a compiled static library of webrtc. My questions are as follows.
a. Have you modified the webrtc source code?
b. Is it possible to replace your static library files(webrtc.lib/ libwebrtc.aar) with our own compiled ones?
I’m sorry if I didn’t make my point clearly. I would love to hear other options to get ntp time of audio data.