Added logs
This commit is contained in:
parent
d07df95652
commit
e07ffb3181
@ -20821,10 +20821,12 @@ const getLocalStream = () => {
|
||||
}
|
||||
|
||||
const goConnect = () => {
|
||||
console.log('[goConnect] device:', device);
|
||||
device === undefined ? getRtpCapabilities() : goCreateTransport()
|
||||
}
|
||||
|
||||
const goCreateTransport = () => {
|
||||
console.log('[goCreateTransport] IS_PRODUCER:', IS_PRODUCER);
|
||||
IS_PRODUCER ? createSendTransport() : createRecvTransport()
|
||||
}
|
||||
|
||||
|
@ -162,10 +162,12 @@ const getLocalStream = () => {
|
||||
}
|
||||
|
||||
const goConnect = () => {
|
||||
console.log('[goConnect] device:', device);
|
||||
device === undefined ? getRtpCapabilities() : goCreateTransport()
|
||||
}
|
||||
|
||||
const goCreateTransport = () => {
|
||||
console.log('[goCreateTransport] IS_PRODUCER:', IS_PRODUCER);
|
||||
IS_PRODUCER ? createSendTransport() : createRecvTransport()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user