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

Manual switch quality with 2 url stream. #36

Closed
Azef1 opened this issue Nov 30, 2015 · 1 comment
Closed

Manual switch quality with 2 url stream. #36

Azef1 opened this issue Nov 30, 2015 · 1 comment

Comments

@Azef1
Copy link

Azef1 commented Nov 30, 2015

Hi,

I like GrindPlayer but i would like a manual switch between a high quality stream and low quality.
My high quality stream it's: rtmp://@IP/hd_stream
My low quality stream it's: rtmp://@IP/sd_strem

Currently, i have only set one stream with src param but how to put 2 stream ?

Thx

@kutu
Copy link
Owner

kutu commented Nov 30, 2015

create two html buttons and use js-api
http://osmfhls.kutu.ru/docs/grind/#js-api
player.setMediaResourceURL()

@kutu kutu closed this as completed Nov 30, 2015
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