We use cookies to enhance your browsing experience, serve personalized ads or content, and analyze our traffic. By clicking "Accept All", you consent to our use of cookies. Click here for more information on our Privacy Policy.
Customize Consent Preferences
We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.
The cookies that are categorized as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ...
Always Active
Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.
No cookies to display.
Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.
No cookies to display.
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.
No cookies to display.
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
No cookies to display.
Advertisement cookies are used to provide visitors with customized advertisements based on the pages you visited previously and to analyze the effectiveness of the ad campaigns.
Stream Manager 2.0 NodeGroupConfig Example – All-in-One
All-in-One
The main thing this example shows is that a single role can be defined with multiple capabilities, and that the SM 2.0 Streams Service directs traffic base on the capabilities assigned to a server’s role.
This is useful for development and some test cases, where most testbed functionality can be used with a very small cluster.
Complete Example:
{"name":"oci-allinone1","description":"This is an OCI example.","cloudPlatform":"OCI","cloudProperties":"environment=testing;subnet=red5-ci-deployments-multiregion-subnet-public;security_group=red5-ci-deployments-multiregion-node-nsg;volume_size=50","tags":{"ngcTag":"This is an example tag at NodeGroupConfig level"},"shuffleSizeExpression":"1","images":{"BaseImage":{"name":"BaseImage","image":"as-node-12-2-4-b179","cloudProperties":"instance_type=VM.Standard.E4.Flex-1-4","tags":{"imageTag":"This is an example tag at NodeImage level"}}},"roles":{"allinone":{"name":"allinone","imageName":"BaseImage","capabilities":["PUBLISH","SUBSCRIBE","TRANSCODE"],"tags":{"roleTag":"This is an example tag at NodeRole level"}}},"groups":{"ashburn":{"subGroupName":"ashburn","groupType":"main","cloudProperties":"region=us-ashburn-1","tags":{"regionTag":"This is an example tag at SubGroupConfig level"},"rulesByRole":{"allinone":{"nodeRoleName":"allinone","min":1,"max":1,"increment":1,"outExpression":"min(connections.client) > 75","inExpression":"avg(connections.client) < 1","capacityRankingExpression":"connections.client","capacityLimitExpression":"100"}}}}}