Giter VIP home page Giter VIP logo

Comments (14)

jibon57 avatar jibon57 commented on July 4, 2024

Are you sure the joining link is correct? Check from browser to see if you are able to login using the link. Check BBB API for more information.

from bbb-recorder.

awe007 avatar awe007 commented on July 4, 2024

Hmm...
When i try this link https://domain.online/bigbluebutton/api/
i see this:

<response>
<returncode>SUCCESS</returncode>
<version>2.0</version>
</response>

But when i try full link
https://domain.online/bigbluebutton/api/join?meetingId=adm-96w-m2a
i just redirected to main page https://domain.online/b

In Greenlight interface i see this:

Name: test1
Created: 2020-05-02 09:37:54 UTC 
Owner: Administrator 
ID: adm-96w-m2a 
Status: Running

May be ID is wrong?

from bbb-recorder.

jibon57 avatar jibon57 commented on July 4, 2024

The ID is correct. Now you can use BBB API to create joining link because Greenlight don't allow to provide link manually. You can get details of API usage from here: http://docs.bigbluebutton.org/dev/api.html#join

from bbb-recorder.

samuelpetrosyan avatar samuelpetrosyan commented on July 4, 2024

I have the same problem!!
@jibon57 Can you please describe how can you use live recording or streaming if using Greenlight??

Thanks in advance!

from bbb-recorder.

awe007 avatar awe007 commented on July 4, 2024

Well. I finally got a working link to join the conference. Please tell me how do I get a live broadcast now? Where can I watch it?

from bbb-recorder.

awe007 avatar awe007 commented on July 4, 2024

At the first terminal screen (where node ffmpegServer.js) i see this:

DATA <Buffer 1a 45 df a3 a3 42 86 81 01 42 f7 81 01 42 f2 81 04 42 f3 81 08 42 82 88 6d 61 74 72 6f 73 6b 61 42 87 81 04 42 85 81 02 18 53 80 67 01 ff ff ff ff ff ... >
DATA <Buffer 42 eb 82 00 3c 80 ff 03 60 7b 4c 42 85 c8 ae 28 06 7e 8d 69 ab 3f 01 de e1 af e8 e6 44 70 9e db 5b fe 27 34 45 8d 33 e6 6d 13 ef ff 5e 5d 5d 8a 9d ed ... >
FFmpeg STDERR: [matroska,webm @ 0x560b56a49980] decoding for stream 0 failed

FFmpeg STDERR: Input #0, matroska,webm, from 'pipe:':
  Metadata:

FFmpeg STDERR:     encoder         : Chrome
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0(eng): Video: h264 (Constrained Baseline), yuv420p(progressive), 1280x720, SAR 1:1 DAR 16:9, 1k tbr, 1k tbn, 2k tbc (default)
    Stream #0:1(eng): Audio: opus, 48000 Hz, stereo, fltp (default)

FFmpeg STDERR: rtmp://domain.online/live2/MyKey: Input/output error

FFmpeg STDIN Error { Error: write EPIPE
    at WriteWrap.afterWrite [as oncomplete] (net.js:868:14) errno: 'EPIPE', code: 'EPIPE', syscall: 'write' }
FFmpeg child process closed, code 1, signal null
connection
FFmpeg STDERR: ffmpeg version 4.2.2-1bbb1~ubuntu16.04 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.12) 20160609

from bbb-recorder.

samuelpetrosyan avatar samuelpetrosyan commented on July 4, 2024

As I know you should set your RTMP parameters in /config.json.

from bbb-recorder.

samuelpetrosyan avatar samuelpetrosyan commented on July 4, 2024

Well. I finally got a working link to join the conference. Please tell me how do I get a live broadcast now? Where can I watch it?

@awe007, Please, tell how can you get link to join the conference? I still can't.

from bbb-recorder.

awe007 avatar awe007 commented on July 4, 2024

There is my config.json

{
	"rtmpUrl": "rtmp://domain.online/live2/MyKey",
	"ffmpegServer": "ws://localhost",
	"ffmpegServerPort": 4000,
	"auth": "mZFZN4yc"
}

What i need to do ? Maybe you can give me an example of right settings?

from bbb-recorder.

awe007 avatar awe007 commented on July 4, 2024

For link i use this function

_getChecksum(endpoint, query) {
    const secret = '<secret>';
    return shajs('sha1').update(`${endpoint}${query}${secret}`).digest('hex');
  }

Endpoint = Join
Query = meetingID=test01&password=mp&fullName=John
Secret = Secret from .env

This function return us checksum for link, and full url to join will be
http://yourserver.com/bigbluebutton/api/join?meetingID=test01&password=mp&fullName=John&checksum=1234

from bbb-recorder.

samuelpetrosyan avatar samuelpetrosyan commented on July 4, 2024

There is my config.json

{
	"rtmpUrl": "rtmp://domain.online/live2/MyKey",
	"ffmpegServer": "ws://localhost",
	"ffmpegServerPort": 4000,
	"auth": "mZFZN4yc"
}

What i need to do ? Maybe you can give me an example of right settings?

If you want to stream to Youtube. You should fill the fields with info provided from Youtube Studio Streaming page.

from bbb-recorder.

awe007 avatar awe007 commented on July 4, 2024

With bbb-recorder can i stream my BBB-Conference to my own another site, like WordPress ?

from bbb-recorder.

samuelpetrosyan avatar samuelpetrosyan commented on July 4, 2024

For link i use this function

_getChecksum(endpoint, query) {
    const secret = '<secret>';
    return shajs('sha1').update(`${endpoint}${query}${secret}`).digest('hex');
  }

Endpoint = Join
Query = meetingID=test01&password=mp&fullName=John
Secret = Secret from .env

This function return us checksum for link, and full url to join will be
http://yourserver.com/bigbluebutton/api/join?meetingID=test01&password=mp&fullName=John&checksum=1234

How do you use this function??

from bbb-recorder.

jibon57 avatar jibon57 commented on July 4, 2024

try: 7959d2b

from bbb-recorder.

Related Issues (20)

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.