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
Object {audio: Object, video: Object}
main.js:851
toggleScreenShare
Object {audio: Object, video: Object}
main.js:851
This appears to be Chrome publish.js:106
status 1 publish.js:47
status 3 publish.js:47
connected publish.js:39
doJoin w4z1b8718257b9 publish.js:260
getConstraints [“screen”] undefined undefined undefined publish.js:166
getUserMedia
Object {audio: false, video: Object}
publish.js:146
onUserMediaSuccess publish.js:151
mediaready.rayo publish.js:62
rayo colibri register set ok publish.js:516
- …
- …
MediaStreamEvent {stream: MediaStream, clipboardData: undefined, cancelBubble: false, returnValue: true, srcElement: RTCPeerConnection…}
false publish.js:395
- …
- …
- …
- …
rayoCallback publish.js:277handleOffer publish.js:291handleOffer track video publish.js:316onstream sendAnswer publish.js:414rayoCallback publish.js:277rayoCallback main.js:468rayoCallback main.js:468handleSSRC input ssrc main.js:534
MediaStreamEvent {stream: MediaStream, clipboardData: undefined, cancelBubble: false, returnValue: true, srcElement: RTCPeerConnection…}
true main.js:683
- …
- …
onstream handleAddSSRC modify ok have-remote-offer main.js:572rayoCallback publish.js:277rayoCallback publish.js:277
rayo 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 !!!