You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

github.com/jkittell/mediastreaminfo

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/jkittell/mediastreaminfo

v0.0.0-20231203234258-777551ec38d1
Source
Go
Version published
Created
Source

mediastreaminfo

Uses ffprobe to get information about a stream.

Containerized application https://hub.docker.com/r/jpkitt/mediastreaminfo

Send the url to the web service.

curl --location 'http://127.0.0.1:3000/contents' \
--header 'Content-Type: text/plain' \
--data '{ "url" : "https://cph-p2p-msl.akamaized.net/hls/live/2000341/test/master.m3u8" }'

Web service returns an id for stream info.

{
    "id": "b60b1534-9635-4270-aefb-4f30364ec69e",
    "url": "https://cph-p2p-msl.akamaized.net/hls/live/2000341/test/master.m3u8",
    "info": [],
    "status": "queued",
    "start_time": "2023-11-30T17:24:23.413907301Z",
    "end_time": "0001-01-01T00:00:00Z"
}

Get the info about the stream.

curl --location 'http://127.0.0.1:3000/contents/b60b1534-9635-4270-aefb-4f30364ec69e'

FAQs

Package last updated on 03 Dec 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts