providers/.docs/content/2.essentials/1.targets.md

15 lines
690 B
Markdown
Raw Normal View History

2023-09-27 17:00:40 +00:00
# Targets
2023-12-26 23:15:23 +00:00
When creating provider controls, you will immediately be required to choose a target.
2023-09-27 17:00:40 +00:00
2023-12-26 23:15:23 +00:00
::alert{type="warning"}
2023-12-31 03:35:48 +00:00
A target is the device on which the stream will be played.
2023-09-27 17:00:40 +00:00
**Where the scraping is run has nothing to do with the target**, only where the stream is finally played in the end is significant in choosing a target.
::
#### Possible targets
- **`targets.BROWSER`** Stream will be played in a browser with CORS
2023-12-26 23:15:23 +00:00
- **`targets.BROWSER_EXTENSION`** Stream will be played in a browser using the movie-web extension (WIP)
- **`targets.NATIVE`** Stream will be played on a native video player
- **`targets.ANY`** No restrictions for selecting streams, will just give all of them