DynTube API
  • Welcome!
  • Key Concepts
  • Quick Start
  • Reference
    • Videos
      • Video Upload via File (Server Side)
      • Video Upload via URL (server side)
      • HTML-Form Client Side Video Uploads
      • Get Video Status
      • Get Videos
      • Get Video
      • Update Video
      • Delete Video
      • Download Original Video
      • Get Video for Mobile App/Custom Player
      • Update Video Image
      • Add Video Captions/Chapters/Subtitles
      • Delete Video Captions/Subtitles/Chapters
      • Create Expirable Links
      • Get Collected Emails
      • Setting Up Webhooks
      • Copy call-to-action (CTA) to Videos
      • Token Authentication
    • Projects
      • Create Project
      • Update a Project
      • Get Projects
      • Get a Project
      • Delete a Project
      • Set default CTA for Project
    • Live Streaming
      • Create a Live Stream
      • Update a Live Stream
      • Get Live Streams
      • Get a Live Stream
      • Count Live Streams
      • Live Streams Limit
      • Get Live Streaming Recording
      • Delete a Live Stream
      • Service and Regions for live streams
    • Channels
      • Get Channels
      • Get Channel
      • Delete Channel
    • Subscriptions
      • Create a Plan
      • Create a Member
      • Attach Plan To Member
      • Get Plans
      • Get Members
      • Get Member's Plans
      • Delete a Plan
    • Analytics
      • Use your User Ids in Analytics
      • Get Video Analytics
    • Javascript Events Methods
      • Plain Javascript Events & Methods
      • Control the Player using React
      • Control the Player in Vue.js
    • Developer Resources
      • How to embed DynTube player in Next.Js
      • How to embed the video player in React
      • How to play DynTube videos in React Native
      • ExoPlayer app to play HLS videos
      • How to embed videos & channels dynamically
      • How to Import Vimeo Videos into DynTube
Powered by GitBook
On this page
  • Introduction
  • Video Retrieval URL
  • Query Parameters
  • Multiple Video Files
  • Date & Time
  • Example
  1. Reference
  2. Live Streaming

Get Live Streaming Recording

Introduction

This documentation outlines the process of fetching recorded videos for a live stream on DynTube using the stream key. DynTube automatically adds the stream key as a video "tag" when the recording is saved. This allows programmers to retrieve recorded videos for a specific stream using a URL and various query parameters.

Video Retrieval URL

To fetch recorded videos for a live stream, you can use the following URL:

https://api.dyntube.com/v1/videos

Query Parameters

You can customize the retrieval process by using the following query parameters:

  • size: Specifies the number of videos to retrieve. Example: size=10 retrieves the latest 10 videos.

  • sort: Allows you to specify the sorting order for videos. Example: sort=Created:-1 retrieves videos in descending order of creation.

  • tags: This parameter should be set to the stream key to filter videos related to a specific stream. Example: tags=live_abc123

Multiple Video Files

DynTube's system splits recordings into multiple files if the recording size exceeds 2GB. As a result, you might encounter multiple videos in the API for the same stream.

Date & Time

Each video's title will contain the date and time of each recording, making it easy to identify and organize the videos.

Example

Here's an example URL to retrieve the latest 10 recorded videos for a specific stream:

https://api.dyntube.com/v1/videos?size=10&sort=Created:-1&tags=live_5a33165a8864b8244ad1

PreviousLive Streams LimitNextDelete a Live Stream

Last updated 1 year ago