Harmonic
Harmonic copied to clipboard
websocket play error
I forked your project and modify code to make it to work in asp.net core web application. ffmpeg playback is working well, but websocket playback is not. flv.js will throw exception. And I try to use http-flv playback, but it is not work.
You can run my code:
forked project https://github.com/CoreDX9/Harmonic/tree/a6318ce95ae7ad322ca01b904fd6756d884cf24b
webapp project https://github.com/CoreDX9/IdentityServerDemo/tree/c1335f39206d285bf2761c65815d8b68e73b092d
-
download projects
-
relink project ref Harmonic to IdentityServer
-
run DemoApp/IdentityServer in solution IdentityServer
-
go to "https://localhost:5001/RtmpManage/Index" and click start rtmp service
-
use ffmpeg publish rtmp stream to "rtmp://localhost/living/touhou"
-
go to "https://localhost:5001/LivingPlay/Index"
then flv.js will log error in console. I don't know why. Can you help me?