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 doesnt work #7

Open
meduar opened this issue Aug 8, 2019 · 1 comment
Open

WEBSOCKET doesnt work #7

meduar opened this issue Aug 8, 2019 · 1 comment

Comments

@meduar
Copy link

meduar commented Aug 8, 2019

Version tested: tag: V0.0.2

I tested the server is working I can see the video through vlc coming from:

rtmp://192.168.1.109/living/fe

But when I tested:

ws://127.0.0.1:8080/living/fe

It didn't work I tried different ways: i always got error messages coming from the players

This error:
[MSEController] > MediaSource onSourceOpen
[IOController] > Loader error, code = undefined, msg = undefined
[TransmuxingController] > IOException: type = Exception, code = undefined, msg = undefined
[MSEController] > MediaSource onSourceOpen

And a player I did:
Uncaught TypeError: Cannot read property 'flushStashedSamples' of null

How could I make work the WEBSOCKETS?

Thanks in advance.

@a1q123456
Copy link
Owner

sorry for the confusion, the url is changed to ws://127.0.0.1:8080/websocketplay/
when you intend to play video by websdocket.
that is because websocket and rtmp are two different controllers, so the controller name in url must be changed to websocket controller's name, that is websocketplay

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

2 participants