J'essaye de lire un échantillon de flux mp3 via rtmp avec Jplayer (patché https://github.com/rmhall/jPlayer pour autoriser rtmp). Mon code est ici:JPlayer rtmp streaming issue
$('#jquery_jplayer').jPlayer({
swfPath: "/Scripts/JPlayer/",
supplied: "rtmpa, rtmpv, mp3",
solution: "flash",
ready: function() {
$(this).jPlayer("setMedia", {
rtmpa: "rtmp://limelight-fmstream-70.musicnet.com/a4396/e1/mp3:/spl/068/771/139/spl_024?e=1342014373&h=0dc0153ed7fb0ff34d04fce764de9896" //this is not work
//THIS WORKS! rtmpv: "rtmp://cp67126.edgefcs.net/ondemand/mp4:mediapm/ovp/content/test/video/spacealonehd_sounas_640_300.mp4"
});
$(this).jPlayer("play");
}
});
si je joue rtmpv vidéo cela fonctionne, mais audio (rtmpa) ne fonctionne pas (ne joue rien). J'ai testé ce mp3 sur http://widgets.mndigital.com/test/stream.aspx et ça marche là-bas.
Quelqu'un peut-il m'aider? Merci
ouais en utilisant déjà. Fonctionne bien! Merci, mon pote –