HLS with RTMP fallback

Hello,

I am currently usig jwplayer as a player and want to try kaltura player.

Now jwplayer allows one single player to serve HLS and an rtmp link as a fallback for old flash clients.

For example the jwplayer code contains two sources [{ hls-url},{rtmp-url}] and based on the client device type the hls or rtmp is served.

Is there a way to serve in Kaltura 1 videoplayer to the users with hls for example and rtmp, so that the most adequate is picked for the client?

Or should i create 2 videoplayers : 1 rtmp and 1 hls and have some kind of server side logic to identify the client and serve either the first player or second to the client?

Thank you