How to place a logo on the server side, I can't find relevant information #6673
josetowers
started this conversation in
General
Replies: 3 comments 1 reply
-
Hi @josetowers Do you want to display the logo at the top of the Ant Media Server player (play.html) or embed it within the stream? Which protocol (WebRTC, HLS, or DASH) are you using to play the stream? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I want it to be on the server side that it is encoded, and it is hls
El El vie, 27 de sep de 2024 a la(s) 6:51 a.m., yashtandon113 <
***@***.***> escribió:
… Hi @josetowers <https://github.com/josetowers>
Do you want to display the logo at the top of the Ant Media Server player
(play.html) or embed it within the stream?
Which protocol (WebRTC, HLS, or DASH) are you using to play the stream?
—
Reply to this email directly, view it on GitHub
<#6673 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BLUGWV4NKVXU3GQ66EJMKVTZYVIFJAVCNFSM6AAAAABO5T5ZBGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANZXGU2DIOI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
.com>
|
Beta Was this translation helpful? Give feedback.
1 reply
-
I'm not interested in that version, just the community.
El El mar, 1 de oct de 2024 a la(s) 9:05 a.m., yashtandon113 <
***@***.***> escribió:
… @josetowers <https://github.com/josetowers>
If you are using the Enterprise Edition of Ant Media Server, you can use
the Filter Plugin. Check out this blog post
<https://antmedia.io/discover-the-filter-plugin/> for more reference. You
can refer to Filter number 3 for integrating the logo in a stream.
Here is the sample API call for your reference:
*To start the filter:*
curl -i -X POST -H "Accept: Application/json" -H "Content-Type:
application/json" "http://localhost:5080/LiveApp/rest/v2/filters/create"
-d
'{"filterId":"logodemo","inputStreams":["stream1"],"outputStreams":["test"],"videoFilter":"movie=/usr/local/antmedia/webapps/LiveApp/images/logo.png[logo];[in0][logo]overlay[out0]","audioFilter":"[in0]acopy[out0]","videoEnabled":"true","audioEnabled":"true","type":"asynchronous"}'
*To Remove the filter:*
curl -i -X DELETE -H "Accept: Application/json" -H "Content-Type:
application/json" "
http://test.antmedia.io:5080/LiveApp/rest/v2/filters/ogodemo"
As a result, it will be as follows.
image.png (view on web)
<https://github.com/user-attachments/assets/d63b5237-6f5e-4a01-882f-e4180f588db5>
I hope it helps. If you have any questions, please feel free to ask.
—
Reply to this email directly, view it on GitHub
<#6673 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BLUGWV4JB7XWXDC5DYSDWFTZZK22ZAVCNFSM6AAAAABO5T5ZBGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAOBRGAZTKMI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
.com>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How to place a logo on the server side, I can't find relevant information
Beta Was this translation helpful? Give feedback.
All reactions