Giter Site home page Giter Site logo

joisarjignesh / bigbluebutton Goto Github PK

View Code? Open in Web Editor NEW
145.0 145.0 45.0 146 KB

Package that provides easily communicate between bigbluebutton server and laravel framework

Home Page: https://jigneshjoisar.web.app

License: MIT License

PHP 100.00%
api bigbluebutton bigbluebutton-server communication laravel laravel-package meeting painless php

bigbluebutton's Issues

SSL problem

Error:
Unhandled curl error: SSL certificate problem: unable to get local issuer certificate.

how to solve this?

not working in my laravel version 6.x

 "php": "^7.2",
  "laravel/framework": "^6.2",
 "joisarjignesh/bigbluebutton": "^1.1", v1.1.8

after fresh install of this package and publish config file and insert BBB_SECURITY_SALT and BBB_SERVER_BASE_URL in the .end file i tried to test my BBB server with below code

dd(\Bigbluebutton::isConnect()); //false

but result is false,
i have another project laravel 5.5.* version and works fine with your package ( "joisarjignesh/bigbluebutton": "^1.1", ).

i dont know whats wrong here when package installed in laravel version 6.2 its not working ,

any help will be appreciated

How to generate keys?

Hello, how to generate these params in conf file, or where to get them?

BBB_SECURITY_SALT=bbb_secret_key   
BBB_SERVER_BASE_URL=https://example.com/bigbluebutton/

moderatorPassword is not a valid property

hi
I get an error when I try to create a new meeting
bigbluebutton()->create([ 'meetingID' => 'tamku', 'meetingName' => 'test meeting', 'attendeePW' => 'attendee', 'moderatorPW' => 'moderator', 'endCallbackUrl' => 'www.example.com/callback', 'logoutUrl' => 'www.example.com/logout', ]);

image

error when join : String could not be parsed as XML

Hi ,

i try to connect but return false and join trigger error :

String could not be parsed as XML

.env :

BBB_SECURITY_SALT=8cd8ef52e8e101574e400365b55e11a6   
BBB_SERVER_BASE_URL=http://test-install.blindsidenetworks.com/bigbluebutton

code :

Bigbluebutton::create([
    'meetingID' => 'tamku',
    'meetingName' => 'test meeting',
    'attendeePW' => 'attendee',
    'moderatorPW' => 'moderator'
]); 
  
//join
return response()->to(
 Bigbluebutton::join([
    'meetingID' => 'tamku',
    'userName' => 'disa',
    'password' => 'attendee' //which user role want to join set password here
 ])
);

why?

How can we get information of enter and exit time of each user during each meeting

Dear All, I want to have some reports which related to each session. How can we logs of enter and exit time of each user during the each meeting?
Some user join into some meeting, but their internet or any other events (like closing a browser, turning off the electricity or etc.) cause that they leave each meeting. I want to have an excellent log for this.

With Laravel, I can just log the login time and also logout time (if they came back and not closing the browser) and it is not sufficient.

Please help me in this moment.
@SamuelWei @joisarjignesh

How to use bigbluebutton.properties?

I want to add this BigBlueButton properties with this package:

The BigBlueButton server will automatically remove empty meetings that were created but have never had any users after a number of minutes specified by meetingExpireIfNoUserJoinedInMinutes defined in bigbluebutton.properties.

How to pass meetingExpireIfNoUserJoinedInMinutes properties while creating a meeting in this package?

Error on creating new meeting

I tested my servers and connection is true
dd(\Bigbluebutton::server($server)->isConnect());

I tried all three ways but it shows the same error

Cannot redeclare BigBlueButton\Parameters\CreateMeetingParameters::setFreeJoin()

Webhook or callback for join meeting

Hi @joisarjignesh ,

Is there any webhook or callback(call after join meeting event) to identify who join the meeting so we can do our operation in DB.
After join the meeting,we have to know attendee detail without use of getMeetingInfo api.

BBB v2.3 support?

BBB released v2.3 a couple days ago and I wonder if this package will support it. Would be nice to have user avatars!

Type Error when there are no recordings

Hi there

When there are no recordings a type error is thrown in Bbb.php on line 283. With PHP 8, the count functions does not accept null values.

This function:

public function getRecordings($recording)
{
    if (! $recording instanceof GetRecordingsParameters) {
        $recording = $this->initGetRecordings($recording);
    }

    $this->response = $this->bbb->getRecordings($recording);
    if (count($this->response->getRawXml()->recordings->recording) > 0) { // THIS
        $recordings = [];
        foreach ($this->response->getRawXml()->recordings->recording as $r) {
            $recordings[] = XmlToArray($r);
        }

        return collect($recordings);
    }

    return collect([]);
}

In the if statement a check should be added to see if $this->response->getRawXml()->recordings->recording is null.
You can probably do something like this. But I haven't actually had a possibility to test this.

if ($this->response->getRawXml()->recordings->recording && count($this->response->getRawXml()->recordings->recording) > 0) {
    $recordings = [];
    foreach ($this->response->getRawXml()->recordings->recording as $r) {
        $recordings[] = XmlToArray($r);
    }

    return collect($recordings);
}

join the meeting

