hyuk
Member
I would like to inquire about an issue that occasionally arises in my application.
In my code snippet:
Sometimes, when I call stream.getInfo() within the failure handler, I encounter a com.flashphoner.server.commons.filter.RemoteFilterException with the message "localhost:8081 failed to respond". This message appears to originate from within wcs server. I'm trying to understand under what circumstances this message is triggered. It doesn't seem to occur consistently. Could you provide some insight into this issue? Thank you.
In my code snippet:
Code:
room.publish({
display: localVideo,
cacheLocalResources: true,
constraints: constraints,
record: isRecord,
receiveVideo: false,
receiveAudio: false,
stripCodecs: strippedCodecs,
sdpHook: rewriteSdp
}).on(STREAM_STATUS.FAILED, function (stream) {
// Handle failure
console.log(stream.getInfo());
});