Comments (5)
HI,
I think this just need to ask to the webrtc-streamer to join a janus room.
Maybe this could be achieve using javascript calling the webrtc-streamer and use SDP to join the janus room ?
Best Regards,
Michel.
from webrtc-streamer.
Yes. Currently both webrtc-streamer and janus act as servers. One of them has to be triggered to initiate an offer to the other for the communication to get started. I was planning to begin modifying webrtc-streamer to act as the client and janus the server in this client-server relationship. Was just wondering if you or anyone on this thread has experience with janus video rooms before I embarked on it myself since I am still a relative newbie.
from webrtc-streamer.
I am going to close this issue. I think I have an idea of how to negotiate creation of a publisher to a janus room and to obtain the janus sdp. Once remote sdp is obtained via Janus api by parsing the json sdp response, this can be treated as the incoming offer and setremotedescription can be called . Subsequently an answer sdp is created and setlocaldescription is set and this triggers establishment of the peerconnection. In addition to negotiation of room using meetecho-janus JavaScript API,
I found two other related and relevant examples in Csharp and android respectively that maybe of interest that browses to this issue
https://github.com/Computician/JanusSharp/blob/master/README.md
https://github.com/Computician/janus-gateway-android/blob/master/README.md
from webrtc-streamer.
Hi,
I implement in an ugly way the negociation between Janus/WebRTC-streamer in janusvideoroom.js.
Then you can ask WebRTC-streamer to join and publish streams to Janus-Gateway video room using :
var janus = new JanusVideoRoom("https://janus.conf.meetecho.com/janus", 1234);
janus.connect("rtsp://217.17.220.110/axis-media/media.amp", "norway");
I made this try in Javascript inside the HTTP server of WebRTC-streamer but same stuff could be achieved in any script or langage that can call HTTP requests.
Best Regards,
Michel.
from webrtc-streamer.
Michel,
I am already using this for the past few days and it seems to work well . Thanks for implementing this powerful new use-case
from webrtc-streamer.
Related Issues (20)
- If the public ip address is deployed, the connection cannot be connected and the video cannot be turned on HOT 4
- Can I use the Apache HTTP server to replace the internal HTTP server? HOT 3
- call /api/call interface error with error code 500
- Audio device initialization failed in docker HOT 2
- Run webrtc-streamer in Debug mode HOT 1
- Failed to DESCRIBE: URL does not begin with HOT 5
- Same/old NTP timestamp HOT 1
- When using some Dahua cameras, it prompts "no frame!" HOT 1
- During the process of playing RTSP, there may be a lag phenomenon. Playing with ffmpeg is normal. How can I solve this problem? Thank you
- for rtsp stream generate by ffmpeg ,can't read the rtsp session HOT 2
- When playing rtsp, it will freeze for about 3 seconds. Do you know why?
- Why does it lag at frame i? Is there a solution,thank you HOT 6
- "v4l2-ctl" lists devices different to WebRTC Streamer interface devices HOT 6
- 500 Internal Server Error
- error while loading shared libraries: libXcomposite.so.1: HOT 5
- There is no audio when webrtc-streamer plays rtsp video stream. Hope to add more HOT 3
- use screen can show mouse?? HOT 2
- Can I set the interval time for i-frames during encoding? HOT 7
- Failed to DESCRIBE: 401 Unauthorized
- Vulnerabilities scan result by BDBA(Black Duck Binary Analysis) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webrtc-streamer.