Unverified Commit dbd32df9 authored by Alex's avatar Alex Committed by GitHub
Browse files

Update stream.py fix bug 2

parent 43402fa0
......@@ -39,7 +39,7 @@ parser.add_argument("-T","--meetingTitle", help="meeting title (required to crea
parser.add_argument("-u","--user", help="Name to join the meeting",default="Live")
parser.add_argument("-t","--target", help="RTMP Streaming URL")
parser.add_argument("--chatUrl", help="Streaming URL to display in the chat", default=False)
parser.add_argument("--chatMsg", help="Message to display in the chat before Streaming URL", default=False)
parser.add_argument("--chatMsg", nargs='+', help="Message to display in the chat before Streaming URL", default=False)
parser.add_argument("-c","--chat", help="Show the chat",action="store_true")
parser.add_argument("-r","--resolution", help="Resolution as WxH", default='1920x1080')
parser.add_argument('--ffmpeg-stream-threads', help='Threads to use for ffmpeg streaming', type=int,
......@@ -150,8 +150,8 @@ def bbb_browser():
tmp_chatUrl = args.chatUrl
tmp_chatMsg = "This meeting is streamed to"
if args.chatMsg
tmp_chatMsg = args.chatMsg
element.send_keys("%s : %s" % tmp_chatMsg, tmp_chatUrl)
tmp_chatMsg = ' '.join(args.chatMsg).strip('"')
element.send_keys("{0}: {1}".format(tmp_chatMsg, tmp_chatUrl))
chat_send.click()
if args.chat:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment