Closed mccarlosen closed 4 years ago
Excuse me, I already saw the duplicate #22
Hello again,
I have created a room with option 'sfu_mode' => 'disabled'
and I am testing the layers, but nothing happens. I am using laravel 7.
$eyeson = new Eyeson($apiKey);
$room = $eyeson->join($userName, $roomName, [
'sfu_mode' => 'disabled'
]);
//.....
Http::post('https://api.eyeson.team/rooms/:access-token/layers', [
'url' => 'https://eyeson-team.github.io/api/images/eyeson-overlay.png',
'z-index' => 2,
'layout' => 'fixed'
]);
Lastly, I have tried with eyeson-js
onEvent({
type: 'set_layer',
params: {
url: 'https://eyeson-team.github.io/api/images/eyeson-overlay.png',
'z-index': '2',
layout: 'fixed'
}
})
I have created another user for the test, so that they are 2 and nothing. What am I doing wrong?
Hi there, please replace the :access-token
in your URL with a valid access key, it's meant as a placeholder and otherwise there is no auth given. In your PHP example it's something like Http::post('https://api.eyeson.team/rooms/' + $room->getAccessKey() + '/layers', // ...
. Best wishes!
I have created a room and I am testing the layers, but nothing happens. I am using laravel 7.
Lastly, I have tried with eyeson-js