Hi,
I've studied the WebRtc implementation for a few days now but I can't manage to find how to send my own h264 stream (without restranscoding it).
I've seen that I have two options : videotrack or rtcdatachannel, although I've found someone said the latter may not be optimal for this usage... advices ?
Using peerconnection_client, I've subclassed cricket::VideoCapturer enabling me to send a custom stream. I've tried sending the FOURCC_H264 frame through SignalFrameCaptured but expectingly, it complains that it cannot convert the frame to yuv I420. I've tried some more stuffs, like emitting SignalVideoFrame directly and debug step by step to see how I can change things, seen FakeWebRtcVideoEncoder in a unit test... But I'm completely lost from here.
What are the correct steps to achieve what I'm trying to do ?
Subclassing VideoFrame, VideoFrameFactory, Encoder ?
Any hint ?