Closed kotrs closed 2 years ago
@kotrs Which platform are you testing?
Publisher - MacOS Unity Editor or iOS device Subscriber - iOS device
The issue is on publisher side probably. Because the latency contineus when I disable audio subscribe on subscriber.
I need to know if it is a feature of this package or not. Because my implementation is more complicated. The communication is established through OpenVidu server. But sample OpenVidu client web app runs with audio without latency. Then I use third party package for AEC. But the latency starts increasing when I begin sending data with SetData method in AudioStreamTrack. So it seems that problem is in WebRTC package. What is strange when I set video codec VP8 with SetCodecPreferences in sender of video of course then audio is lost. Video stream is without latency then. I tried another available codecs but then I lost video stream.
Can you check the bitrate of audio?
I tried to set maxbitrate of audio sender from 10kb to 500kb. But no change.
@kotrs Is it replicate the issue when testing it without OpenVidu?
The delay was caused by a/v synchronisation on server side. It is not problem of this package. Thank you
Package version
2.4.0-exp.10
Environment
Steps To Reproduce
Current Behavior
A few seconds latency of video on subscriber side when I publish video and audio together. The latency is small after connection, but during the connection it is increasing. Publishing video without audio is OK.
Expected Behavior
Latency of video on subscriber side up to 500ms
Anything else?
No response