Few years back i've written code in Flex for accessing streams from OpenMeetings. Now i need to rewrite it to RubyOnRails. I'm using JWPlayer too play stream
jwplayer("CameraElement").setup({
file: "{stream_name}",
width: 320,
height: 240,
primary: "html5"
});
I have 2 streams:
- Camera stream
- Desktop stream
I had no problem in running Camera stream: rtmp://{address}:{port}/{folder}/{roomID}/flv:{StreamID}
but the same thing doesnt work with Desktop stream (from Desktop Sharer) - despite that it was working back in Flex. I know that JWPlayer finds stream - because after clicking play JWPlayer shows 'load' icon and then proceeds to show me black JWPlayer screen without content - and if I give wrong StreamID - JWPlayer shows infinitely 'load' icon.
What can I now do:
- How can i debug this problem - it doesnt seem that there is 'debug flag' anywhere in JWPlayer
- Can it be happening because 'Desktop stream' only has video data - and no audio data (ive tried to feed only Video data to Camera stream, and JWPlayer didnt have any issues)
- I've tried manipulating with options - primary: "flash", and giving file in playlist, or changing flv in stream name to mp4 - no luck here
- Can it be caused by too long StreamID in DesktopStream ?- its 32 alphanumeric signs, and one number in CameraStream.
Any idea is welcome...
PS OpenMeetings - version 3.03 JWPlayer - 4.10