Skip to content

media server based on c++11, support webrtc/rtmp/httpflv/websocket flv

License

Notifications You must be signed in to change notification settings

grandi23/cpp_media_server-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cpp_media_server

A media server is writen by C++11, and the network io is writen by Boost.Asio.

It support rtmp/httpflv/websocket(flv)/webrtc.

preinstall

How to install boost.asio

Download boost

We suggenst boost v1.76: boost v1.76

How to build

Build boost asio in Mac/linux

./bootstrap.sh
./b2 -j 4 --with-system --with-thread --with-date_time --with-regex --with-serialization stage
./b2 install

What does It support

network protocol feature:

webrtc

  • roommanager
  • websocket
  • join
  • publish/unpublish
  • subscribe/unsubscribe

The webrtc client sdk demo: webrtc sdk demo

rtmp

  • rtmp publish
  • rtmp play

httpflv

  • httpflv play
  • flv(h264/vp8/vp9, aac/opus)

websocket

  • flv in websocket push

webcodec encode media in flv(h264+opus) over websocket, we suggest webclient demo: webcodecpush

About

media server based on c++11, support webrtc/rtmp/httpflv/websocket flv

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published