Created
December 7, 2009 06:46
-
-
Save maxlapshin/250672 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
checkBandwidth(#amf{args = [null | Args]} = AMF, #rtmp_session{current_speed = Speed} = State) when is_number(Speed) -> | |
?D({"checkBandwidth", Args}), | |
apps_rtmp:reply(AMF#amf{args = [null, Speed]}), | |
State; | |
checkBandwidth(#amf{args = [null | Args]} = AMF, State) when is_number(Speed) -> | |
?D({"checkBandwidth", Args}), | |
apps_rtmp:reply(AMF#amf{args = [null, null]}), | |
State. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment