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
Copy file name to clipboardExpand all lines: text/0045-add-notion-of-protocol.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -100,10 +100,10 @@ In the future, if we want to support a protocol that doesn't use a server URL, t
100
100
101
101
#### About service JSON file
102
102
103
-
- For `services` objects, a `"protocol"` field will be added. This will be used to indicate the protocol for services in situation where:
103
+
- For `services` objects, a `"protocol"` field will be added. This will be used to indicate the protocol for services in situation where one of these is true:
104
104
- The protocol can not be deduced from server's URL prefix.
105
-
- The service is RTMP but has an HTTP URL as its server URL and it has custom code to request the true server URL through an API in the plugin. In this case the protocol will be enforced to the right protocol.
106
-
- Services that use a protocol that is not registered will not be shown. e.g. OBS Studio without RTMPS support will not show services and servers that rely on RTMPS.
105
+
- The service is RTMP but has an HTTP URL as its server URL and it has custom code to request the true server URL through an API in the plugin. In this case the protocol will be enforced to the right protocol (e.g., Dacast, YouNow).
106
+
- Services that use a protocol that is not registered will not be shown. For example, OBS Studio without RTMPS support will not show services and servers that rely on RTMPS.
107
107
- Codecs field for audio and video will be added to allow services to limit which codec is compatible with the service.
108
108
-`"output"` field in the `"recommended"` object will be deprecated, but it will be kept for backward compatibility. `const char *(*get_output_type)(void *data)` in `obs_service_info` will no longer be used by `rtmp-services`.
109
109
- The JSON schema will be modified to require the `"protocol"` field when the protocol is not auto-detectable. The same for the `"output"` field to keep backward compatibility.
@@ -114,7 +114,7 @@ In the future, if we want to support a protocol that doesn't use a server URL, t
114
114
115
115
The user can set a custom server through the service "Custom…", the protocol will be deduced based on URL prefixes from service outputs and default to RTMP if no matches.
116
116
117
-
NOTE: Allowing the user to manually choose the protocol (e.g. HLS) is part of RFC 39.
117
+
NOTE: Allowing the user to manually choose the protocol (e.g., HLS) is part of RFC 39.
0 commit comments