NeuralNine / vidstream

Streaming video data via networks
https://pypi.org/project/vidstream/
MIT License
267 stars 149 forks source link
opencv python sockets streaming video

vidstream

Under construction! Not ready for use yet! Currently experimenting and planning!

Developed by Florian Dedov from NeuralNine (c) 2020

Examples of How To Use (Buggy Alpha Version)

Creating A Server

from vidstream import StreamingServer

server = StreamingServer('127.0.0.1', 9999)
server.start_server()

# Other Code

# When You Are Done
server.stop_server()

Creating A Client

from vidstream import CameraClient
from vidstream import VideoClient
from vidstream import ScreenShareClient

# Choose One
client1 = CameraClient('127.0.0.1', 9999)
client2 = VideoClient('127.0.0.1', 9999, 'video.mp4')
client3 = ScreenShareClient('127.0.0.1', 9999)

client1.start_stream()
client2.start_stream()
client3.start_stream()

Check out: https://www.youtube.com/c/NeuralNine