Comments (5)
For local blur, you may need to process it from "onRenderVideoFrame".
Just a question, for your project, do you check if your blur is take effect. But just can't push the blurred bitmap back to SDK?
from api-examples.
onRenderVideoFrame is for remote frame, it even has uid. Its not for local blur. Also we use onCaptureVideoFrame in old sdk and it works just fine.
Yes blurred data can't be pushed back to new SDK, that's the problem. In old SDK when you change data array's content it changes the frame itself.
from api-examples.
It has been fix on dev/3.4.0 branch.
you could find below code for correction:
void writebackVideoFrame(VideoFrame &videoFrame, void *byteBuffer)
{
if (byteBuffer == nullptr)
{
return;
}
int width = videoFrame.width;
int height = videoFrame.height;
size_t widthAndHeight = (size_t) videoFrame.yStride * height;
memcpy(videoFrame.yBuffer, byteBuffer, widthAndHeight);
memcpy(videoFrame.uBuffer, (uint8_t *) byteBuffer + widthAndHeight, widthAndHeight / 4);
memcpy(videoFrame.vBuffer, (uint8_t *) byteBuffer + widthAndHeight * 5 / 4,
widthAndHeight / 4);
}
from api-examples.
okay that solved it, thank you. when will this pushed to master branch?
from api-examples.
suppose early next week
from api-examples.
Related Issues (20)
- Screen share not working when setExternalVideoSource
- Live Streaming uses the GlobalSettings so it does not set the user to audience when choosing that role
- Unable to set camera video and screen share both stream at the same time in on going video call for same channel.
- Handling when user click STOP SHARE button on Chrome? HOT 1
- Agora cloud recording's best fit layout is not working properly HOT 1
- Audio Issue on iPhone 14 with Agora SDK HOT 5
- 收到remote端同时的摄像头和共享桌面视频流,应该怎么分开这两个视频流用于分开显示 HOT 1
- 接口joinChannelEx返回错误码-8的问题 HOT 1
- demo
- Implement Video playback for video calls
- Issue with Agora ScreenSharing Android
- IOS demo运行项目进入崩溃 HOT 1
- engine.muteLocalAudioStream(true), it doesn't work. HOT 1
- How to use IVideoSource in agora 4.2.6 HOT 3
- enableVideoImageSource in Android SDK sample does not work HOT 1
- Agora cloud recording- failed to find worker HOT 1
- Is it possible to share screen and Video feed together in Android
- iOS push image panorama to AgoraVideoFrame?
- iOS `setVideoFrameDelegate` does not work as expected.
- Is the speech enhancement algorithm running locally or in the cloud?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from api-examples.