Skip to content

xing-shadow/web_player

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

web播放器

播放使用websocket传输的h264,h265视频和alaw音频

安装Wasm工具链Emscripten

安装步骤可参考其官方文档,目前支持 Windows, MacOS, Linux。

构建

git clone https://github.com/FFmpeg/FFmpeg.git ffmpeg

cd ffmpeg

git checkout -b 7.1 origin/release/7.1

git clone https://github.com/xing-shadow/web_player.git web_player

cd ../web_player

编译ffmpeg库 ./build_ffmpeg.sh

编译wasm ./build_web_decoder_wasm.sh

测试

  • websocket 服务启动 go run main.go
  • 浏览器打开js/videoPlay.html

About

No description, website, or topics provided.

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors