Skip to content

PlayUrl Workflow

lovegaoshi edited this page May 14, 2024 · 2 revisions

to load the next song, RNTPUtils.songlistToTracklist is used;

RNTPUtils.songlistToTracklist takes array of NoxMedia.Song and calls RNTPUtils.resolveAndCache;

RNTPUtils.resolveAndCache awaits SongOperation.resolveUrl and does caching functions from it;

SongOperation.resolveUrl ultimately returns utils.mediafetch.resolveURL.fetchPlayUrlPromise;

Clone this wiki locally