Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

Commit 6c5027d

Browse files
committed
Remove unused code in sample.
1 parent 2e958dd commit 6c5027d

File tree

1 file changed

+1
-8
lines changed
  • src/samples/conference/public/scripts

1 file changed

+1
-8
lines changed

src/samples/conference/public/scripts/quic.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,26 +31,19 @@ function updateConferenceStatus(message) {
3131

3232

3333
function joinConference() {
34-
const host = 'http://jianjunz-nuc-ubuntu.sh.intel.com:3001';
3534
return new Promise((resolve, reject) => {
3635
createToken(undefined, 'user', 'presenter', resp => {
3736
conference.join(resp).then(() => {
3837
updateConferenceStatus('Connected to conference server.');
3938
resolve();
4039
});
41-
}, host);
40+
});
4241
});
4342
};
4443

4544
function createQuicTransport() {
4645
quicChannel = conference.createQuicConnection();
4746
return;
48-
quicTransport = new QuicTransport(
49-
'quic-transport://jianjunz-nuc-ubuntu.sh.intel.com:7700/echo');
50-
quicTransport.onstatechange = () => {
51-
console.log('QuicTransport state changed.');
52-
};
53-
return quicTransport.ready;
5447
}
5548

5649
function createRandomContentSessionId() {

0 commit comments

Comments
 (0)