working is something like this owner of house can see and hear visitor outside and visitor can also hear the house owner but can not see because there is no display on doorbell.
Till now I have successfully streamed color corrected audio/video stream using gstreamer to my locally running janus webrtc server.
I have used janus webrtc server because i wanted realtime communication without latency ofcourse and I wanted echo cancellation as well so webrtc server has in built echo cancellation algorithm.
Here is How currently I am streaming to janus webrtc server.
- 1. run rockchip's isp for color correction
2. gstreamer pipeline for streaming to janus server
Code: Select all
rkaiq_3A_server &Code: Select all
ST_DEBUG=2 gst-launch-1.0 v4l2src device=/dev/video11 ! video/x-raw,width=640,height=480,framerate=30/1 ! videoscale ! videoconvert ! x264enc tune=zerolatency speed-preset=ultrafast key-int-max=30 bitrate=2000 ! h264parse ! rtph264pay pt=96 config-interval=1 ! udpsink host=192.168.0.110 port=5004 buffer-size=65536 alsasrc device=hw:0 ! audioconvert ! audioresample ! opusenc bitrate=64000 ! rtpopuspay pt=111 ! udpsink host=192.168.0.110 port=5002 buffer-size=65536
current luckfox sdk does not have gstreamer hardware encoding plugin which I can enable and use
So in search of gstreamer hardware encoding plugin i stumbbled upon github repository which talks about mpphardware encoding gstreamer plugin Link: https://github.com/Meonardo/gst-rockchip
so Is anyone out there who knows how can I add this plugin or any gstreamer plugin manually in my luckfox's sdk build environment so whenever I build images I will get gst-launch-1.0 with its hardware encoding plugin and i can use it from command line.
if you have any question and doubt feel free to ask.

