Harmonic icon indicating copy to clipboard operation
Harmonic copied to clipboard

websocket play error

Open CoreDX9 opened this issue 5 years ago • 0 comments

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

  1. download projects

  2. relink project ref Harmonic to IdentityServer

  3. run DemoApp/IdentityServer in solution IdentityServer

  4. go to "https://localhost:5001/RtmpManage/Index" and click start rtmp service

  5. use ffmpeg publish rtmp stream to "rtmp://localhost/living/touhou"

  6. go to "https://localhost:5001/LivingPlay/Index"

then flv.js will log error in console. I don't know why. Can you help me?

CoreDX9 avatar Dec 25 '19 19:12 CoreDX9