Nice job !
Thank you very much ! it is a very good solution !
I tried screen sharing by clicking on button, chrome ask me to share, I accept, but I can't see my desktop, I have a black screen and no errors in javascript console. But when I try to connect with ip address and &screen=true, I can see my desktop but no video of my cam.
Here the log :
rayo colibri answer set ok stable publish.js:502
toggleScreenShare
toggleScreenShare
This appears to be Chrome publish.js:106
status 1publish.js:47
status 3publish.js:47
connected publish.js:39
doJoin w4z1b8718257b9 publish.js:260
getConstraints ["screen"]undefinedundefinedundefinedpublish.js:166
getUserMedia
onUserMediaSuccess publish.js:151
mediaready.rayo publish.js:62
rayo colibri register set ok publish.js:516
rayoCallback - <presence xmlns="jabber:client"from="jitsi.videobridge.w4z1b8718257b9@openfire.devagipi.local/jitsi.videobridge.w4z1b8718257b9"to="a54b8d77@openfire.devagipi.local/a54b8d77">…</presence>
publish.js:277handleOffer - <offer xmlns="urn:xmpp:rayo:colibri:1"muc="w4z1b8718257b9@conference.openfire.devagipi.local"videobridge="w4z1b8718257b9"nickname="a54b8d77(Desktop)"participant="a54b8d77@openfire.devagipi.local/a54b8d77">…</offer>
publish.js:291handleOffer track video publish.js:316onstream
sendAnswer publish.js:414rayoCallback - <presence xmlns="jabber:client"from="jitsi.videobridge.w4z1b8718257b9@openfire.devagipi.local/jitsi.videobridge.w4z1b8718257b9"to="a54b8d77@openfire.devagipi.local/a54b8d77">…</presence>
publish.js:277rayoCallback - <presence xmlns="jabber:client"from="jitsi.videobridge.w4z1b8718257b9@openfire.devagipi.local/jitsi.videobridge.w4z1b8718257b9"to="20d43424@openfire.devagipi.local/20d43424">…</presence>
main.js:468rayoCallback - <presence xmlns="jabber:client"from="jitsi.videobridge.w4z1b8718257b9@openfire.devagipi.local/jitsi.videobridge.w4z1b8718257b9"to="20d43424@openfire.devagipi.local/20d43424">…</presence>
main.js:468handleSSRC input ssrc <addsourcexmlns="urn:xmpp:rayo:colibri:1"muc="w4z1b8718257b9@conference.openfire.devagipi.local"videobridge="w4z1b8718257b9"nickname="a54b8d77(Desktop)"participant="a54b8d77@openfire.devagipi.local/a54b8d77">…</addsource>
main.js:534
onstream
handleAddSSRC modify ok have-remote-offer main.js:572rayoCallback - <presence xmlns="jabber:client"from="jitsi.videobridge.w4z1b8718257b9@openfire.devagipi.local/jitsi.videobridge.w4z1b8718257b9"to="a54b8d77@openfire.devagipi.local/a54b8d77">…</presence>
publish.js:277rayoCallback - <presence xmlns="jabber:client"from="jitsi.videobridge.w4z1b8718257b9@openfire.devagipi.local/jitsi.videobridge.w4z1b8718257b9"to="a54b8d77@openfire.devagipi.local/a54b8d77">…</presence>
publish.js:277rayo colibri answer set ok stable publish.js:502
I will suggest you some addings in the comming days !
Example :
- connecting from outside and inside network : it is never the same url, if it can be done it will be good.
- Authentication
- Filtering IP addresses or subnets that can create rooms or just connect to a room (Without authentication, user can only enter to a secure room , with authentication he can create room and enter to a room. Screensharing possible for all users or not).
It will be cool to get a web panel on openfire to control that.
Great job man !!!!