Skip to content

bzyiostream/webcodecpush

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Webcodec Push

A demo can push vp8/h264+opus in flv over websocket to mediaserver.

Please use chrome version >= 93 for the demo.

You must use the cpp_media_server as the server side which support vp8/h264+opus in flv over websocket.

1. How to use

Please run it in pc.

Chrome version >= 93.

1.1 Install node module

we suggest node version 12.

  • npm install
  • npm start

access the url: http://localhost:9000/ in chrome.

1.2 About audio codec

webcodec only provide audio codec: Opus

But the rtmp/flv doesn't support Opus.

we provide the customized ffmpeg which supports the vp8/vp9/opus in rtmp/flv.

the link: ffmpeg github

1.3 media server

The cpp_media_server provide:

  • flv on websocket(for chrome push the media(h264/vp8+opus in flv)
  • rtmp/httpflv/hls

wiki:

About

webcodec for webOBS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 96.7%
  • HTML 3.3%