File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/content/datachannel/messaging Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -50,15 +50,15 @@ class MessagingSample extends LitElement {
5050
5151 this . _remoteConnection . addEventListener ( 'datachannel' , e => this . _onRemoteDataChannel ( e ) ) ;
5252
53- const initLocalOffer = async ( ) => {
53+ const initLocalOffer = async ( ) => {
5454 const localOffer = await this . _localConnection . createOffer ( ) ;
5555 console . log ( `Got local offer ${ JSON . stringify ( localOffer ) } ` ) ;
5656 const localDesc = this . _localConnection . setLocalDescription ( localOffer ) ;
5757 const remoteDesc = this . _remoteConnection . setRemoteDescription ( localOffer ) ;
5858 return Promise . all ( [ localDesc , remoteDesc ] ) ;
5959 } ;
6060
61- const initRemoteAnswer = async ( ) => {
61+ const initRemoteAnswer = async ( ) => {
6262 const remoteAnswer = await this . _remoteConnection . createAnswer ( ) ;
6363 console . log ( `Got remote answer ${ JSON . stringify ( remoteAnswer ) } ` ) ;
6464 const localDesc = this . _remoteConnection . setLocalDescription ( remoteAnswer ) ;
You can’t perform that action at this time.
0 commit comments