![](https://secure.gravatar.com/avatar/65415ea4970314d57ec7262856ea9f66?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
Multiple streams problem
Hello, i'm trying to implement multiple sources to jwplayer (rtmp and http) to use from different devices.
the code is here:
jwplayer('fsvPlayerContainer').setup({
playlist: [{
sources: [{
file: rtmp
},{
file: b
}]
}],
width: "100%",
height: "100%"
});
But there is error "File not found" and i see in console that it tries to get current url ends with [object Object]
Then i tried to put url string directly to sources array
jwplayer('fsvPlayerContainer').setup({
playlist: [{
sources: [rtmp, b]
}],
width: "100%",
height: "100%"
});
and then i received an error "No suitable players found and fallback is on"
Please help me with it... Everything works if i'm using just 1 source like .setup({file:...})