Using a custom player for streaming
This tutorial helps if you want to use a custom player for streaming.
Fetch the streaming URLs
https://playout.3qsdn.com/config/[DATAID]?key=[KEY]×tamp=[TIMESTAMP]{
"dataid": "a719ecb1-b61f-11ea-97a4-002590c750be",
...
"streamContent": "demand",
"streamType": "video",
"sources": {
"hls": "https://sdn-global-streaming-cache.3qsdn.com/stream/.../manifest.m3u8",
"dash": "https://sdn-global-streaming-cache.3qsdn.com/stream/.../manifest.mpd",
"progressive": [
{
"src": "https://sdn-global-prog-cache.3qsdn.com/stream/.../57-XW8JQvNYrxfMHFBDqd9k.mp4",
"type": "video/mp4",
"height": 720
},
{
"src": "https://sdn-global-prog-cache.3qsdn.com/stream/.../6-ZN2XYHqhdjtvC6M7PKD3.mp4",
"type": "video/mp4",
"height": 144
},
{
"src": "https://sdn-global-prog-cache.3qsdn.com/stream/.../5-nGK4F8hVpX3RdBCWtDm6.mp4",
"type": "video/mp4",
"height": 240
},
{
"src": "https://sdn-global-prog-cache.3qsdn.com/stream/.../4-KP6vg7JY2Rc9F3XDZxzr.mp4",
"type": "video/mp4",
"height": 360
},
{
"src": "https://sdn-global-prog-cache.3qsdn.com/stream/.../3-v7rxNPKYDzgLH9Vtb3Gj.mp4",
"type": "video/mp4",
"height": 480
},
{
"src": "https://sdn-global-prog-cache.3qsdn.com/stream/.../2-cMJT4DCB8drvPYRhz7x6.mp4",
"type": "video/mp4",
"height": 720
}
]
}
...
}Last updated
