Skip to content

Commit

Permalink
feat(chat-message): allow for custom message definition
Browse files Browse the repository at this point in the history
  • Loading branch information
faust64 committed May 21, 2021
1 parent 2d6749d commit 16af111
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ You need to set some environment variables to run the container.
* BBB_USER_NAME - the username to join the meeting. (Default: Live)
* BBB_SHOW_CHAT - shows the chat on the left side of the window (Default: false)
* BBB_RESOLUTION - the streamed/downloaded resolution (Default: 1920x1080)
* BBB_CHAT_MESSAGE - prefix for the message that would be posted to BBB chat, while joining a conference (Default: "This meeting is streamed to")
* TZ - Timezone (Default: Europe/Vienna)

#### Chat settings
Expand Down
2 changes: 1 addition & 1 deletion stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def bbb_browser():
tmp_chatUrl = args.target.partition('//')[2].partition('/')[0]
if args.chatUrl:
tmp_chatUrl = args.chatUrl
tmp_chatMsg = "This meeting is streamed to"
tmp_chatMsg = os.environ.get('BBB_CHAT_MESSAGE', "This meeting is streamed to")
if args.chatMsg:
tmp_chatMsg = ' '.join(args.chatMsg).strip('"')
element.send_keys("{0}: {1}".format(tmp_chatMsg, tmp_chatUrl))
Expand Down

0 comments on commit 16af111

Please sign in to comment.