Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

WebRTC [$250]

Open rodrigok opened this issue 11 years ago • 35 comments

  • [x] Direct call
  • [x] Group call
  • [x] Show all remote videos
  • [x] Close connections on remote close
  • [x] Fix mute in Firefox
  • [x] Allow select the main video
  • [x] Join an existent call
  • [x] Option active/deative camera
  • [x] Option to mute
  • [x] Audio call
  • [x] Join calls with audio only
  • [x] Show more information about the call before accept
  • [x] Redirect to correct room on accept
  • [x] Auto accept call
  • [x] Call as monitor (without local video and audio, only in direct rooms)
  • [x] Overlay
  • [x] Screen sharing
  • [x] Option to disable in general settings
  • [ ] Allow to respond video calls with only audio
  • [ ] Option to disable for room
  • [ ] Button to enable auto accept calls

Start video or audio calls in direct or group rooms

captura de tela 2015-10-03 as 15 12 21

Join calls in progress

captura de tela 2015-10-03 as 15 14 00

Accept or reject audio calls

captura de tela 2015-10-03 as 15 13 47

Accept or reject video calls

captura de tela 2015-10-03 as 15 12 56

Accept or reject monitoring calls

captura de tela 2015-10-01 as 14 56 27

See all videos and click to show one bigger

captura de tela 2015-10-03 as 15 15 14

Share your screen

captura de tela 2015-10-03 as 15 15 47

Expand the UI

captura de tela 2015-10-03 as 15 16 06 captura de tela 2015-10-03 as 15 16 01

There is a $250 open bounty on this issue. Add to the bounty at Bountysource.

rodrigok avatar Sep 29 '15 18:09 rodrigok

Hi there, I'm keen to test these new features. I've git pulled your branch "webrtc" and built it however I cannot find anything new. I am using the same database would this have caused this?

cybercorey avatar Oct 02 '15 02:10 cybercorey

no ... create a private group of a few users

Sing-Li avatar Oct 02 '15 02:10 Sing-Li

I must be blind, I cannot find the option to start a video call inside a private group.

cybercorey avatar Oct 02 '15 02:10 cybercorey

click on the right panel ... and click join

Sing-Li avatar Oct 02 '15 03:10 Sing-Li

Ahh worked it out, i had the new copy running with a different folder name! Cheers for your Help

cybercorey avatar Oct 02 '15 03:10 cybercorey

let us know if you can get 3 or more parties going ... on my LAN, I'm having some problems with the current code :smile:

Sing-Li avatar Oct 02 '15 03:10 Sing-Li

Will do! getting 4 on now!

cybercorey avatar Oct 02 '15 03:10 cybercorey

cool. r u on a lan? any browser running on the same machine as the server?

Sing-Li avatar Oct 02 '15 03:10 Sing-Li

All over wireless, all using Chrome server is running in a VM on my machine. Started lagging once the 3rd person joined

cybercorey avatar Oct 02 '15 03:10 cybercorey

yes ... it would lag ... it is a mesh network where everyone connects to everyone else. But in your case, every machine is on the same 192.168.x.x subnet?

Sing-Li avatar Oct 02 '15 03:10 Sing-Li

Got 4 of us on currently all working pretty smooth, yes all on the same ip range

cybercorey avatar Oct 02 '15 03:10 cybercorey

cool. thanks for helping to test!

Sing-Li avatar Oct 02 '15 03:10 Sing-Li

No worries, one of us left now we are unable to click on one of our streams (keeps showing someone elses)

cybercorey avatar Oct 02 '15 03:10 cybercorey

Another note: Getting some interesting results leaving and joining again. Prompts people to join the chat while they are in the chat. Also I (A) can now see B while B can see A and C and C can see only A (seems like it was unable to obtain connections to existing group members or something haha.

cybercorey avatar Oct 02 '15 03:10 cybercorey

can you please confirm that all four users have different IPs, and that the server also has different IP than all the users?

Sing-Li avatar Oct 02 '15 03:10 Sing-Li

Yup, all IP address's were different

cybercorey avatar Oct 02 '15 08:10 cybercorey

@cybercorey we did some improvements in connectivity, can you test again?

rodrigok avatar Oct 03 '15 18:10 rodrigok

So it seems like we have a problem when one of the browser has the same IP address as the server. When all the rest of the group all have different IP addresses. I'll test that again to make sure.

Sing-Li avatar Oct 04 '15 01:10 Sing-Li

Latest code, test results. On LAN:

server IP: 192.168.38.102 client 1 IP: 192.168.38.102 client 2 IP: 192.168.38.110 client 3 IP: 192.168.38.111

client 1 uses http://localhost:3000/ to access sever client 2 and client 3 uses http://192.168.38.102:3000/ to access server

client 1 gets "START" button in general, sees own video client 2 gets "START" button in general (not "JOIN") ... sees own video... see very intermitten 'connecting' from client 1 client 3 gets "START" button in general (not "JOIN") ... sees own video ... sees nothing else

Retrying sometimes get "Group Join Room" popup on client 2 - NEVER on client 1.

No error on Client 1 console. On Client 2 and Client 3 console - see this (almost exact on both):

(server is started via standard 'meteor' dev command ...note the avatar load failure ...trying to do localhost load on client 2 and client 3 .... do we need to set ROOT_URL on dev config? would it matter for webrtc sessions?)

screenerr

Sing-Li avatar Oct 04 '15 21:10 Sing-Li

@Sing-Li why all clients gets "START" and not only client 1?

rodrigok avatar Oct 05 '15 12:10 rodrigok