cycjimmy / jsmpeg-player

MPEG1 Video Player Based On JSMpeg.

Home Page:https://www.npmjs.com/package/@cycjimmy/jsmpeg-player

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

live video doesn't play, but local .ts files play fine

winkmichael opened this issue · comments

Describe the bug
loading https://server/video.ts plays, however loading wss://server:444/video/ doesn't play live video.

<VirtualHost *:444>
ProxyPass "/video/" "ws://localhost:8082/"
ProxyPassReverse "/video/" "ws://localhost:8082/"
</VirtualHost

Error: WebSocket connection to 'wss://server:444/video/' failed: An SSL error has occurred and a secure connection to the server cannot be made.

To Reproduce
Run the jsmpeg node example, and proxy from apache in front of it to satisfy the SSL.

Any way to make live work? given the wss:// requirement?