aau-zid / BigBlueButton-liveStreaming

Streams a given BBB Meeting to an RTMP Server.
GNU General Public License v3.0
201 stars 160 forks source link

INFO:root:Meeting isn't running. We will try again in 5 seconds! #143

Closed Shaverdoff closed 2 years ago

Shaverdoff commented 2 years ago

Describe the bug i was put all that necessary to environment in docker-composy.yml meeting_id, url with api endpoint with bbb and streaming url from https://github.com/aau-zid/live-streaming-server... but stil get that after view logs on

root@labs-stream:/opt/BigBlueButton-liveStreaming# docker logs --follow f07
Setting up nsswrapper mapping 1001 to lithium
Starting pulseaudio...
Waiting for pulseaudio to start...
Skipping nsswrapper setup - already initialized
INFO:root:Meeting isn't running. We will try again in 5 seconds!
INFO:root:Meeting isn't running. We will try again in 5 seconds!
INFO:root:Meeting isn't running. We will try again in 5 seconds!

then ask bbb to getMeeting info, they sayd me that

<response>
<returncode>SUCCESS</returncode>
<meetingName>adm-mpw-1sh-jaz</meetingName>
<meetingID>adm-mpw-1sh-jaz</meetingID>
<internalMeetingID>
8152eef0c77d238b36208683ec1feb3bfac92f95-1639133736166
</internalMeetingID>

what meeting_id shall i sent? internalMettingid or just adm-mpw-1sh-jaz ?

Expected behavior meetings must run Desktop (please complete the following information):

what i am doing wrong? please advice me

mtsonline commented 2 years ago

Hi, please use the examples/getmeetings tool - there you see the meeting id of the running meetings on the server you configured in the docker-compose file. Hope that helps.

Shaverdoff commented 2 years ago

ive already fixed but... in videodata folders where i cloning project BigBlueButton-liveStreaming no appearing any video that must be appear... or i donot understand the point of hls? all of docker runing well and bbb meetings was work excatly as need. but ... whereis videostream? and ofcouse i use docker-compose.yml from examples

Shaverdoff commented 2 years ago

also if i am opening index.m3u8 file it appear with

#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:279
#EXT-X-TARGETDURATION:11
#EXTINF:6.200,
1639137245975.ts
#EXTINF:7.867,
1639137253471.ts
#EXTINF:7.266,
1639137261289.ts
#EXTINF:5.134,
1639137268375.ts
#EXTINF:11.466,
1639137272343.ts
#EXTINF:7.800,
1639137283784.ts
#EXTINF:5.934,
1639137291436.ts
#EXTINF:5.133,
1639137298303.ts
#EXTINF:7.367,
1639137302184.ts
#EXTINF:7.733,
1639137309230.ts
#EXTINF:5.767,
1639137316374.ts
#EXTINF:7.733,
1639137323282.ts

but where are they??

Shaverdoff commented 2 years ago

ok i will get some videos...

172.29.134.9 - - [10/Dec/2021:14:10:03 +0100] "GET /live/STREAMING_KEY_480/index.m3u8 HTTP/1.0" 304 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:95.0) Gecko/20100101 Firefox/95.0"
172.29.134.9 - - [10/Dec/2021:14:10:03 +0100] "GET /live/STREAMING_KEY_480/1639141766634.ts HTTP/1.0" 200 958048 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:95.0) Gecko/20100101 Firefox/95.0"
gerasim@alt.altarix.ru@labs-stream:/opt/live-streaming-server$ docker exec -it 0ba bash
root@0ba6ba40ecc7:/# cd /live
root@0ba6ba40ecc7:/live# ls
STREAMING_KEY.m3u8  STREAMING_KEY_1080  STREAMING_KEY_480  STREAMING_KEY_720
root@0ba6ba40ecc7:/live# cd STREAMING_KEY_480/
root@0ba6ba40ecc7:/live/STREAMING_KEY_480# ls -lsa
total 24356
  4 drwxr--r-- 2 nobody nogroup    4096 Dec 10 14:10 .
  0 drwxrwxrwx 1 nobody root        108 Dec 10 14:10 ..
716 -rw-r--r-- 1 nobody nogroup  731320 Dec 10 14:07 1639141644723.ts
864 -rw-r--r-- 1 nobody nogroup  883976 Dec 10 14:07 1639141650455.ts
396 -rw-r--r-- 1 nobody nogroup  405140 Dec 10 14:07 1639141658202.ts

you know what is strange? any players cant view that...... running circle and all... may be is bad idea to proxy it...

Shaverdoff commented 2 years ago

as i see in external hls players video exists... and i hear my remarks of that %)) cool.. but no video.. Снимок экрана 2021-12-10 в 17 47 51 only that... i suspect that all dialog was hiden with video.... where in code is settigns, i need video also..

Shaverdoff commented 2 years ago

all question was canceled %) better quite lite and smart i have found is https://hlsbook.net/hls-nginx-rtmp-module/ point to him streaming url https://HOST/live/STREAMING_KEY.m3u8 and need to add it somewherete for example inside that docker you nginx hosted. i put it inside Dockerfile with COPY ./static/video.html /srv/www/html/video.html no i need something like one big blue button just start conference via api button with entered credentials.... btw... if any have that issues.. whresi records saved in bbb then i am push record button? api request say me that no any records... %(

Shaverdoff commented 2 years ago

oh damn.... MeetingID <> classrom! and records save only in classroom regardless Mettingid! how we may save records on classrom use that LiveStreaming via api?

mtsonline commented 2 years ago

I really do not have any idea, what you are doing / trying and what the problem is :-( really sorry. what do you need the hls module for? and what do you try with the recording?

cheers

Shaverdoff commented 2 years ago

do you remember that if you start conference dicrectly in bbb interface inside classroom, and push record button if you are moderator, you are be able to return to that recording via interface like this Снимок экрана 2021-12-11 в 10 56 44 and after use your brodcast service and able to records where i may find it? all records in direct usage save in classroom... and we you only meetingid

hls module needs to play videostream m3u8 - it was working already

mtsonline commented 2 years ago

I am really not catching your point. The recording does have nothing to do with the streaming. If you want to record, just configure it in BigBlueButton and you will see the recordings as usual. If you want to record with the lifeStreaming tool you will get a file on the streaming servers side that looks the same as the liveStream.

Shaverdoff commented 2 years ago

no! if you start "bbb-conference" with api (you project ) and push record button inside bbb-conference, you do not get it after stopping conference! coz any records save in classroom... and conference like api is dynamical.... question is not about records with livestream. this is solved already. question about api conference with save records... and get it after all. maybe is different topic and question not to you %)

Shaverdoff commented 2 years ago

or maybe you provide /explain how bbb configured with that case to save records of conference in any dinamical created api variants? %)

Shaverdoff commented 2 years ago

i forgot to say.. i use greenlight to authenticate users.... and in greenlight i see classroom and all records in classroom only maked via internal record service

mtsonline commented 2 years ago

In my understanding, if you create a meeting in greenlight and use this one for live streaming, record it, why won't you see the recording as usual? You are mixing up things. You do not use the api of BigBlueButton to create a meeting you just join via the api. This does not interfear at all with your normal recording behaviour. Just make sure you create and start the meeting as usual and afterwards start the liveStreaming - this makes sure you do not loose any control in greenlight. does that help you?

Shaverdoff commented 2 years ago

if i am greate metteimg via greenlight inside my classroom and push record button, yes video records appear in my classroom as usual, but where i can get mettingid to provide it to docker-compose if i use docker to start brodcast?

for example is bbb-record utilities... i am get internalid of running conferrence greenlight classrom at

and

root@bbb:~# bbb-record --list Internal MeetingID Time APVD APVDE RAS Slides Processed Published External MeetingID


07a2ef523c9c644563d4a13230e90f1f1a73eb6b-1639221626665 Sat Dec 11 15:20:26 +04 2021 X 15

but

root@bbb:~# bbb-record --toexternal 07a2ef523c9c644563d4a13230e90f1f1a73eb6b-1639221626665

External meeting id related to the given internal meeting id:


root@bbb:~# empty....

mtsonline commented 2 years ago

as I said before, please use the getmeeting tool in the examples folder. so first start your meeting with greenlight. after that use the getmeetings tool. you will see the correct meeting ID to use.

Shaverdoff commented 2 years ago

now the scramble may solved:)))

--

Gerasim Shaverdov | Deputy CTO | Altarix

Mobile: +7 937 070 66 84<tel:+7%20937%20070%2066%2084> | Skype/email: @.**@.> Lenina av.25, Samara, Russia, 443068

11 дек. 2021 г., в 15:27, mtsonline @.***> написал(а):



as I said before, please use the getmeeting tool in the examples folder. so first start your meeting with greenlight. after that use the getmeetings tool. you will see the correct meeting ID to use.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/aau-zid/BigBlueButton-liveStreaming/issues/143#issuecomment-991607455, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKOGQJXW2SXX3RV7ZIX35PTUQMYSVANCNFSM5JY3FMPQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Shaverdoff commented 2 years ago

tnx a lot!

mtsonline commented 2 years ago

you're welcome.