Knowledge Base
medianova.comSupportLog in
  • Welcome to the Medianova Knowledge Base
  • Getting Started
    • Concepts
    • Start your Free Trial
  • Products
    • Security
      • DDoS Protection
      • SSL/TLS Encryption
        • How to upload and manage SSL Certificates?
        • How to Extract CRT and KEY Files from a PFX Certificate
        • How can I use Free SSL?
        • FAQ
      • Web Application Firewall (WAF)
        • How to activate WAF?
        • Analytics
      • Rate Limiting
      • Hotlink Protection
      • IP Restriction
      • Geoblocking
      • FAQs
    • Performance / CDN
      • Static Content Delivery
        • Create Small Resource
        • Create Large Resource
        • Integrating Static CDN Resource
        • Configuration Basics
          • Medianova IP Blocks
        • Advanced Configuration
          • Origin Settings
            • Advanced Origin Settings
            • Rewrite Origin URLs
            • Origin SNI Request
            • Redirect Handle From Origin
            • Origin Response Timeout
          • CNAME
          • Caching
            • Edge Cache Expiration
            • Browser Cache Rule
            • Query String Caching
            • Etag Verification
            • Error Status Code Cache Expiration
            • Shared Cache
            • Stale Cache
            • Robots.txt file
            • Range Based Caching
          • Headers
            • CORS Header
            • Custom Header
            • X-CDN Header
            • Origin Host Header
            • HTTP Strict Transport (HSTS) Protection
            • X-Frame Options
            • X-XSS Protection
            • X-Content Type Options
          • Purge
          • Prefetch
          • Page Rules
            • Manage Page Rules
            • Page Rules Settings
          • Compression
            • How to Configure Gzip and Brotli
        • Website Framework Integrations
          • Magento CDN Integration
          • Wordpress CDN Integration
          • Phalcon CDN Integration
          • CakePHP CDN Integration
        • Analytics
      • Dynamic Content Acceleration
        • Create Dynamic Resource
        • Integrating Dynamic CDN Resource
        • Aksela Test Steps
        • Advanced Configuration
          • Origin Settings
            • Advanced Origin Settings
            • Rewrite Origin URLs
            • Origin SNI Request
            • Redirect Handle From Origin
            • Origin Response Timeout
          • Caching
            • Edge Cache Expiration
            • Browser Cache Rule
            • Query String Caching
            • Etag Verification
            • Error Status Code Cache Expiration
            • Shared Cache
            • Stale Cache
            • Disallow Cookie Base Cache
            • Cookie Base Cache
            • Header Base Cache
            • Header Value Base Cache
            • MNUID Cookie Base Cache
            • Mobile Redirect
          • Headers
            • CORS Header
            • Custom Header
            • X-CDN Header
            • Origin Host Header
            • HTTP Strict Transport (HSTS) Protection
            • X-Frame Options
            • X-XSS Protection
            • X-Content Type Options
          • Purge
          • Prefetch
          • Page Rules
          • Compression
        • Analytics
      • Streaming Content Delivery
        • Create Streaming Resource
        • Advanced Configuration
          • Origin Settings
            • Redirect Handle From Origin
            • Origin Response Timeout
          • Headers
            • CORS Header
            • Custom Header
            • X-CDN Header
            • Origin Host Header
          • Stream Management
        • Analytics
      • API Caching
      • Private CDN
      • Image Optimization and WebP
        • What is Image Optimization and How Does It Work?
        • What is WebP and How Does It Work?
        • How to Activate Image Optimization and WebP?
        • Analytics
      • FAQs
    • Object Storage / Stook
      • What is Stook?
      • How to Create Stook?
      • How to Connect Bucket?
      • Access Key Management
      • Stook Integration and Usage Guides
        • Migrating Data to Stook Using Rclone
        • Data Transfer to Stook with Cyberduck
        • How to use the AWS SDK for Laravel with Stook?
        • How to use the AWS SDK for PHP with Stook?
        • How do I use the AWS SDK for .NET with Stook?
        • Stook Storage User Guide for AWS CLI
        • How to use AWS SDK for JavaScript with Stook?
        • How do I use Stook with the AWS Java SDK?
        • Using Pre-Signed URL PHP with Stook
        • Using Pre-Marked URL NODEJS With Stook
    • Analytics (MN Logz)
      • Real-Time Logpush
      • Raw Logs
  • Account & Billing
    • Managing Account and Organizations
      • Create new organization
      • Invite user
      • Changing Cloud Panel password
      • Access Controls and Authentication
    • Subscription and Billing
      • Packages
        • Free Trial
        • Starter
        • Growth
        • Enterprise
        • Add-ons
      • Policy
      • Upgrade & Downgrade Procedures
      • Changing your subscription package
      • Payment Info
      • Invoices
  • API Documentation
    • Authentication
    • Security
      • Web Application Firewall (WAF)
      • SSL/TLS
      • Always Use HTTPS Settings
      • Origin Basic Authentication
      • Secure Token
      • Bot Protection
      • Hotlink Protection
      • User Agent ACL
      • IP Restriction ACL
      • Geoblocking
    • Performance / CDN
      • Resources
      • Origin Settings
      • CNAME & SSL
      • Caching
      • Headers
      • Image Optimization & WebP
      • Page Rule
      • Purge
      • Prefetch
      • Stream Management
    • Object Storage / Stook
    • Analytics
      • WAF Analytics
  • Support and Troubleshooting
    • Common Issues and Solutions
      • Troubleshooting Common Setup Issues
      • Troubleshooting Performance Problems
    • Contacting Customer Support
  • Glossary
    • Definition of Important CDN Terms
    • Acronyms and Abbreviations
    • Definition of HTTP Status Error Codes
