diff --git a/openvidu-node-client/README.md b/openvidu-node-client/README.md index 25f1413d..6e0568a1 100644 --- a/openvidu-node-client/README.md +++ b/openvidu-node-client/README.md @@ -7,7 +7,7 @@ openvidu-node-client === -- **Description**: Library for your NODE server. It makes easier the retrieval of the necessary params from OpenVidu Server for securing your application (_sessionId_'s and _token_'s). It is a simple alternative to the REST API. +- **Description**: Library for your NODE server. It is a fully compatible and simple alternative to the REST API exposed by OpenVidu Server. - **Docs**: [openvidu-node-client API](http://openvidu.io/docs/reference-docs/openvidu-node-client/) diff --git a/openvidu-node-client/config/typedoc.js b/openvidu-node-client/config/typedoc.js index 8bd08744..1bd4fc4e 100644 --- a/openvidu-node-client/config/typedoc.js +++ b/openvidu-node-client/config/typedoc.js @@ -7,19 +7,15 @@ module.exports = { ], mode: "file", module: "commonjs", - name: "OpenVidu Browser", + name: "OpenVidu Node Client", target: "es5", externalPattern: "node_modules", - exclude: [ - "**/OpenViduInternal/Interfaces/Private/**", - "**/OpenViduInternal/WebRtcStats/WebRtcStats.ts", - "**/OpenViduInternal/VersionAdapter.ts" - ], excludeExternals: true, excludePrivate: true, theme: "default", plugin: [ "typedoc-plugin-sourcefile-url", ], - 'sourcefile-url-prefix': "https://github.com/OpenVidu/openvidu/tree/master/openvidu-browser/src/" + 'sourcefile-url-prefix': "https://github.com/OpenVidu/openvidu/tree/master/openvidu-node-client/src/", + readme: "none" } \ No newline at end of file diff --git a/openvidu-node-client/docs/assets/js/search.js b/openvidu-node-client/docs/assets/js/search.js index 366e76c4..6a042470 100644 --- a/openvidu-node-client/docs/assets/js/search.js +++ b/openvidu-node-client/docs/assets/js/search.js @@ -1,3 +1,3 @@ var typedoc = typedoc || {}; typedoc.search = typedoc.search || {}; - typedoc.search.data = {"kinds":{"4":"Enumeration","16":"Enumeration member","32":"Variable","128":"Class","256":"Interface","512":"Constructor","1024":"Property","2048":"Method"},"rows":[{"id":0,"kind":4,"name":"MediaMode","url":"enums/mediamode.html","classes":"tsd-kind-enum"},{"id":1,"kind":16,"name":"RELAYED","url":"enums/mediamode.html#relayed","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"MediaMode"},{"id":2,"kind":16,"name":"ROUTED","url":"enums/mediamode.html#routed","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"MediaMode"},{"id":3,"kind":4,"name":"OpenViduRole","url":"enums/openvidurole.html","classes":"tsd-kind-enum"},{"id":4,"kind":16,"name":"SUBSCRIBER","url":"enums/openvidurole.html#subscriber","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"OpenViduRole"},{"id":5,"kind":16,"name":"PUBLISHER","url":"enums/openvidurole.html#publisher","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"OpenViduRole"},{"id":6,"kind":16,"name":"MODERATOR","url":"enums/openvidurole.html#moderator","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"OpenViduRole"},{"id":7,"kind":4,"name":"RecordingLayout","url":"enums/recordinglayout.html","classes":"tsd-kind-enum"},{"id":8,"kind":16,"name":"BEST_FIT","url":"enums/recordinglayout.html#best_fit","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"RecordingLayout"},{"id":9,"kind":16,"name":"PICTURE_IN_PICTURE","url":"enums/recordinglayout.html#picture_in_picture","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"RecordingLayout"},{"id":10,"kind":16,"name":"VERTICAL_PRESENTATION","url":"enums/recordinglayout.html#vertical_presentation","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"RecordingLayout"},{"id":11,"kind":16,"name":"HORIZONTAL_PRESENTATION","url":"enums/recordinglayout.html#horizontal_presentation","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"RecordingLayout"},{"id":12,"kind":16,"name":"CUSTOM","url":"enums/recordinglayout.html#custom","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"RecordingLayout"},{"id":13,"kind":4,"name":"RecordingMode","url":"enums/recordingmode.html","classes":"tsd-kind-enum"},{"id":14,"kind":16,"name":"ALWAYS","url":"enums/recordingmode.html#always","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"RecordingMode"},{"id":15,"kind":16,"name":"MANUAL","url":"enums/recordingmode.html#manual","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"RecordingMode"},{"id":16,"kind":256,"name":"SessionProperties","url":"interfaces/sessionproperties.html","classes":"tsd-kind-interface"},{"id":17,"kind":1024,"name":"mediaMode","url":"interfaces/sessionproperties.html#mediamode","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"SessionProperties"},{"id":18,"kind":1024,"name":"recordingMode","url":"interfaces/sessionproperties.html#recordingmode","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"SessionProperties"},{"id":19,"kind":1024,"name":"defaultRecordingLayout","url":"interfaces/sessionproperties.html#defaultrecordinglayout","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"SessionProperties"},{"id":20,"kind":1024,"name":"defaultCustomLayout","url":"interfaces/sessionproperties.html#defaultcustomlayout","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"SessionProperties"},{"id":21,"kind":256,"name":"TokenOptions","url":"interfaces/tokenoptions.html","classes":"tsd-kind-interface"},{"id":22,"kind":1024,"name":"data","url":"interfaces/tokenoptions.html#data","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"TokenOptions"},{"id":23,"kind":1024,"name":"role","url":"interfaces/tokenoptions.html#role","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"TokenOptions"},{"id":24,"kind":128,"name":"Session","url":"classes/session.html","classes":"tsd-kind-class"},{"id":25,"kind":512,"name":"constructor","url":"classes/session.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"Session"},{"id":26,"kind":2048,"name":"getSessionId","url":"classes/session.html#getsessionid","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Session"},{"id":27,"kind":2048,"name":"generateToken","url":"classes/session.html#generatetoken","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Session"},{"id":28,"kind":2048,"name":"getProperties","url":"classes/session.html#getproperties","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Session"},{"id":29,"kind":32,"name":"Buffer","url":"globals.html#buffer","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":30,"kind":32,"name":"require","url":"globals.html#require","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":31,"kind":32,"name":"https","url":"globals.html#https","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":32,"kind":256,"name":"RecordingProperties","url":"interfaces/recordingproperties.html","classes":"tsd-kind-interface"},{"id":33,"kind":1024,"name":"name","url":"interfaces/recordingproperties.html#name","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"RecordingProperties"},{"id":34,"kind":1024,"name":"recordingLayout","url":"interfaces/recordingproperties.html#recordinglayout","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"RecordingProperties"},{"id":35,"kind":1024,"name":"customLayout","url":"interfaces/recordingproperties.html#customlayout","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"RecordingProperties"},{"id":36,"kind":128,"name":"Recording","url":"classes/recording.html","classes":"tsd-kind-class"},{"id":37,"kind":512,"name":"constructor","url":"classes/recording.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"Recording"},{"id":38,"kind":2048,"name":"getStatus","url":"classes/recording.html#getstatus","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Recording"},{"id":39,"kind":2048,"name":"getId","url":"classes/recording.html#getid","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Recording"},{"id":40,"kind":2048,"name":"getName","url":"classes/recording.html#getname","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Recording"},{"id":41,"kind":2048,"name":"getLayout","url":"classes/recording.html#getlayout","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Recording"},{"id":42,"kind":2048,"name":"getSessionId","url":"classes/recording.html#getsessionid","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Recording"},{"id":43,"kind":2048,"name":"getCreatedAt","url":"classes/recording.html#getcreatedat","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Recording"},{"id":44,"kind":2048,"name":"getSize","url":"classes/recording.html#getsize","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Recording"},{"id":45,"kind":2048,"name":"getDuration","url":"classes/recording.html#getduration","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Recording"},{"id":46,"kind":2048,"name":"getUrl","url":"classes/recording.html#geturl","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Recording"},{"id":47,"kind":2048,"name":"hasAudio","url":"classes/recording.html#hasaudio","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Recording"},{"id":48,"kind":2048,"name":"hasVideo","url":"classes/recording.html#hasvideo","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Recording"},{"id":49,"kind":4,"name":"Status","url":"enums/recording.status.html","classes":"tsd-kind-enum tsd-parent-kind-class tsd-is-static","parent":"Recording"},{"id":50,"kind":16,"name":"starting","url":"enums/recording.status.html#starting","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"Recording.Status"},{"id":51,"kind":16,"name":"started","url":"enums/recording.status.html#started","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"Recording.Status"},{"id":52,"kind":16,"name":"stopped","url":"enums/recording.status.html#stopped","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"Recording.Status"},{"id":53,"kind":16,"name":"available","url":"enums/recording.status.html#available","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"Recording.Status"},{"id":54,"kind":16,"name":"failed","url":"enums/recording.status.html#failed","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"Recording.Status"},{"id":55,"kind":128,"name":"OpenVidu","url":"classes/openvidu.html","classes":"tsd-kind-class"},{"id":56,"kind":512,"name":"constructor","url":"classes/openvidu.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"OpenVidu"},{"id":57,"kind":2048,"name":"createSession","url":"classes/openvidu.html#createsession","classes":"tsd-kind-method tsd-parent-kind-class","parent":"OpenVidu"},{"id":58,"kind":2048,"name":"startRecording","url":"classes/openvidu.html#startrecording","classes":"tsd-kind-method tsd-parent-kind-class","parent":"OpenVidu"},{"id":59,"kind":2048,"name":"stopRecording","url":"classes/openvidu.html#stoprecording","classes":"tsd-kind-method tsd-parent-kind-class","parent":"OpenVidu"},{"id":60,"kind":2048,"name":"getRecording","url":"classes/openvidu.html#getrecording","classes":"tsd-kind-method tsd-parent-kind-class","parent":"OpenVidu"},{"id":61,"kind":2048,"name":"listRecordings","url":"classes/openvidu.html#listrecordings","classes":"tsd-kind-method tsd-parent-kind-class","parent":"OpenVidu"},{"id":62,"kind":2048,"name":"deleteRecording","url":"classes/openvidu.html#deleterecording","classes":"tsd-kind-method tsd-parent-kind-class","parent":"OpenVidu"}]}; \ No newline at end of file + typedoc.search.data = {"kinds":{"4":"Enumeration","16":"Enumeration member","32":"Variable","128":"Class","256":"Interface","512":"Constructor","1024":"Property","2048":"Method"},"rows":[{"id":0,"kind":4,"name":"MediaMode","url":"enums/mediamode.html","classes":"tsd-kind-enum"},{"id":1,"kind":16,"name":"RELAYED","url":"enums/mediamode.html#relayed","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"MediaMode"},{"id":2,"kind":16,"name":"ROUTED","url":"enums/mediamode.html#routed","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"MediaMode"},{"id":3,"kind":4,"name":"OpenViduRole","url":"enums/openvidurole.html","classes":"tsd-kind-enum"},{"id":4,"kind":16,"name":"SUBSCRIBER","url":"enums/openvidurole.html#subscriber","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"OpenViduRole"},{"id":5,"kind":16,"name":"PUBLISHER","url":"enums/openvidurole.html#publisher","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"OpenViduRole"},{"id":6,"kind":16,"name":"MODERATOR","url":"enums/openvidurole.html#moderator","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"OpenViduRole"},{"id":7,"kind":4,"name":"RecordingLayout","url":"enums/recordinglayout.html","classes":"tsd-kind-enum"},{"id":8,"kind":16,"name":"BEST_FIT","url":"enums/recordinglayout.html#best_fit","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"RecordingLayout"},{"id":9,"kind":16,"name":"PICTURE_IN_PICTURE","url":"enums/recordinglayout.html#picture_in_picture","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"RecordingLayout"},{"id":10,"kind":16,"name":"VERTICAL_PRESENTATION","url":"enums/recordinglayout.html#vertical_presentation","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"RecordingLayout"},{"id":11,"kind":16,"name":"HORIZONTAL_PRESENTATION","url":"enums/recordinglayout.html#horizontal_presentation","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"RecordingLayout"},{"id":12,"kind":16,"name":"CUSTOM","url":"enums/recordinglayout.html#custom","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"RecordingLayout"},{"id":13,"kind":4,"name":"RecordingMode","url":"enums/recordingmode.html","classes":"tsd-kind-enum"},{"id":14,"kind":16,"name":"ALWAYS","url":"enums/recordingmode.html#always","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"RecordingMode"},{"id":15,"kind":16,"name":"MANUAL","url":"enums/recordingmode.html#manual","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"RecordingMode"},{"id":16,"kind":256,"name":"SessionProperties","url":"interfaces/sessionproperties.html","classes":"tsd-kind-interface"},{"id":17,"kind":1024,"name":"mediaMode","url":"interfaces/sessionproperties.html#mediamode","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"SessionProperties"},{"id":18,"kind":1024,"name":"recordingMode","url":"interfaces/sessionproperties.html#recordingmode","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"SessionProperties"},{"id":19,"kind":1024,"name":"defaultRecordingLayout","url":"interfaces/sessionproperties.html#defaultrecordinglayout","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"SessionProperties"},{"id":20,"kind":1024,"name":"defaultCustomLayout","url":"interfaces/sessionproperties.html#defaultcustomlayout","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"SessionProperties"},{"id":21,"kind":256,"name":"TokenOptions","url":"interfaces/tokenoptions.html","classes":"tsd-kind-interface"},{"id":22,"kind":1024,"name":"data","url":"interfaces/tokenoptions.html#data","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"TokenOptions"},{"id":23,"kind":1024,"name":"role","url":"interfaces/tokenoptions.html#role","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"TokenOptions"},{"id":24,"kind":128,"name":"Session","url":"classes/session.html","classes":"tsd-kind-class"},{"id":25,"kind":1024,"name":"sessionId","url":"classes/session.html#sessionid","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Session"},{"id":26,"kind":1024,"name":"properties","url":"classes/session.html#properties","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Session"},{"id":27,"kind":512,"name":"constructor","url":"classes/session.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"Session"},{"id":28,"kind":2048,"name":"getSessionId","url":"classes/session.html#getsessionid","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Session"},{"id":29,"kind":2048,"name":"generateToken","url":"classes/session.html#generatetoken","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Session"},{"id":30,"kind":32,"name":"Buffer","url":"index.html#buffer","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":31,"kind":32,"name":"require","url":"index.html#require","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":32,"kind":32,"name":"https","url":"index.html#https","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":33,"kind":128,"name":"Recording","url":"classes/recording.html","classes":"tsd-kind-class"},{"id":34,"kind":1024,"name":"id","url":"classes/recording.html#id","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Recording"},{"id":35,"kind":1024,"name":"sessionId","url":"classes/recording.html#sessionid","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Recording"},{"id":36,"kind":1024,"name":"createdAt","url":"classes/recording.html#createdat","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Recording"},{"id":37,"kind":1024,"name":"size","url":"classes/recording.html#size","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Recording"},{"id":38,"kind":1024,"name":"duration","url":"classes/recording.html#duration","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Recording"},{"id":39,"kind":1024,"name":"url","url":"classes/recording.html#url","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Recording"},{"id":40,"kind":1024,"name":"hasAudio","url":"classes/recording.html#hasaudio","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Recording"},{"id":41,"kind":1024,"name":"hasVideo","url":"classes/recording.html#hasvideo","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Recording"},{"id":42,"kind":1024,"name":"status","url":"classes/recording.html#status-1","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Recording"},{"id":43,"kind":1024,"name":"name","url":"classes/recording.html#name","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Recording"},{"id":44,"kind":1024,"name":"recordingLayout","url":"classes/recording.html#recordinglayout","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Recording"},{"id":45,"kind":512,"name":"constructor","url":"classes/recording.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"Recording"},{"id":46,"kind":4,"name":"Status","url":"enums/recording.status.html","classes":"tsd-kind-enum tsd-parent-kind-class tsd-is-static","parent":"Recording"},{"id":47,"kind":16,"name":"starting","url":"enums/recording.status.html#starting","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"Recording.Status"},{"id":48,"kind":16,"name":"started","url":"enums/recording.status.html#started","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"Recording.Status"},{"id":49,"kind":16,"name":"stopped","url":"enums/recording.status.html#stopped","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"Recording.Status"},{"id":50,"kind":16,"name":"available","url":"enums/recording.status.html#available","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"Recording.Status"},{"id":51,"kind":16,"name":"failed","url":"enums/recording.status.html#failed","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"Recording.Status"},{"id":52,"kind":256,"name":"RecordingProperties","url":"interfaces/recordingproperties.html","classes":"tsd-kind-interface"},{"id":53,"kind":1024,"name":"name","url":"interfaces/recordingproperties.html#name","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"RecordingProperties"},{"id":54,"kind":1024,"name":"recordingLayout","url":"interfaces/recordingproperties.html#recordinglayout","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"RecordingProperties"},{"id":55,"kind":1024,"name":"customLayout","url":"interfaces/recordingproperties.html#customlayout","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"RecordingProperties"},{"id":56,"kind":128,"name":"OpenVidu","url":"classes/openvidu.html","classes":"tsd-kind-class"},{"id":57,"kind":512,"name":"constructor","url":"classes/openvidu.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"OpenVidu"},{"id":58,"kind":2048,"name":"createSession","url":"classes/openvidu.html#createsession","classes":"tsd-kind-method tsd-parent-kind-class","parent":"OpenVidu"},{"id":59,"kind":2048,"name":"startRecording","url":"classes/openvidu.html#startrecording","classes":"tsd-kind-method tsd-parent-kind-class","parent":"OpenVidu"},{"id":60,"kind":2048,"name":"stopRecording","url":"classes/openvidu.html#stoprecording","classes":"tsd-kind-method tsd-parent-kind-class","parent":"OpenVidu"},{"id":61,"kind":2048,"name":"getRecording","url":"classes/openvidu.html#getrecording","classes":"tsd-kind-method tsd-parent-kind-class","parent":"OpenVidu"},{"id":62,"kind":2048,"name":"listRecordings","url":"classes/openvidu.html#listrecordings","classes":"tsd-kind-method tsd-parent-kind-class","parent":"OpenVidu"},{"id":63,"kind":2048,"name":"deleteRecording","url":"classes/openvidu.html#deleterecording","classes":"tsd-kind-method tsd-parent-kind-class","parent":"OpenVidu"}]}; \ No newline at end of file diff --git a/openvidu-node-client/docs/classes/openvidu.html b/openvidu-node-client/docs/classes/openvidu.html index 6f3eb8a7..a2d8e460 100644 --- a/openvidu-node-client/docs/classes/openvidu.html +++ b/openvidu-node-client/docs/classes/openvidu.html @@ -3,7 +3,7 @@
-Gets an existing Recording
+The id
property of the Recording you want to retrieve
A Promise that is resolved to the Recording if it successfully stopped and rejected with an Error object if not. This Error object has as message
property with the following values:
404
: no recording exists for the passed recordingId
Lists all existing recordings
+A Promise that is resolved to an array with all existing recordings
Starts the recording of a Session
+The sessionId
of the Session you want to start recording
A Promise that is resolved to the Recording if it successfully started and rejected with an Error object if not. This Error object has as message
property with the following values:
404
: no session exists for the passed sessionId
400
: the session has no connected participants409
: the session is not configured for using MediaMode.ROUTED or it is already being recordedStarts the recording of a Session
+The sessionId
of the Session you want to start recording
The name you want to give to the video file. You can access this same value in your clients on recording events (recordingStarted
, recordingStopped
)
A Promise that is resolved to the Recording if it successfully started and rejected with an Error object if not. This Error object has as message
property with the following values:
404
: no session exists for the passed sessionId
400
: the session has no connected participants409
: the session is not configured for using MediaMode.ROUTED or it is already being recordedStarts the recording of a Session
+The sessionId
of the Session you want to start recording
A Promise that is resolved to the Recording if it successfully started and rejected with an Error object if not. This Error object has as message
property with the following values:
404
: no session exists for the passed sessionId
400
: the session has no connected participants409
: the session is not configured for using MediaMode.ROUTED or it is already being recordedStops the recording of a Session
+The id
property of the Recording you want to stop
A Promise that is resolved to the Recording if it successfully stopped and rejected with an Error object if not. This Error object has as message
property with the following values:
404
: no recording exists for the passed recordingId
406
: recording has starting
status. Wait until started
status before stopping the recordingTime when the recording started in UTC milliseconds
+Duration of the recording in seconds (0 until the recording is stopped)
+true
if the recording has an audio track, false
otherwise (currently fixed to true)
true
if the recording has a video track, false
otherwise (currently fixed to true)
Recording unique identifier
+Name of the Recording. The video file will be named after this property
+The layout used in this Recording
+Session associated to the recording
+Size of the recording in bytes (0 until the recording is stopped)
+Status of the recording
+URL of the recording. You can access the file from there. It is null
until recording is stopped or if OpenVidu Server configuration property openvidu.recording.public-access
is false
Gets a new token associated to Session object. This translates into a new request to OpenVidu Server
+A Promise that is resolved to the token if success and rejected with an Error object if not (due to a 400 (Bad Request)
error in OpenVidu Server)
Gets the unique identifier of the Session. This translates into a new request to OpenVidu Server if this Session has no sessionId
yet
+ or simply returns the existing value if it has already been retrieved
A Promise that is resolved to the sessionId if success and rejected with an Error object if not (due to a 400 (Bad Request)
error in OpenVidu Server)
Generated using TypeDoc
-Description: Library for your NODE server. It makes easier the retrieval of the necessary params from OpenVidu Server for securing your application (sessionId's and token's). It is a simple alternative to the REST API.
-Docs: openvidu-node-client API
-Release: OpenVidu Artifacts
-