You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scenario:
your addon needs to fetch from a lot of sources, so it needs to wait for all of them to reply so it can respond to a stream request
Solution:
Stremio does multiple stream requests to the same addon
Proposed SDK solution: /manifest.json:
{
...
"sources": ['first','second']
...
}
/stream/{type}/{videoID}/{source}.json:
builder.defineStreamHandler(function(args){if(args.source=='first'){// serve one stream to big buck bunnyconststream={url: 'http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_30fps_normal.mp4'}returnPromise.resolve({streams: [stream]})}})
The text was updated successfully, but these errors were encountered:
Scenario:
your addon needs to fetch from a lot of sources, so it needs to wait for all of them to reply so it can respond to a stream request
Solution:
Stremio does multiple stream requests to the same addon
Proposed SDK solution:
/manifest.json
:/stream/{type}/{videoID}/{source}.json
:The text was updated successfully, but these errors were encountered: