ant-media / Ant-Media-Server

Ant Media Server is a live streaming engine software that provides adaptive, ultra low latency streaming by using WebRTC technology with ~0.5 seconds latency. Ant Media Server is auto-scalable and it can run on-premise or on-cloud.
https://antmedia.io
Other
4.17k stars 618 forks source link

Sync issue with filter output without ABR #4472

Open burak-58 opened 1 year ago

burak-58 commented 1 year ago

Issue

Filter output stream has lip sync issue without ABR

dzungrevo commented 1 year ago

Hi Burak,

I've upgraded to new release 2.5.1. After creating AMS Filter, link hls output stream is working correctly with Adaptive Bitrate, but no audio output. Could you re-check this issue.

From dung.nguyen@evgcorp.net

Thanks and Best Regards,

yashtandon113 commented 1 year ago

Hi @dzungrevo

I published two RTMP streams from OBS, enabled one Adaptive Bit rate (720p), and applied the below filter, but I was unable to reproduce the issue, and the audio appears to be fine in HLS output.

{ "filterId": "10WjTw1112", "inputStreams": ["stream1", "stream2"], "outputStreams": ["outputstream-filter"], "videoFilter": "[in0]scale=360:240[s0];[in1]scale=360:240[s1];[s0][s1]hstack=inputs=2[out0]", "audioFilter": "[in0][in1]amix=inputs=2[out0]", "videoEnabled": "true", "audioEnabled": "true" }

Please let us know if your reproduce scenario is different.

dzungrevo commented 1 year ago

Hi @mekya

With streams publishing from OBS, everything works correctly. Could you try this Mobile SDK (https://github.com/Faceunity)? we're using an application base on this sdk, when i publish 2 streams and using AMS filter to merge these streams, only video working and no audio output.

Regards,

mekya commented 1 year ago

I see. Thank you.

Let us check.

burak-58 commented 1 year ago

Hi dzungrevo, I have tried to build Faceunity to test with it, but I need certificate. I requested for one but still waiting. Can you send me the Ant Media Server logs? Let me check them first.