Skip to content

Commit 1302f26

Browse files
committed
fixup: avoid duplicating outputs
Will be merged later
1 parent 4e0a2b5 commit 1302f26

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

text/0045-protocols-in-outputs-api.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,11 @@ Byproduct: Add also the possibility to support third-party plugin which add prot
2121
**This only concern outputs with the flag `OBS_OUTPUT_SERVICE`.**
2222

2323
Adding to the API those fields:
24-
- `protocol`: protocols "official" acronym (ex: RTMP, WebRTC)
25-
- `protocol_prefix` (optional): for custom service detection (eg `rtmp://`, `srt://`)
24+
- `protocols`: protocols "official" acronym (ex: RTMP, WebRTC)
25+
- `protocols_prefixes` (optional): for custom service detection (eg `rtmp://`, `srt://`)
2626

27-
A output only support one protocol like an encoder support only one codec.
27+
28+
If an output support various protocol like `;` should be used as a separator between them (e.g `"RTMP;RTMPS"`, `"SRT;RIST"`). Same for prefixes (e.g `"rtmps://;rtmp://"`, `"srt://;rist://"`).
2829

2930
Adding to the API those functions:
3031
- `bool obs_output_find_protocol(const char*)`: return true if an output with the protocol is registered

0 commit comments

Comments
 (0)