parent
bc2c89cf34
commit
9ec43ce9b6
@ -0,0 +1,24 @@ |
|||||||
|
package com.zilber.boot.dahua.video; |
||||||
|
|
||||||
|
import lombok.Data; |
||||||
|
|
||||||
|
/** |
||||||
|
*实时拉流request |
||||||
|
*/ |
||||||
|
@Data |
||||||
|
public class RtspUrlRequest { |
||||||
|
|
||||||
|
private Data data; |
||||||
|
|
||||||
|
@lombok.Data |
||||||
|
public static class Data{ |
||||||
|
|
||||||
|
private String channelId; |
||||||
|
|
||||||
|
private String dataType; |
||||||
|
|
||||||
|
private String streamType; |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
} |
@ -0,0 +1,40 @@ |
|||||||
|
package com.zilber.boot.dahua.video; |
||||||
|
|
||||||
|
import com.dahuatech.icc.oauth.http.IccResponse; |
||||||
|
import lombok.Data; |
||||||
|
|
||||||
|
/** |
||||||
|
* 实时拉流返回 |
||||||
|
*/ |
||||||
|
@Data |
||||||
|
public class RtspUrlResponse extends IccResponse { |
||||||
|
|
||||||
|
private RtspData data; |
||||||
|
|
||||||
|
@Data |
||||||
|
public static class RtspData { |
||||||
|
|
||||||
|
private String minRate; |
||||||
|
|
||||||
|
private String protocol; |
||||||
|
|
||||||
|
private String ip; |
||||||
|
|
||||||
|
private String port; |
||||||
|
|
||||||
|
private String stunEnable; |
||||||
|
|
||||||
|
private String stunPort; |
||||||
|
|
||||||
|
private String url; |
||||||
|
|
||||||
|
private String connectType; |
||||||
|
|
||||||
|
private String session; |
||||||
|
|
||||||
|
private String token; |
||||||
|
|
||||||
|
private String trackId; |
||||||
|
|
||||||
|
} |
||||||
|
} |
Loading…
Reference in new issue