We have an enterprise server setup on our network.
Using the peer.html app served up by the server, I can establish peer to peer connections between two devices in a browser, and it works great.
However, if I open a websocket to wss://host:5443/WebRTCAppEE/websocket and attempt to send it signaling data, I always receive a response of...
{\"definition\":\"not_initialized_yet\",\"command\":\"error\"}
It doesn't seem to matter what data I send, which makes sense if something is not initialized. But one example would be.
{
command : "join",
streamId : "streamxyz"
}
I have attempted this from a websocket tool, the Ant Flutter WebRTC SDK app, and my own Flutter WebRTC app and always get the same result.
Is there some initialization protocol that I need to send on the websocket before sending a 'publish' or a 'join'? Could this be a server setup issue? I feel like I'm missing something obvious.
Thx
Scott