0

In openCV cv2.VideoCapture(), I want receive video stream from webRTC server Only Janus webRTC of node.js is available.

How can it be implemented?

1 Answer 1

0

You should be able to use GStreamer for that.

cv2.VideoCapture() accepts a GStreamer pipeline, so you can use the webrtcbin and appsink plugins combined to receive a stream from any WebRTC client (including Janus).

Check out these links for guidance on how to do so:

https://answers.opencv.org/question/202017/how-to-use-gstreamer-pipeline-in-opencv/ https://gstreamer.freedesktop.org/documentation/webrtc/index.html?gi-language=python https://gstreamer.freedesktop.org/documentation/application-development/basics/init.html?gi-language=python

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.