Skip to content

Commit 4f64676

Browse files
1 parent 77fb609 commit 4f64676

File tree

1 file changed

+3
-3
lines changed
  • docs/Remote-Mediasoup-client-mock

1 file changed

+3
-3
lines changed

docs/Remote-Mediasoup-client-mock/API.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ payload with its internal state has been received and sync'ed, and so the
3434

3535
* [RemoteMediasoupClientMock](#RemoteMediasoupClientMock) ⇐ <code>EventEmitter</code>
3636
* [.module.exports](#RemoteMediasoupClientMock.module.exports)
37-
* [new module.exports([url], [WebSocket])](#new_RemoteMediasoupClientMock.module.exports_new)
37+
* [new module.exports([url], [options])](#new_RemoteMediasoupClientMock.module.exports_new)
3838
* [.mediasoup](#RemoteMediasoupClientMock.mediasoup)
3939
* [.readyState](#RemoteMediasoupClientMock.readyState)
4040
* [.close()](#RemoteMediasoupClientMock.close)
@@ -49,12 +49,12 @@ payload with its internal state has been received and sync&#39;ed, and so the
4949
**Author**: Jesús Leganés-Combarro 'piranna' <[email protected]>
5050
<a name="new_RemoteMediasoupClientMock.module.exports_new"></a>
5151

52-
#### new module.exports([url], [WebSocket])
52+
#### new module.exports([url], [options])
5353

5454
| Param | Type | Description |
5555
| --- | --- | --- |
5656
| [url] | <code>string</code> \| <code>object</code> | URL of the [Remote Mediasoup server](https://mafalda.io/Remote-Mediasoup-server/). If it's not provided, the [RemoteMediasoupClientMock](#RemoteMediasoupClientMock) object will remain in closed state. |
57-
| [WebSocket] | <code>object</code> | WebSocket class to be used to create the connections with the [Remote Mediasoup server](https://mafalda.io/Remote-Mediasoup-server/) |
57+
| [options] | <code>object</code> | Options for the connection |
5858

5959
<a name="RemoteMediasoupClientMock.mediasoup"></a>
6060

0 commit comments

Comments
 (0)