Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementing a simple pipeline with WebRTC #1841

Open
EmilienRNN opened this issue May 12, 2024 · 4 comments
Open

Implementing a simple pipeline with WebRTC #1841

EmilienRNN opened this issue May 12, 2024 · 4 comments

Comments

@EmilienRNN
Copy link

Hello,
First, I would like to say that it is an incredible work.
I am really struggling to find an example that manages to show an exemple of a gstreamer pipeline having a v4L2 camera and send it through WebRTC (using webrtcbin or whatever). I have seen the examples that you have provided like webrtc html and flask but I would like an example of a pipeline. I am sorry if it is not really the place to ask it but this is the place where I can have chances to get precise answers about my request.
Thanks for your help.

@dusty-nv
Copy link
Owner

Hi @EmilienRNN, you can do it with video-viewer /dev/video0 webrtc://@:8554/output

And then to check that it is working, navigate your browser to http://JETSON_IP:8554

@EmilienRNN
Copy link
Author

EmilienRNN commented May 13, 2024

Hello, thanks to your quick answer.
Are you using gstreamer directy to do the webRTC ? Maybe I misunderstood and you didn't use this library at all.
The video-viewer example is what I want to accomplish : display my video through webRTC. However, I would like to customize the pipeline ( that is behind the process ) but still using your webrtc implementation.
I didn't manage to find how you implement video-viewer.
Sorry for that many questions.

@dusty-nv
Copy link
Owner

@EmilienRNN yes it is using GStreamer underneath, the code can be found at https://github.com/dusty-nv/jetson-utils/tree/master/codec

@EmilienRNN
Copy link
Author

Thanks for your answers i will try to understand how to implement it. When I'm using video-viewer, it displays the camera video on the jetson and through webRTC. Is it possible to get only the webrtc display and not the normal one ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants