Jump to content
  • 0

Using rtmp max output 360p


robertosamayoa
 Share

Question

usages

I am streaming to social networks 

 

i have set 

var mediaConstraints = {
  "audio": true,
  "video": {
    "width": {
      "exact": "1280"
    },
    "height": {
      "ideal": "720",
      "max": "720",
      "min": "360" // set minimum height to 360p
    },
    "aspectRatio": ["4:3", "16:9"],
    "frameRate": {
      "exact": "30"
    },
    "bitrate": {
      "min": "500000",
      "max": "3000000"
    }
  }
};
 

also i set RTMP setting on red5properties at 720

also set Encoder= Medium

 

the videoquality is good on ams dev we has done. but when using RTMP means adding social networks

 

max resolution out is 360p  even changing constraints

 

if we use Adaptive settings the output work as spected but trancoding give us low FPS video like watching slow motion video.

 

We need to set resolution better quality at least 720p without using transconding.

 

 

 

 

 

 

 

 

 

Link to comment
Share on other sites

  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

1 answer to this question

Recommended Posts

  • 0
On 4/10/2023 at 12:38 PM, robertosamayoa said:

usages

I am streaming to social networks 

 

i have set 

var mediaConstraints = {
  "audio": true,
  "video": {
    "width": {
      "exact": "1280"
    },
    "height": {
      "ideal": "720",
      "max": "720",
      "min": "360" // set minimum height to 360p
    },
    "aspectRatio": ["4:3", "16:9"],
    "frameRate": {
      "exact": "30"
    },
    "bitrate": {
      "min": "500000",
      "max": "3000000"
    }
  }
};
 

also i set RTMP setting on red5properties at 720

also set Encoder= Medium

 

the videoquality is good on ams dev we has done. but when using RTMP means adding social networks

 

max resolution out is 360p  even changing constraints

 

if we use Adaptive settings the output work as spected but trancoding give us low FPS video like watching slow motion video.

 

We need to set resolution better quality at least 720p without using transconding.

 

 

 

 

 

On 4/10/2023 at 12:38 PM, robertosamayoa said:

 

fixed, as i was using merge page, we set var playOnly = false;

setting these on false , we can control all from: 

Aspect Ratio

 4:3
 16:9
Stream size  120p 240p 360p 480p 720p 
On 4/10/2023 at 12:38 PM, robertosamayoa said:

 

 

 

 

 

Link to comment
Share on other sites

 Share

×
×
  • Create New...