push raw h264 data with webrtc

298 views
Skip to first unread message

Xiemin Chen

unread,
Sep 2, 2016, 9:43:41 AM9/2/16
to discuss-webrtc
Hi, is there anyway to push raw h264 data with peerconnection?
I want to push a raw h264 in client A, and client B receive and play this h264 video.
Thanks very much.

Sincerely

David C

unread,
Sep 2, 2016, 1:39:13 PM9/2/16
to discuss-webrtc
You could send it via the data channel perhaps? 

Xiemin Chen

unread,
Sep 3, 2016, 4:55:53 AM9/3/16
to discuss-webrtc
If you data channel may lost the RTCP functionality.
The h264 raw data is from the HW encoder.


在 2016年9月3日星期六 UTC+8上午1:39:13,David C写道:

nazmus shakeeb

unread,
Sep 3, 2016, 10:12:41 AM9/3/16
to discuss-webrtc
>>I want to push a raw h264 in client A, and client B receive and play this h264 video.

I think you want to stream h264 video from hardware encoder. This feature is already implemented in WebRTC for Android. 

At present it doesn't support all the SOC. ( I think most of the latest Qualcomm processors are supported )

So if you use WebRTC for Android and supported SOC you can stream directly from hardware encoder.

If you want to use it on non supported platform, you can not do it just pushing encoded raw data from the encoder. As WebRTC needs to change frame rate, bit rate and others

encoder is closely integrated with it.

If your hardware encoder supports OpenMAX, you can change some code to support it.

Thanks,
Shakeeb

Xiemin Chen

unread,
Sep 3, 2016, 11:34:49 AM9/3/16
to discuss-webrtc
I want to support it on the non android platform, it's a arm based linux platform.
Also the platform is not support OpenMax.
Can I implement an extern encoder myself to support it?
For example, now I want to implement a fake encoder that read raw h264 by ffmpeg.

Sincerely

在 2016年9月3日星期六 UTC+8下午10:12:41,nazmus shakeeb写道:
Reply all
Reply to author
Forward
0 new messages