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.29k stars 635 forks source link

Effect is gone when turning on and of the Camera Stream #6019

Open USAMAWIZARD opened 10 months ago

USAMAWIZARD commented 10 months ago

Short description

When using effect on the stream and turning on and off camera using SDK function the effect is gone.

Environment

Steps to reproduce

  1. publishing a stream using SDK
  2. applying background removing effect
  3. turn on of camera using SDK functions. the effect will be gone
    webRTCAdaptor.turnOnLocalCamera(streamId);
    webRTCAdaptor.turnOffLocalCamera(streamId);

Expected behavior

the effect should not be removed when turning on and off the camera

Actual behavior

Effect is removed TestBG.txt

Logs

Place logs on pastebin or elsewhere and put links here

Ask your questions on Ant Media Github Discussions

USAMAWIZARD commented 10 months ago

This is also reproducible when webRTCAdaptor.switchDesktopCaptureWithCamera(streamId); and again switching to camera

muratugureminoglu commented 3 months ago
Agent Murat Ugur linked Freshdesk ticket 108461 for this issue.