parse-params #9

Closed
sergiu wants to merge 13 commits from parse-params into master
Showing only changes of commit c9ee906fc7 - Show all commits

2
app.js
View File

@ -242,7 +242,7 @@ peers.on('connection', async socket => {
console.log('appData typeof', typeof appData); console.log('appData typeof', typeof appData);
console.log('appData', appData); console.log('appData', appData);
if (typeof kind === 'string') kind = JSON.parse(kind); // if (typeof kind === 'string') kind = JSON.parse(kind);
if (typeof rtpParameters === 'string') rtpParameters = JSON.parse(rtpParameters); if (typeof rtpParameters === 'string') rtpParameters = JSON.parse(rtpParameters);
console.log('[transport-produce] | socket.id', socket.id, '| callId', callId); console.log('[transport-produce] | socket.id', socket.id, '| callId', callId);