Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

video resolution


I used below codes to play my rtmp live video, I have tried 3 different video stream provider to stream my video, 2 of them works good with correct resolution, but the other one always got the video be pressed to 4:3 resolution, the provider told us that they didn't send video metadata with the stream, is that the reason? Any other configuration should I do?

playerInstance.setup({
file : 'rtmp://....',
width : '100%',
height : '100%',
rtmp : {
bufferlength : 0.1
},
autostart : true,
controls : false,
skin : {
name : 'bekle'
}
});

3 Community Answers

Alex

JW Player Support Agent  
0 rated :

Hi, there.

My name is Alex and I am one of the Support Engineers at JW Player. I will be more than happy to assist you with your questions.

We respect whatever aspect ratio the video gets sent to us in. With that being said, you can try setting aspectratio: “16:9” and/or using some of our stretching configuration options available towards the bottom of our Configuration Options Reference to achieve the result you are looking for.

Please let me know if you need any more help or have any other questions.

Thank you!

jason

User  
0 rated :

Hi Alex,

Thank you for your reply. I've confirmed that the video stream with the metadata fix the resolution problem. So I understood that the video should carry the metadata to help player to get their resolution information.

Alex

JW Player Support Agent  
0 rated :

That is correct, Jason. Glad to hear you got it working!

This question has received the maximum number of answers.