Hi, I deal with simple and big issue!
When I want to join to the meeting, I found the below error:

BadMethodCallException Method Illuminate\Routing\ResponseFactory::to does not exist.

my code is the same as the tutorial but it doesn't work well.

`

	return response()->to(
		 Bigbluebutton::join([
			'meetingID' => 'tamku',
			'userName' => 'disa',
			'password' => 'attendee', //which user role want to join set password here
			//'redirect' => false, //it will not redirect into bigblueservr
		 ])
	)

`

Could we check active tab browser?

Hi, I want to check some participants' status.
For example, I want to check which participants' browser is active and not changed during each session.

avatarURL

Hi,when I use join method and set avatarURL, avatar image not shown in bbb
Thanks

in Start method , "userId" does not apply.

if run START method and set userId parameter, does not apply:
you can modify 'initMeeting.php':

private function makeJoinMeetingArray($object, $parameters)
    {
        $pass['meetingID'] = $object->get('meetingID');
        $pass['password'] = $object->get('moderatorPW');
        if (isset($parameters['userName'])) {
            $pass['userName'] = $parameters['userName'];
        }
        $pass['meetingName'] = $object->get('meetingName');
        if (isset($parameters['redirect'])) {
            $pass['redirect'] = $parameters['redirect'];
        }

        return $pass;
    }

and insert this:

        if (isset($parameters['userId'])) {
            $pass['userId'] = $parameters['userId'];
        }

guestPolicy in create not passing to URL?

I've added the hooks to both the official bbb api and this to allow guestPolicy settings to be passed during the Create Room method.

Since it requires an update to the BBB api, should I just include the changes here for reference or make a pull request that can be merged when the API is updated? I haven't made a pull request there yet.

Thanks,
Dwayne

Name or other information of attendee

Dear all, I want to check who are in each meeting. I don't have any idea how can we check each person by another. Each person logged into the meeting via his/her name and I can't pass any parameter like as ssid or the other ones.
Therefore, I can't check somebody when he/she has the same name as the other

What should I do now?

Can we call a function when some body go out from the room?

Dear All, How can we detect that anybody is not in the room (with hooks)? E.g. how can we get the duration of each user entrance? also some body maybe have loss internet connection. I want to call some function when anybody's connection is destroyed

Waiting room

Hi, How can we have a waiting room like as we have in Greenlight?

Make Request on different bbb servers

Hi Joisarjignesh,
first of all many thanks about this wonderful package!

Maybe you could help me or give me a suggestion, i try to get meeting info from two different servers with big blue button, but I've not found the right yet.

The first idea is to ask to server1 with a Laravel Scheduled job, and after this one, change env bbb parameters to connect to server2 and make the same things, but all this, unfourtunately not work! Do you ever try a thing like this one?

Thanks a lot!

endCallbackUrl not working

hello
endCallbackUrl not working.
When it is the session it does not forward the link created during session creation. Is there a solution to this problem

\Bigbluebutton::create([
   'meetingID' => 'tamku',
   'meetingName' => 'test meeting',
   'attendeePW' => 'attendee',
   'moderatorPW' => 'moderator',
   'endCallbackUrl'  => 'www.example.com/callback',
]); 

guestPolicy option is ignored

guestPolicy option always sent with value ALWAYS_ACCEPT because we don't call setGuestPolicy function to override the default value.

Setting servers

Hi! Thanks for this, it is really helpful.

I will like to know

1, If setting multiple servers will make this work as scalelite?
2, If setting 2 servers will it be able to pull recordings from the 2 servers and will not be delayed.

Issue in deleting a record

when i delete a recorded meeting it changes the state of that recording to deleted,
but it is still on the server, how can i remove it completely ?

create meeting with no microphone access

Dear all, I want to create a room which the end-user not share the microphone access and just listen.
I don't want a modal window which force end-user to select it's access. I want an access to just listen (like play a music which don't need any access and the end-user fastly join to the meeting and not wait for checking anything).
I change settings.yml in (/usr/share/meteor/bundle/programs/server/assets/app/config)

    autoJoin: true
    listenOnlyMode: false
    forceListenOnly: false
    skipCheck: true

But the modal is also coming and the user must wait for just 3-5 second. I want to create a room with api which the end-user not see any modal and join fast to the meeting.

If the moderator change it's access to a microphone or moderator from attendee, on that moment the end-user try to access the microphone.

Could you help me in this moment for joining fast like as any other music website which load in just a millisecond?
@SamuelWei

Issue when creating a conference

When creating a conference using
$url = Bigbluebutton::create([ 'meetingID' => 'sdcsiqufgssf', 'meetingName' => 'testmeeting', 'attendeePW' => 'attendee', 'moderatorPW' => 'moderator' ]);

i've this error on the bigbluebutton server: HTTP Status 500 โ€“ Internal Server Error
with this log
/var/log/bigbluebutton/bbb-web.log:2020-04-27T16:23:52.768+02:00 ERROR o.g.w.e.GrailsExceptionResolver - NumberFormatException occurred when processing request: [GET] /bigbluebutton/api/create

It's a fresh bigbluebutton server and using api-mate all is working perfectly

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.