Skip to content

How can I use Filter Plugin with Ant Media Server? #4982

Answered by yashtandon113
USAMAWIZARD asked this question in FAQs
Discussion options

You must be logged in to vote
  1. Ant Media Server Filter Plugin lets you make Real-time Audio/Video Manipulation on the server-side as told in this blogpost. Filter can be created on the fly by the REST API.

  2. You can add logo to an on going stream by applying movie filter to the stream. Here is the Rest API sample:

curl -i -X POST -H "Accept: Application/json" -H "Content-Type: application/json" "http://localhost:5080/WebRTCAppEE/rest/v2/filters/create" -d '{"filterId":"logodemo","inputStreams":["stream1"],"outputStreams":["test"],"videoFilter":"movie=/home/burak/antmedia.png[logo];[in0][logo]overlay[out0]","audioFilter":"[in0]acopy[out0]","videoEnabled":"true","audioEnabled":"true","type":"asynchronous"}'

Note: Yo…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by USAMAWIZARD
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants