Skip to content

DistributedSky/video_stream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DroneEmployee video streaming support

The aim of this is a spawn streamer (the executable that stream video) according to smart contract logic. The code works with Streaming.sol.

For deploying smart contracts you can use Aira deploy script

The streamer is any bynary with two args:

  • video device (e.g. /dev/video0)
  • stream identifier (256bit hex, e.g. 4f66e...)

Sample video streamer: bin/streamer_example.py

Usage

$ ./bin/streamd.sh              
Usage: /usr/bin/node ./scripts/streamd.js -c [CONTRACT_ADDRESS] -e [STREAMING_BINARY]

Options:
    --rpc  Web3 RPC provider                        [default: "http://localhost:8545"]
    -d     Video device to streaming                [default: "/dev/video0"]
    -c     Streaming contract address               [required]
    -e     Shell command to start streaming daemon  [required]

Usage example on Youtube

DroneEmployee video streaming Usage example on Youtube

About

DroneEmployee video streaming support

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •