用于创建调用的 bigbluebutton 的参考 API 文档。我的 API URL 是这样的:https://server_name/bigbluebutton/api/create?name=Sample&meetingID=B3XdYtdzdoV1&attendeePW=1234&moderatorPW=2345&checksum=d7b20f96f3616a69ae4a50eb1c0472428283c63a 仍然显示校验和错误。我真的不知道为什么我会遇到这个错误,因为根据我的说法,一切都是正确的
$defaults = array(
'name' => '',
'meetingID'=>'',//MeetingId
'attendeePW'=>'',//pass the attendee(student) password
'moderatorPW'=>'',//pass the moderator (instructor) password
'welcome'=>'',
'maxParticipants'=>'',
'record'=>false,
'duration'=>'', //(minutes)
'meta'=>'',//metavalue
'allowStartStopRecording'=>false,
'webcamsOnlyForModerator'=>'',//boolean
'logo'=>'',//url
'bannerText'=>'',
'bannerColor'=>'',
'copyright'=>'',
'meta_endCallbackUrl'=>site_url(), //redirect to this site
'meta_bn-recording-ready-url'=>'',
);
$args = array_merge($defaults, $args);
$salt = $this->get_salt();
$url = $this->get_server().'api/create?'.http_build_query($args); $checksum = sha1('create'.http_build_query($args).$salt);
$bbb_url = $url.'&checksum='.$checksum; $response = wp_remote_get($bbb_url);
当尝试 print_r($bbb_url); 它显示在 url 上方,并带有错误消息,请参阅: 链接!