implement currentFPS for SRT #1324
ruirodrigues-eyenov
started this conversation in
Ideas
Replies: 1 comment
-
Creating a method for currentFPS seems excessive. It might be a good idea to remove the definition of NetStream.currentFPS and define it in SRTStream and RTMPStream instead. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello
I was looking in how to have currentFPS for updated SRTStream similar to how it is implemented in RTMPStream/RTMPConnection.
However the
currentFPS
in NetStream setter is internal so SRTStream cannot write into this property.One option is to make it public, similar to
readyStateWillChange(to:)
, or use the new package access modifier available in swift 5.9.Beta Was this translation helpful? Give feedback.
All reactions