Capitol 360 Innovation Center Hackathon Guide
SIGN UP FOR CLOUDINARY
Capitol360 December 2018 Hacktathon Guide
Capitol360 December 2018 Hacktathon Guide
  • Capitol Royale 2018 Hackathon Guide
  • Capitol Royale 2018 Hackathon Guide
    • Arrival Guide / Parking
    • Dec'18 Challenges
      • Verizon 5G Challenge
      • Dec'18 Prizes
    • June'18 UMG Challenges
      • Immersive Wayne Shorter Catalog
      • Build an A&R research tool
    • Hackathon Event Flow
  • Blueprints
    • Discover Music
  • Industry Guides
    • Music Industry 101
  • Cloudinary
    • Using Cloudinary
      • Build a Cover Image
      • Video Transcoding
      • Image Optimization I
      • Categorizing Images
      • HTML5 Video Player
      • Media Authentication
      • Image Optimization II
      • Content Moderation
      • Neural Artwork
      • Artistic Filters
      • Distortion Effects
      • Audio to Waveform Images
      • Social and Cloud Sources
      • Webtask & Cloudinary
    • Cloudinary API: Workshop Deck
  • 7Digital
    • UMG Catalog / 7digital API
    • API Specifics
    • Streaming Audio Files
    • Catalog Metadata Available
    • API Error Codes & Messages
  • Tivo
    • Using TiVo & Lyricfind APIs’
  • TiVo Playlisting
  • ConsenSys
    • ConsenSys Hackathon Developer Guide
  • Spotify
    • Spotify API
  • Qloo
    • Qloo Developer Guide
  • Microsoft
    • Using Microsoft APIs
Powered by GitBook
On this page
  • Streaming Audio
  • ​Oauth 1.0 Signature Reference Form​
  • Partial Streams
  1. 7Digital

Streaming Audio Files

This page describes how to stream audio files from 7digital

PreviousAPI SpecificsNextCatalog Metadata Available

Last updated 6 years ago

Streaming Audio

To stream audio you need to build your own URL to call our streaming service

https://stream.svc.7digital.net/stream/catalogue

You need to pass in two parameters on the call

Parameter

Reason

&shopId=2020

To stream songs from the UMG catalog

&trackId={int}

The 7digital trackId of the song you want to stream

Most importantly you need to sign each call with Oauth 1.0 headers using the consumer key and secret provided for this hackathon

  • consumer_key = 7d4vr6cgb392

  • consumer_secret = m4ntskavq56rddsa

We have created a form to help build and sign streaming URLs

  • ​​

  • Do not use Postman - it does not correctly sign our URLs

​​

Instructions

  1. Enter the streaming service URL as shown

  2. Enter your consumer_key & consumer_secret

  3. Enter shopId & trackId

  4. Click [refresh both] button to sign API call with Oauth headers

  5. Click URL to test stream

Partial Streams

If you want to stream part of a track, you can use the range request

curl -v -o partial.mp4 -H "Range:bytes=81920-" "{url to aac stream}"

You will need to calculate the number of bytes that you want to start and/or finish at

Click here - to access Oauth signature reference​
Oauth 1.0 Signature Reference Form