|
|
@ -723,7 +723,7 @@ vhost hooks.callback.srs.com {
|
|
|
|
# "action": "on_publish",
|
|
|
|
# "action": "on_publish",
|
|
|
|
# "client_id": 1985,
|
|
|
|
# "client_id": 1985,
|
|
|
|
# "ip": "192.168.1.10", "vhost": "video.test.com", "app": "live",
|
|
|
|
# "ip": "192.168.1.10", "vhost": "video.test.com", "app": "live",
|
|
|
|
# "stream": "livestream"
|
|
|
|
# "stream": "livestream", "param":"?token=xxx&salt=yyy"
|
|
|
|
# }
|
|
|
|
# }
|
|
|
|
# if valid, the hook must return HTTP code 200(Stauts OK) and response
|
|
|
|
# if valid, the hook must return HTTP code 200(Stauts OK) and response
|
|
|
|
# an int value specifies the error code(0 corresponding to success):
|
|
|
|
# an int value specifies the error code(0 corresponding to success):
|
|
|
|