添加获取截图接口

This commit is contained in:
648540858
2023-05-29 23:28:06 +08:00
parent 57192a49d1
commit 5a152791c0
11 changed files with 127 additions and 27 deletions

View File

@@ -1,6 +1,6 @@
package com.genersoft.iot.vmp.service.bean;
public interface InviteErrorCallback<T> {
public interface ErrorCallback<T> {
void run(int code, String msg, T data);
}

View File

@@ -5,6 +5,7 @@ package com.genersoft.iot.vmp.service.bean;
*/
public enum InviteErrorCode {
SUCCESS(0, "成功"),
FAIL(-100, "失败"),
ERROR_FOR_SIGNALLING_TIMEOUT(-1, "信令超时"),
ERROR_FOR_STREAM_TIMEOUT(-2, "收流超时"),
ERROR_FOR_RESOURCE_EXHAUSTION(-3, "资源耗尽"),