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

Can not send chat from BB live meeting to youtube #147

Closed DidierDrogbaa closed 2 years ago

DidierDrogbaa commented 2 years ago

Hello, First of all I would like to say thanks to the contributors of this repo.

I was successfully able to run both chat.py and stream.py without an issue but the only problem I am facing is when live streaming I was not able to post comments from youtube to BigBlueButton live or vice versa. can anyone please explain why it's happening. below is docker-compose.yml file for chat.py-

version: "3.3"
services:
  redis:
    image: redis
    networks:
     - app-tier
  bbb-streamer:
    image: 36306708c5b2
    shm_size: '2gb'
    environment:
        # BigBlueButton Server url:
      - BBB_URL=https://some_domain/bigbluebutton/api/
      # BigBlueButton secret:
      - BBB_SECRET=vOIxIbVyXS6xI4qiX94QO1kxoT42ITp58bJb3W1yDKI
      # BigBlueButton meetingID:
      - BBB_MEETING_ID=2ece330d-f2ee-4253-9650-b81ee6fb41cd
      # Media server url:
      - BBB_STREAM_URL=["rtmp://a.rtmp.youtube.com/live2/u8am-vr6f-9dj7-5gh7-6xrm"]
      # Enable chat functionality
      - BBB_ENABLE_CHAT=true
      # show chat in live stream
      - BBB_SHOW_CHAT=false
      # Message to post in BBB Chat when joining a conference
      - BBB_CHAT_MESSAGE=Viewers of the live stream can now send messages to this meeting
      # Set REDIS host (default: 'redis')
      - BBB_REDIS_HOST=redis
      # Set REDIS channel to subscribe (default: 'chat')
      - BBB_REDIS_CHANNEL=chat
      # Username for the chat (default: 'Chat')
      - BBB_CHAT_NAME=Chat
    networks:
      - app-tier
networks:
  app-tier:
    driver: bridge

getting this error when running php files- 127.0.0.1:49496 [500]: POST /sendChatMessage.php - syntax error, unexpected end of file in /home/dir/Desktop/BigBlueButton-liveStreaming-master/examples/sendChatMessage.php on line 8 Thanks :)

mtsonline commented 2 years ago

Hi, as you may have noticed in the meantime, this is not possible. You can interact with a chat form (php based) but not with the youtube chat. cheers