-
-
Notifications
You must be signed in to change notification settings - Fork 9k
RFC 45-2: Add protocol in Services API and enum functions in Outputs API #8087
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
8c3f01a to
6e3ee78
Compare
d71e9d9 to
b025487
Compare
4806f09 to
d14112c
Compare
be0678d to
3da30a1
Compare
ad42091 to
5401209
Compare
b0600e3 to
4973495
Compare
|
Remove prefix related changes as it was done in the RFC. |
4973495 to
2b5743a
Compare
|
I generally approve of this, although one note is that twitch uses an API that can generate a new server list whenever the program is run. when that happens, it might switch it internally to RTMPS rather than RTMP. In general, RTMP/RTMPS are fairly interchangeable. So I'm not sure what to do about that. What do you think? |
|
Another thing Rodney pointed out is that it might have been nice to make it default to RTMP/RTMPS if a service doesn't have that item. Not sure how you feel about that one though. |
|
Actually exclude the last message, seems that was an intentional decision. |
2b5743a to
61cbcdd
Compare
|
Added change since it no longer enforce the "protocol" field in the JSON if the server URL is RTMP(S). |
df3e884 to
72fd7ec
Compare
|
54faabe to
a345045
Compare
If the server URL is not an RTMP(S) URL, the protocol field becomes required. The output field becomes required on non-RTMP(S) services to keep backward compatibility. Also skip service if the protocol is not available.
a345045 to
fa58a38
Compare
|
Refactor of |
Description
This PR is about the RFC 45.
Depends on:
Additions (those will be used in other parts of RFC 45 implementation):
get_protocolto servicesobs_enum_output_protocolsto enumerate protocolsobs_enum_output_types_with_protocolto enumerate outputs with the given protocol.Motivation and Context
Part of the implementation of the RFC 45.
How Has This Been Tested?
Testing by logging enumeration functions outputs and through other part of RFC 45 implementation.
Types of changes
Checklist: