Skip to content

gyb1314/cpp_media_server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cpp_media_server

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

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

How to build

How to build

What does It support

network protocol feature:

webrtc

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

The webrtc client sdk demo(only support chrome browser): webrtc sdk demo

rtmp

  • rtmp publish
  • rtmp play

httpflv

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

hls

media stream is from rtmp/webrtc/websocket flv. support codec: h264/vp8 + aac/opus

  • hls live:

websocket

  • flv in websocket push

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

codec help

I provide the customized ffmpeg to support

  • h264/vp8, aac/opus in flv
  • h264/vp8, aac/opus in hls

the customized ffmpeg: my_ffmpeg

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 98.8%
  • CMake 1.1%
  • Shell 0.1%