Any efficient way to pass the frame buffer to the WebView? #4177
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 19 replies
-
That's because Tauri chose Message Passing as it's IPC architecture not Shared Memory. We basically chose to trade performance in exchange for security. So shared memory for zero-copy data exchange is neither supported nor planned. But our current IPC system isn't perfect either, the bad performance with binary data is something we will be working on after v1 and while not zero-copy, I hope we can deliver performance comparable to WebRTC. |
Beta Was this translation helpful? Give feedback.
That's because Tauri chose Message Passing as it's IPC architecture not Shared Memory. We basically chose to trade performance in exchange for security. So shared memory for zero-copy data exchange is neither supported nor planned. But our current IPC system isn't perfect either, the bad performance with binary data is something we will be working on after v1 and while not zero-copy, I hope we can deliver performance comparable to WebRTC.