Coder Social home page Coder Social logo

Comments (8)

AminArria avatar AminArria commented on September 26, 2024

Weird, seems to fail opening a certificate file. Some versions might not be pin down an mess the installation

I'll try a fresh install later tonight and see how it goes.

Let me know if you manage to fix it.

from janus_erlang_wrapper_demo.

AminArria avatar AminArria commented on September 26, 2024

@lc3t35 I've fixed it in latest commit ca0efac.

Seems like a change in Janus now causes the error when the cert config is present, but no cert is found.

PS: If error persist (or some other error) fill free to reopen/keep using this issue

from janus_erlang_wrapper_demo.

lc3t35 avatar lc3t35 commented on September 26, 2024

Solved, thank you !

Janus commit: 38d29d0f02db14c8dd07e1ded0c4d250f502ca1c
Compiled on:  Tue Sep 17 21:38:07 UTC 2019

---------------------------------------------------
  Starting Meetecho Janus (WebRTC Server) v0.7.5
---------------------------------------------------

Checking command line arguments...
Debug/log level is 4
Debug/log timestamps are disabled
Debug/log colors are enabled
Adding 'vmnet' to the ICE ignore list...
Using 172.18.0.2 as local IP...
[WARN] Token based authentication disabled
Initializing recorder code
Initializing ICE stuff (Full mode, ICE-TCP candidates disabled, half-trickle, IPv6 support disabled)
STUN server to use: stun.l.google.com:19302
  >> 74.125.140.127:19302 (IPv4)
Testing STUN server: message is of 20 bytes
  >> Our public address is 159.65.24.201
TURN REST API backend: (disabled)
Crypto: OpenSSL >= 1.1.0
[WARN] The libsrtp installation does not support AES-GCM profiles
[WARN] No cert/key specified, autogenerating some...
Fingerprint of our certificate: 88:...:3D
[WARN] Event handlers support disabled
Plugins folder: /opt/janus/lib/janus/plugins
Sessions watchdog started
Joining Janus requests handler thread
Loading plugin 'libjanus_echotest.so'...
JANUS EchoTest plugin initialized!
Loading plugin 'libjanus_nosip.so'...
JANUS NoSIP plugin initialized!
Loading plugin 'libjanus_textroom.so'...
JANUS TextRoom plugin initialized!
Loading plugin 'libjanus_sip.so'...
JANUS SIP plugin initialized!
Loading plugin 'libjanus_videocall.so'...
JANUS VideoCall plugin initialized!
Loading plugin 'libjanus_streaming.so'...
JANUS Streaming plugin initialized!
Loading plugin 'libjanus_videoroom.so'...
JANUS VideoRoom plugin initialized!
Loading plugin 'libjanus_audiobridge.so'...
JANUS AudioBridge plugin initialized!
Loading plugin 'libjanus_voicemail.so'...
JANUS VoiceMail plugin initialized!
Loading plugin 'libjanus_recordplay.so'...
JANUS Record&Play plugin initialized!
Transport plugins folder: /opt/janus/lib/janus/transports
Loading transport plugin 'libjanus_pfunix.so'...
[WARN] Unix Sockets server disabled (Janus API)
[WARN] Unix Sockets server disabled (Admin API)
[WARN] No Unix Sockets server started, giving up...
[WARN] The 'janus.transport.pfunix' plugin could not be initialized
Loading transport plugin 'libjanus_websockets.so'...
[WARN] libwebsockets has been built without IPv6 support, will bind to IPv4 only
libwebsockets logging: 0
WebSockets server started (port 8188)...
[WARN] Secure WebSockets server disabled
[WARN] Admin WebSockets server disabled
[WARN] Secure Admin WebSockets server disabled
JANUS WebSockets transport plugin initialized!
WebSockets thread started
Loading transport plugin 'libjanus_http.so'...
HTTP webserver started (port 8088, /janus path listener)...
[WARN] HTTPS webserver disabled
[WARN] Admin/monitor HTTP webserver disabled
[WARN] Admin/monitor HTTPS webserver disabled
JANUS REST (HTTP/HTTPS) transport plugin initialized!

I can connect to the web page, following the given steps but there is no video displayed as broadcaster, where should be the video file ?
maybe can you explain the html file in priv/static/janus-client ?

<video id="localVideo" autoplay muted style="width:40%;"></video>
<video id="remoteVideo" autoplay style="width:40%;"></video>

from janus_erlang_wrapper_demo.

AminArria avatar AminArria commented on September 26, 2024

What OS and browser are you using? The autoplay might cause some issues and you will probably have to allow the video recording, but it worked fine for me on macOS Firefox 69

Did it populate the room and feed fields?

from janus_erlang_wrapper_demo.

lc3t35 avatar lc3t35 commented on September 26, 2024

OSX and FF68. I can see the controls but no video. Which video is displayed, where is it stored ?
Yes it populate the room and feed fields, no error in the console.

from janus_erlang_wrapper_demo.

AminArria avatar AminArria commented on September 26, 2024

Screen Shot 2019-09-18 at 17 57 16

That's how it should display for a broadcaster. The video isn't stored anywhere, it's just as watching any other kind of video stream.

Did you try both options, janus-client and api-client?

from janus_erlang_wrapper_demo.

lc3t35 avatar lc3t35 commented on September 26, 2024

yep tried both, with Chrome too.
It seems that the authorization to access the camera is not processed/given.
I don't run at localhost but real server, maybe missing https can break the demo ?

from janus_erlang_wrapper_demo.

AminArria avatar AminArria commented on September 26, 2024

Ow... Outside of localhost I can't guarantee it will work. I'll try spinning up one later and see how it goes.

Nonetheless, since room and feed fields are populated connection to server seems to be working fine, so it looks to be a purely client-side specific issue. Try manually giving the permissions.

Also, if you don't mind, you could send me the IP/domain name of the server and I'll see if I can run the demo in my browser.

from janus_erlang_wrapper_demo.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.