diff --git a/samples/js/apprtc/html/android_channel.html b/samples/js/apprtc/html/android_channel.html new file mode 100644 index 0000000000..6961e9c362 --- /dev/null +++ b/samples/js/apprtc/html/android_channel.html @@ -0,0 +1,54 @@ + +
+ + + + + + + diff --git a/samples/js/apprtc/index.html b/samples/js/apprtc/index.html index f3e68a7832..10a93d9515 100644 --- a/samples/js/apprtc/index.html +++ b/samples/js/apprtc/index.html @@ -130,6 +130,8 @@ miniVideo = document.getElementById("miniVideo"); remoteVideo = document.getElementById("remoteVideo"); resetStatus(); + // NOTE: AppRTCClient.java searches & parses this line; update there when + // changing here. openChannel('{{ token }}'); doGetUserMedia(); } @@ -250,6 +252,8 @@ function sendMessage(message) { var msgString = JSON.stringify(message); console.log('C->S: ' + msgString); + // NOTE: AppRTCClient.java searches & parses this line; update there when + // changing here. path = '/message?r={{ room_key }}' + '&u={{ me }}'; var xhr = new XMLHttpRequest(); xhr.open('POST', path, true);