Table of Contents

live

<html> <p><a href=“https://www.haivision.com/products/srthub/?utm_medium=CTA&amp;utm_term=SRTHub&amp;utm_content=Sep%2B4&amp;utm_campaign=Blog&amp;wvideo=g6wyi820rt”><img src=“https://embed-fastly.wistia.com/deliveries/2503e91f43c10e1b427c51faf01e0f80.jpg?image_play_button_size=2x&amp;image_crop_resized=960x540&amp;image_play_button=1&amp;image_play_button_color=0072cee0” width=“400” height=“225” style=“width: 400px; height: 225px;”></a></p><p><a href=“https://www.haivision.com/products/srthub/?utm_medium=CTA&amp;utm_term=SRTHub&amp;utm_content=Sep%2B4&amp;utm_campaign=Blog&amp;wvideo=g6wyi820rt”>SRT Hub Cloud Based Media Routing | Haivision</a></p> </html>

List_of_streaming_media_systems

HLS

gstreamer/video.js

the easiest stream i got was using hlssink

  gst-launch-1.0 videotestsrc is-live=true ! x264enc ! mpegtsmux \
  ! hlssink playlist-root=https://your-site.org \
  location=/srv/hls/hlssink.%05d.ts \
  playlist-location=/srv/hls/playlist.m3u8

and video.js on the other site

<video-js id=vid1 width=600 height=300 class="vjs-default-skin" controls>
  <source
     src="https://example.com/index.m3u8"
     type="application/x-mpegURL">
</video-js>
<script src="video.js"></script>
<script src="videojs-http-streaming.min.js"></script>
<script>
var player = videojs('vid1');
player.play();
</script>

pipe video from rtsp ueye

gst-launch-1.0.exe rtspsrc location=rtsp://169.254.37.87:8554/mystream ! fakesink ! fpsdisplaysink

Javelin

gitlab javelin

install rust on server

curl https://sh.rustup.rs -sSf | sh
source $HOME/.cargo/env

you'll probably need a few deps, like

sudo apt install libssl-dev
cargo install javelin
# add an user with an associated stream key to the database
javelin --permit-stream-key="idiotstream:cc144117a8fe59af0f7f34ce9eca8f05" --rtmp-bind 46.101.213.56 --http-bind 46.101.213.56 
# start the server if not running
javelin run

couldn't get server/client to access 8080 to see the stream . trying the docker-compose way

streamline

https://github.com/streamlinevideo/streamline

opencv>ffmpeg>hls

video-streaming-hls-apache-nginx
opencv_ffmpeg_streaming

optimizing

Shaka

https://github.com/google/shaka-streamer
https://github.com/google/shaka-packager
https://google.github.io/shaka-packager/html/index.html

jsmpeg

https://github.com/phoboslab/jsmpeg
https://github.com/mbrumlow/webbot

JSsip

https://tryit.jssip.net/

SRT

https://www.haivision.com/blog/all/rtmp-vs-srt/ – > haivision_white_paper_rtmp_vs_srt_comparing_latency_and_maximum_bandwidth.pdf

gst and srt

https://github.com/Haivision/srt/blob/master/docs/why-srt-was-created.md

UDP based transport. not used to broadcast to many. low latency and packet recovery between two points.

server

start the srt + server

https://github.com/Haivision/srt
cd srt && ./configure && make
./srt-live-transmit udp://:1234 srt://:4201 -v

start a producer using ffmpeg lavfi fakesource

ffmpeg -f lavfi -re -i testsrc=duration=300:size=1280x720:rate=30 \
 -pix_fmt yuv420p -c:v libx264 -b:v 1000k -g 30 -keyint_min 120 -profile:v baseline -preset veryfast \
 --f mpegts "udp://127.0.0.1:1234?pkt_size=1316"

watch on vlc

srt://127.0.0.1:4201

http://en.kiloview.com/product/E2-H.264-HDMI-to-IP-Wired-Video-Encoder-59.html

servrs providers

AZURE

does support SRT, unlike aws. with thier end of life RTMP coming iin 2021

https://azure.microsoft.com/en-us/blog/what-s-new-in-azure-media-services-video-processing/

AWS

Kinesis

Q: What’s the difference between Kinesis Video Streams and AWS Elemental MediaLive?
AWS Elemental MediaLive is a broadcast-grade live video encoding service. It lets you create high-quality video streams for delivery
to broadcast televisions and internet-connected multiscreen devices, like connected TVs, tablets, smart phones, and set-top boxes.
The service functions independently or as part of AWS Media Services.

Amazon Kinesis Video Streams makes it easy to securely stream video from connected devices to AWS for real-time and batch-driven machine learning (ML),
video playback, analytics, and other processing. It enables customers to build machine-vision based applications that power smart homes,
smart cities, industrial automation, security monitoring, and more.

hls-playback
kinesis how-it-works
examples-gstreamer-plugin

elemental

https://aws.amazon.com/elemental-conductor/

medialive

https://docs.aws.amazon.com/medialive/latest/apireference

pricing is based on input/ouput encoding setiings > https://aws.amazon.com/medialive/pricing/

ANTMEDIA

wiki

HLS Publishing » HLS Playing

OBS RTMP to AntM

digitalOcean droplet

pricing > https://antmedia.io/#selfhosted png

Hardware

teradek

Teradek Vidiu Pro

Teradek RTMP to antmedia

axis

analog/16ch/h264 > p7216

analog/4ch/300$ m7104

china

ALIexpress

questions

where are most clients?

OBS

https://obsproject.com/forum/resources/how-to-do-hls-streaming-in-obs-open-broadcast-studio.945/

NEws

scenario

liveset.png

test