Reputation: 65
The question is what is the difference between webrtc::VideoFrame
and webrtc::EncodedImage
. The purpose of the question is that I have webrtc::EncoededImage
and I need to send it to another peer. But I can't find any way to do that in cricket::VideoCapturer
. But there is onFrame method. As I understand it was made to send that frame. So I just thought that if I could convertwebrtc::EncodedImage
to webrtc::VideoFrame
I could send that image to another peer. Thank you
Upvotes: 0
Views: 577
Reputation: 2128
If you have an encoded frame, you need to push it down to the packetizer.
filters:
Capturer => Encoder => RTP Packetizer => Encryption => Transport
Data types:
Upvotes: 1