• Stars
    star
    120
  • Rank 295,983 (Top 6 %)
  • Language
  • License
    MIT License
  • Created about 8 years ago
  • Updated about 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

videojs-flow(flv live over websocket), low latency live streaming plugin for videojs.

videojs-flow

videojs-flow(flv live over websocket), low latency live streaming plugin for videojs.

+---------------+       +----------------+       +--------------+        +----------------------+
| videojs(MSE)  +---<---+ videojs-flow   +---<---+ demo/mse.go  +--<-----+      Media Server    +
+---------------+       + (js flv2mp4)   +       + (http to ws) +        +   (http flv live)    +
                        +----------------+       +--------------+        +----------------------+

Remark: Please use bilibili/flv.js for videojs-flow.

Usage

To check your browser whether support MSE, click here.

To start SRS with a live stream http://localhost:8081/live/livestream.flv, please read here.

To run demo/mse.go to transmux HTTP-FLV to WebSocket-FLV ws://localhost:8080/live/livestream.flv:

go get golang.org/x/net/websocket &&
go run mse.go -l 8080 -b 8081

Links

H5 capabilities:

  1. http://ossrs.net/mse/html5.html

About Websocket:

  1. https://tools.ietf.org/html/rfc6455
  2. https://developer.mozilla.org/en-US/docs/Web/API/WebSocket
  3. https://en.wikipedia.org/wiki/WebSocket
  4. http://caniuse.com/#search=websocket

About MSE(Media Source Extension):

  1. https://www.w3.org/TR/media-source
  2. https://developer.mozilla.org/en-US/docs/Web/API/MediaSource
  3. https://en.wikipedia.org/wiki/Media_Source_Extensions
  4. http://caniuse.com/#feat=mediasource

About Videojs:

  1. http://videojs.com/getting-started/
  2. http://ossrs.net/mse/videojs.html

Remark: The MSE(Chrome) requires segment starts with keyframe, read videojs.

Winlin 2016

More Repositories

1

SimpleDHT

Simple, Stable and Fast Arduino Temp & Humidity Sensors for DHT11 and DHT22. http://learn.adafruit.com/dht
C++
134
star
2

owt-docker

Docker for https://github.com/open-webrtc-toolkit/owt-server
Dockerfile
98
star
3

go-fdkaac

Golang binding for lib-fdkaac(https://github.com/winlinvip/fdk-aac)
Go
63
star
4

go-speex

Golang binding for speex(https://github.com/winlinvip/speex)
Go
19
star
5

go-aresample

The audio resample library.
Go
16
star
6

go-opus

Golang binding for libopus(https://github.com/winlinvip/opus)
Go
9
star
7

webrtc-web

Simple examples for https://github.com/googlecodelabs/webrtc-web over Chrome
JavaScript
7
star
8

rtc-app-golang

Golang AppServer for RTC.
Go
5
star
9

go-writev

The test example for https://github.com/golang/go/issues/13451
Go
3
star
10

janus-docker

Docker for https://github.com/meetecho/janus-gateway
JavaScript
3
star
11

srs-rtsp

RTSP server based on SRS.
C++
3
star
12

Camkit

一个摄像头相关的工具箱,使用C语言写成
C
3
star
13

webrtc

C++
2
star
14

talks

A talk server based on RTC.
HTML
2
star
15

rtc-app-nodejs

Nodejs AppServer for RTC.
JavaScript
2
star
16

rtc-app-java

Java AppServer for RTC.
Java
2
star
17

SimpleSerial

Simple, Stable and Fast Arduino Serial Command Protocol.
C++
1
star
18

mod_demo

Go mod test, it depends on itself.
Go
1
star
19

http-gif-sls-writer

A HTTP statistics use GIF to collect logs and write to SLS.
Go
1
star
20

raspi-tools

Some tools for RaspberryPi
Python
1
star
21

echo

Echo client information
Shell
1
star
22

rtc-app-php

PHP AppServer for RTC.
PHP
1
star
23

gocover

A example for go coverage
HTML
1
star
24

my-srs-server

1
star
25

openwrt-docker

Ubuntu docker develop env for OpenWRT
HTML
1
star
26

rtc-app-python

Python AppServer for RTC.
Python
1
star