diff --git a/rtmp/rtmp.go b/rtmp/rtmp.go index c4a15108..125410f3 100644 --- a/rtmp/rtmp.go +++ b/rtmp/rtmp.go @@ -767,7 +767,7 @@ func handleInvoke(s *Session, body []byte) error { var obj2 C_AMFObject C_AMFProp_GetObject(C_AMF_GetProp(&obj, "", 3), &obj2) code := C_AMFProp_GetString(C_AMF_GetProp(&obj2, av_code, -1)) - level := C_AMFProp_GetString(C_AMF_GetProp(&obj2, av_level, -1)) // Not used. + level := C_AMFProp_GetString(C_AMF_GetProp(&obj2, av_level, -1)) s.log(DebugLevel, pkg+"onStatus", "code", code, "level", level) switch code {