|
@@ -13,7 +13,10 @@ import {
|
13
|
13
|
REMOTE_CONTROL_MESSAGE_NAME,
|
14
|
14
|
REQUESTS
|
15
|
15
|
} from '../../service/remotecontrol/Constants';
|
16
|
|
-import { getJitsiMeetTransport } from '../transport';
|
|
16
|
+import {
|
|
17
|
+ Transport,
|
|
18
|
+ PostMessageTransportBackend
|
|
19
|
+ } from '../transport';
|
17
|
20
|
|
18
|
21
|
import RemoteControlParticipant from './RemoteControlParticipant';
|
19
|
22
|
|
|
@@ -30,7 +33,11 @@ const logger = getLogger(__filename);
|
30
|
33
|
*
|
31
|
34
|
* @type {Transport}
|
32
|
35
|
*/
|
33
|
|
-const transport = getJitsiMeetTransport();
|
|
36
|
+const transport = new Transport({
|
|
37
|
+ backend: new PostMessageTransportBackend({
|
|
38
|
+ postisOptions: { scope: 'jitsi-remote-control' }
|
|
39
|
+ })
|
|
40
|
+});
|
34
|
41
|
|
35
|
42
|
/**
|
36
|
43
|
* This class represents the receiver party for a remote controller session.
|