Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

websocket play error #12

Open
CoreDX9 opened this issue Dec 25, 2019 · 0 comments
Open

websocket play error #12

CoreDX9 opened this issue Dec 25, 2019 · 0 comments

Comments

@CoreDX9
Copy link

CoreDX9 commented Dec 25, 2019

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant