Author Topic: Peer 2 peer video streaming over internet  (Read 1789 times)

0 Members and 1 Guest are viewing this topic.

Offline veryevilTopic starter

  • Supporter
  • ****
  • Posts: 221
  • Country: gb
Peer 2 peer video streaming over internet
« on: April 15, 2020, 07:59:02 am »
Hi, I'm wondering if it's possible to get video streaming working between 2 computers without a server on the net in the middle handling the video. Happy for a server to do negotiation but don't what video going up to server and back down.

My thought is that firewalls on standard routers will not allow the incoming connection so I don't think it's possible. Hoping this is possible without any router config or ports opening.

Any suggestions I can go research?

Thanks
 

Online PA0PBZ

  • Super Contributor
  • ***
  • Posts: 5125
  • Country: nl
Re: Peer 2 peer video streaming over internet
« Reply #1 on: April 15, 2020, 09:02:04 am »
Microsoft Teams does that as long as there are only 2 participants. Both connect to the server first and then a connection is set up between the clients. When there are more than 2 participants the streams go to the server first and are distributed from there.
Keyboard error: Press F1 to continue.
 

Offline veryevilTopic starter

  • Supporter
  • ****
  • Posts: 221
  • Country: gb
Re: Peer 2 peer video streaming over internet
« Reply #2 on: April 15, 2020, 09:54:51 am »
Hi, I'm more interested in how to go about this not apps that do. Sorry I wasn't clear.

Want to put this into a custom application running on 2 Linux machines

Thanks
 

Online PA0PBZ

  • Super Contributor
  • ***
  • Posts: 5125
  • Country: nl
Re: Peer 2 peer video streaming over internet
« Reply #3 on: April 15, 2020, 11:56:34 am »
Yes, I got the idea that you were not looking for an App, but I wanted to point out that it is indeed possible. However, if you don't want to use an external server for the initial contact you might have to open some ports in the firewall.
Keyboard error: Press F1 to continue.
 

Offline veryevilTopic starter

  • Supporter
  • ****
  • Posts: 221
  • Country: gb
Re: Peer 2 peer video streaming over internet
« Reply #4 on: April 15, 2020, 03:45:19 pm »
NATTT doesn't come up with anything relevant that I can see?
 

Offline RenThraysk

  • Regular Contributor
  • *
  • Posts: 106
  • Country: gb
Re: Peer 2 peer video streaming over internet
« Reply #5 on: May 14, 2020, 02:06:14 pm »
WebRTC is the tech for this, https://webrtc.org/ built into the major browsers.

Open source example of this is https://obs.ninja/

https://github.com/steveseguin/obsninja
« Last Edit: May 14, 2020, 02:42:44 pm by RenThraysk »
 

Offline Lord of nothing

  • Super Contributor
  • ***
  • Posts: 1581
  • Country: at
Re: Peer 2 peer video streaming over internet
« Reply #6 on: May 14, 2020, 11:36:41 pm »
VLC I guess?
Depend what you want to do?
Made in Japan, destroyed in Sulz im Wienerwald.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf