Agora-Flutter-SDK
Agora-Flutter-SDK copied to clipboard
AddWaterMark png doesn't work
Hi everyone, I tried until moment to add watermark on video. With assets, with the function "getAbsoluthPath("assets...")" and create image with screenshot widget package and implemente it into addWatermark() function but, nothing worked.
Do you have some solutions please ?
Also, in the futur, usually the watermark will be change in the same time of recording. Do you think that the new watermark will be take in account if I integrate function "addWatermark" inside periodic timer ?
Sorry for the late response, do you set the WatermarkOptions
for addVideoWatermark
function?
Yes I set it, with positions and height / width
Hello @jmlarbaig, can you show your code?
Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. If you find this problem please file a new issue with the same description, what happens, logs and the output. All system setups can be slightly different so it's always better to open new issues and reference the related ones. Thanks for your contribution.
He @littleGnAl I'm sorry, I was buzy until now but I can answer,
So my code is that :
Future
}
This handleTimeOut function is called at the begging of the main code. My aim is to change the picture every second but for the moment, I just want to stream with only one
Hello @jmlarbaig, can you try add await
before _engine.getAssetAbsolutePath("images/test.png")
and _engine.addVideoWatermark(path, watermarkConfig)
I alreeady try to add it but nothing change, the path is ok, png also, visibleInpreview is turn on on True and startPreview too
@jmlarbaig hey, running into the same issue. Did you ever get the watermark to show up?
Hey Fabio,
I have search a lot and I didn't find solution. I went to other solution
@jmlarbaig what solution did you end up going with?
I used this package :
https://pub.dev/packages/haishin_kit
@jmlarbaig got you, I will look into it. Thanks for the quick responses btw. Did you still use agora for the videocall, just connected to the stream using haishin?
It depend of what you want, just streming something or if you want to do B2B
If you still face this issue, please try upgrading to the latest version to see if it works or not.
Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. If you find this problem please file a new issue with the same description, what happens, logs and the output. All system setups can be slightly different so it's always better to open new issues and reference the related ones. Thanks for your contribution.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please raise a new issue.