forked from External/greenlight
* Remove ability to specify flash client * Always join via html5 * Fix styling and tests
This commit is contained in:
committed by
Jesus Federico
parent
4e31366012
commit
0934919e44
@ -96,10 +96,11 @@ describe Room, type: :model do
|
||||
endpoint = Rails.configuration.bigbluebutton_endpoint
|
||||
secret = Rails.configuration.bigbluebutton_secret
|
||||
fullname = "fullName=Example"
|
||||
join_via_html5 = "&join_via_html5=true"
|
||||
meeting_id = "&meetingID=#{@room.bbb_id}"
|
||||
password = "&password=testpass"
|
||||
|
||||
query = fullname + meeting_id + password
|
||||
query = fullname + join_via_html5 + meeting_id + password
|
||||
checksum_string = "join#{query + secret}"
|
||||
|
||||
checksum = OpenSSL::Digest.digest('sha1', checksum_string).unpack1("H*")
|
||||
|
Reference in New Issue
Block a user