@@ -70,7 +70,7 @@ export default class E2EEcontext {
7070 *
7171 * @param {string } participantId - The participant that just left.
7272 */
73- cleanup ( participantId : string ) : void {
73+ public cleanup ( participantId : string ) : void {
7474 this . _worker . postMessage ( {
7575 operation : 'cleanup' ,
7676 participantId
@@ -81,7 +81,7 @@ export default class E2EEcontext {
8181 * Cleans up all state associated with all participants in the conference. This is needed when disabling e2ee.
8282 *
8383 */
84- cleanupAll ( ) : void {
84+ public cleanupAll ( ) : void {
8585 this . _worker . postMessage ( {
8686 operation : 'cleanupAll'
8787 } ) ;
@@ -95,7 +95,7 @@ export default class E2EEcontext {
9595 * @param {string } kind - The kind of track this receiver belongs to.
9696 * @param {string } participantId - The participant id that this receiver belongs to.
9797 */
98- handleReceiver ( receiver : RTCRtpReceiver , kind : string , participantId : string ) : void {
98+ public handleReceiver ( receiver : RTCRtpReceiver , kind : string , participantId : string ) : void {
9999 if ( receiver [ kJitsiE2EE ] ) {
100100 return ;
101101 }
@@ -128,7 +128,7 @@ export default class E2EEcontext {
128128 * @param {string } kind - The kind of track this sender belongs to.
129129 * @param {string } participantId - The participant id that this sender belongs to.
130130 */
131- handleSender ( sender : RTCRtpSender , kind : string , participantId : string ) : void {
131+ public handleSender ( sender : RTCRtpSender , kind : string , participantId : string ) : void {
132132 if ( sender [ kJitsiE2EE ] ) {
133133 return ;
134134 }
@@ -158,7 +158,7 @@ export default class E2EEcontext {
158158 *
159159 * @param {boolean } enabled - whether E2EE is enabled or not.
160160 */
161- setEnabled ( enabled : boolean ) : void {
161+ public setEnabled ( enabled : boolean ) : void {
162162 this . _worker . postMessage ( {
163163 enabled,
164164 operation : 'setEnabled'
@@ -172,7 +172,7 @@ export default class E2EEcontext {
172172 * @param {Uint8Array | boolean } key - they key for the given participant.
173173 * @param {Number } keyIndex - the key index.
174174 */
175- setKey ( participantId : string , key : Uint8Array | boolean , keyIndex : number ) : void {
175+ public setKey ( participantId : string , key : Uint8Array | boolean , keyIndex : number ) : void {
176176 this . _worker . postMessage ( {
177177 key,
178178 keyIndex,
0 commit comments