0

I was following THIS tutorial in order to implement video calling using WebRTC. The example allows people of the same group to communicate using video or audio and it works well. I was wondering if you could Video call people who are on different pages of the same website without having to be on the specific 'video call page' only?

What is the way to allow incoming calls even when you are not joined in a group? I believe it must be a group request (Sending a request to join from Person A to Person B). Is this possible using WebRTC?

Jay
  • 4,873
  • 7
  • 72
  • 137
  • You basically want video calling to work on all pages of a website? – Obscure Geek Jul 04 '15 at 16:37
  • @ObscureGeek yes! Let's say I call from the Video call page but the users on the home page should receive the call as well – Jay Jul 04 '15 at 17:25
  • You don't have to be necessarily be on the video calling page only to receive offers. As long as you are connected to the signalling server you can get the offer message on any page. I believe the code is already written by you all you need to do is identify which portion to migrate to other pages. – Obscure Geek Jul 04 '15 at 20:05
  • @ObscureGeek would happen to have an example code maybe? This sounds great :) – Jay Jul 05 '15 at 05:27

1 Answers1

0

WebRtc is not based on "who is connected to what page".

The connections only happen through your signalling server logic. This means that any webrtc peerconnection can connect to anyother peerconnection as long as your signalling server relays the connection startup logic(SDPs and Ice candidates).

The webpage is only a way to display the media that you have, the javascript you wrote will run on any page you want.

Benjamin Trent
  • 7,378
  • 3
  • 31
  • 41