Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify path of session and recording. #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/OpenVidu.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ class OpenVidu
{
protected const HTTP_USERNAME = "OPENVIDUAPP";

const SESSIONS_URL = "api/sessions";
const SESSIONS_URL = "openvidu/api/sessions";
const TOKENS_URL = "api/tokens";
const RECORDINGS_URL = "api/recordings";
const RECORDINGS_START_URL = "api/recordings/start";
const RECORDINGS_STOP_URL = "api/recordings/stop";
const RECORDINGS_URL = "openvidu/api/recordings";
const RECORDINGS_START_URL = "openvidu/api/recordings/start";
const RECORDINGS_STOP_URL = "openvidu/api/recordings/stop";

/** @var string */
protected $urlOpenViduServer;
Expand Down
2 changes: 1 addition & 1 deletion src/Session/Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
class Session
{
private const TOKEN_URL = "api/tokens";
private const SESSION_URL = "api/sessions";
private const SESSION_URL = "openvidu/api/sessions";

/** @var RestClient */
private $restClient;
Expand Down