A
A
Alexander Belyakov2016-03-05 09:50:00
JavaScript
Alexander Belyakov, 2016-03-05 09:50:00

What is a really working JWPlayer configuration for live RTMP and HLS?

There are addresses of live RTMP and HLS streams, respectively. For example,

rtmp://255.255.255.255/live/test
http://255.255.255.255/live/test.m3u8

There are many JWPlayer configurations on the Internet for this situation, but they do not work, only live RTMP works separately.
I need to write a player configuration so that both live RTMP and HLS are registered in the sources at the same time, and at the same time they work adequately.
There are no problems from the server side, the formation of hls works fine.
RTMP needs live, so options with .mp4 in the url are bypassed.
Maybe someone is using a different solution? Please share your experience. Please also indicate the version of JWplayer

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yuri Udovichenko, 2016-03-06
@Aquary

A little higher , Alexander Obidnov gave the necessary code, I will only add that HLS works in JWPlayer only for the paid version. Nothing will work in the free one, except for RTMP.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question