Powered by GitBook
LogoLogo

© 2025 Medianova. All rights reserved.

On this page

Was this helpful?

Export as PDF
  1. API Documentation
  2. Performance / CDN

Stream Management

PreviousPrefetchNextObject Storage / Stook

Last updated 4 months ago

Was this helpful?

Update Stream

put

Updates the details of a specific stream, including its associated SMIL configurations and qualities. This setting is available in the streaming(RTMP) resource type.

Path parameters
organization_uuidstringRequired

UUID of the organization

resource_uuidstringRequired

UUID of the resource

stream_idintegerRequired

ID of the stream to update

Body
stream_namestringOptionalExample: updatedStream
Responses
200
Stream updated successfully
application/json
put
PUT /api/v1/cdn/{organization_uuid}/resource/{resource_uuid}/stream/{stream_id} HTTP/1.1
Host: cloud.medianova.com
Content-Type: application/json
Accept: */*
Content-Length: 920

{
  "stream_name": "updatedStream",
  "smils": [
    {
      "smil_name": "updatedSmil",
      "stream_id": 54,
      "qualities": [
        {
          "video_bitrate": 150000,
          "audio_bitrate": 128000,
          "width": 1920,
          "height": 1080
        }
      ],
      "smil_id": 63,
      "stream_name": "updatedStreamName",
      "resource_uuid": "****-****-***-****",
      "stream": {
        "id": 55,
        "stream_name": "updatedStreamName",
        "resource_uuid": "****-****-***-****",
        "input_frame_rate": 60,
        "input_width": 1280,
        "input_height": 720,
        "audio_sample_rate": 44100,
        "audio_channels": "Stereo",
        "audio_bit_rate": 128,
        "outputs": [
          {
            "bitrate": 1000000,
            "picture_aspect_ratio": 16.9,
            "width": 1280,
            "height": 720
          }
        ],
        "profile": "Main",
        "level": 4,
        "key_frame": 4,
        "stream_url": "rtmp://origin-l.glb.mncdn.com/updatedStream/streamName",
        "backup_url": "rtmp://origin-l-backup.glb.mncdn.com/updatedStream/streamName",
        "created_at": "2024-12-29T18:00:00.000000Z",
        "updated_at": "2024-12-29T18:00:00.000000Z",
        "stream_hls_url": "https://example.mcdn.com/updatedStream/streamName/index.m3u8"
      }
    }
  ]
}
200

Stream updated successfully

{
  "status": true,
  "data": [
    {
      "id": 55,
      "stream_name": "updatedStreamName",
      "resource_uuid": "****-****-***-****",
      "input_frame_rate": 60,
      "input_width": 1280,
      "input_height": 720,
      "audio_sample_rate": 44100,
      "audio_channels": "Stereo",
      "audio_bit_rate": 128,
      "outputs": [
        {
          "bitrate": 1000000,
          "picture_aspect_ratio": 16.9,
          "width": 1280,
          "height": 720
        }
      ],
      "profile": "Main",
      "level": 4
    }
  ]
}

Create SMIL

post

This setting is available in the streaming(RTMP) resource type.

Path parameters
organization_uuidstringRequiredExample: ****-*****-****-****
resource_uuidstringRequiredExample: ****-*****-****-*****
Body
stream_namestring · min: 3 · max: 255RequiredExample: streamsmil
Responses
200
Stream and SMIL configuration created successfully
application/json
post
POST /api/v1/cdn/{organization_uuid}/resource/{resource_uuid}/stream HTTP/1.1
Host: cloud.medianova.com
Content-Type: application/json
Accept: */*
Content-Length: 157

{
  "stream_name": "streamasmil",
  "smils": [
    {
      "smil_name": "smil",
      "qualities": [
        {
          "video_bitrate": 121321,
          "audio_bitrate": 12321312,
          "width": 123123,
          "height": 12312321
        }
      ]
    }
  ]
}
200

Stream and SMIL configuration created successfully

{
  "status": true,
  "data": {
    "stream_id": 54,
    "stream_name": "streamsmil",
    "stream_url": "rtmp://origin-l.glb.mncdn.com/test/streamsmil",
    "backup_url": "rtmp://origin-l-backup.glb.mncdn.com/test/streamsmil",
    "stream_hls_url": "https://OXmLWgYDSc.mncdn.com/test/streamsmil/index.m3u8",
    "smils": [
      {
        "smil_name": "smil",
        "qualities": [
          {
            "video_bitrate": 121321,
            "audio_bitrate": 12321312,
            "width": 123123,
            "height": 12312321
          }
        ],
        "smil_id": 63,
        "stream_name": null,
        "resource_uuid": null,
        "stream": null
      }
    ]
  }
}

Delete Stream

delete

Deletes a specific stream identified by the stream ID. This setting is available in the streaming(RTMP) resource type.

Path parameters
organization_uuidstringRequired

UUID of the organization

resource_uuidstringRequired

UUID of the resource

stream_idintegerRequired

ID of the stream to delete

Responses
200
Stream deleted successfully
application/json
delete
DELETE /api/v1/cdn/{organization_uuid}/resource/{resource_uuid}/stream/{stream_id} HTTP/1.1
Host: cloud.medianova.com
Accept: */*
200

Stream deleted successfully

{
  "status": true,
  "data": true
}
  • POSTCreate SMIL
  • PUTUpdate Stream
  • DELETEDelete Stream