AgoraIO / Basic-Video-Broadcasting

Sample app to join/leave a channel, set the role as a host/audience, mute/unmute, switch between front/rear cameras, and set the video parameters.
MIT License
269 stars 287 forks source link

addVideoWatermark() not work #56

Open nusa10071999 opened 4 years ago

nusa10071999 commented 4 years ago

i try to add watermark image to live broadcast, but it not work. I use SDK version 2.9.2 this my script

WatermarkOptions watermarkOptions = new WatermarkOptions(); watermarkOptions.positionInPortraitMode = new WatermarkOptions.Rectangle(100, 100, 512, 512); rtcEngine().addVideoWatermark("/assets/test.png", watermarkOptions);

plutoless commented 4 years ago

are you running on android? could you pls provide your sdk log? it's usually allocated at /sdcard/{your app bundle id} folder.