Open nusa10071999 opened 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);
are you running on android? could you pls provide your sdk log? it's usually allocated at /sdcard/{your app bundle id} folder.
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);