Git Product home page Git Product logo

netty-stream's Introduction

netty-stream

netty stream

a media server by netty framework

h264 test file path https://github.com/wangdxh/Desert-Eagle/blob/master/streampushclient/testokmy.h264

format is: 4byte-frame length(Little Endian) follow by h264 raw frame

client push is :

java -jar netty-streampushclient-1.0-SNAPSHOT.jar filepath streamname ip port

streamname deault is 123abcdef32153421

ip is 127.0.0.1 port is 1985

server :

java -jar netty-streamserver-1.0-SNAPSHOT.jar

after server is running, there r 5 tcp ports is listening

  • 1985 accept client push raw h264 stream
  • 1984 http flv
  • 1983 websocket flv
  • 554 rtsp just udp transport
  • 80 list all the stream and the stream's url.

get http://127.0.0.1 to the detail url infor.

{"123abcdef32153421": {
  "wsflv": "ws://127.0.0.1:1983/live/liveflv?deviceid=123abcdef32153421",
  "httpflv": "http://127.0.0.1:1984/live/liveflv?deviceid=123abcdef32153421",
  "rtsp": "rtsp://127.0.0.1/live/livestream?deviceid=123abcdef32153421"
}}

play test

when u get the flv url,u can test it in :

with chrome open http://106.15.184.203:8001/

input the httpflv or the wsflv url in the Stream URL, then u can play the url.

rtsp url can use vlc player to play.

netty-stream's People

Contributors

wangdxh avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.