当前位置:网站首页>How to handle the abnormal state of easycvr national standard cascading superior display?
How to handle the abnormal state of easycvr national standard cascading superior display?
2022-06-24 02:14:00 【Tsingsee green rhino video】
EasyCVR The cascade function of is to pass the channel above us through the national standard sip A way to push the agreement to the superior , However, different superior platforms have their own characteristics in docking settings , When we configure , It also needs to be adjusted according to the properties of different platforms .
EasyCVR When the national standard cascades to the upper level , The phenomenon of abnormal cascade state occurs . To solve this problem, we need to make adjustments , So first of all, let's do packet capturing and troubleshooting . The packet capturing file of the registered signaling is as follows :
We can see from the above that Register message sending to There is a splicing error in the field , This error is mainly caused by the misoperation of the last submission point , So we need to optimize the code for this submission , The optimized reference code is as follows :
@@ -260,6 +260,7 @@ func (c *Client) ClientOnline(b bool) {
//if strings.ToUpper(c.Transport.Protocol) == "UDP" {
c.Cascade.Online = b
db.SQLite.Model(c.Cascade).Where("id=?", c.Cascade.ID).Update("online", b)
log.Printf(" Cascade status update [%d], Online[%d]:", c.Cascade.ID, b)
//} else {
// if b {
// c.Cascade.Online = b
@@ -367,7 +368,7 @@ func (c *Client) MakeRequest(method, to string, tag string, body string) (req *R
localRealm = c.Cascade.Username[0:10]
} //c.Client.Cascade.Username,localRealm,
buf.WriteString(fmt.Sprintf("From: <sip:%[email protected]%s>;tag=%s\r\n", c.Cascade.Username, localRealm, tag))
buf.WriteString(fmt.Sprintf("To: <sip:%[email protected]%s>;tag=%s\r\n", c.Cascade.Serial, c.Cascade.Realm))
buf.WriteString(fmt.Sprintf("To: <sip:%[email protected]%s>\r\n", c.Cascade.Serial, c.Cascade.Realm))
buf.WriteString(fmt.Sprintf("Call-ID: %s\r\n", GenCallID()))
c.cseq++
buf.WriteString(fmt.Sprintf("CSeq: %d %s\r\n", c.cseq, strings.ToUpper(method)))Security video cloud service platform EasyCVR As a mature and stable video distribution platform , There is no need to adjust the existing monitoring architecture , Support CDN Push flow , Flexible to adapt to the original architecture ; And flexible expansion on demand 、 Shrinking resources , No plug-in installation 、 Browser restrictions, etc , No plug-ins are implemented 、 Multi platform free viewing playback .
Besides ,EasyCVR Has been expanding related functions such as intelligent analysis , Among them, face recognition function and traffic statistics function have been applied in some projects , Soon traffic statistics 、 License plate recognition and other functions will also be online . If you still want to know more or do actual deployment testing , Welcome to download .
边栏推荐
- [technical grass planting] how to batch check your server status? Cloud probe panel setup tutorial
- How to build your own website? Is it difficult?
- Why does the path obtained by the remote server echo%temp% have a number of 1, 2, 3, etc
- Easycvr connects with Huawei IVS platform to query the foreign domain list interface definition and use sharing
- How to explain to a 10-year-old how information is transmitted through the air? Contains a lot of network knowledge!
- Comparison of four dynamic routes: Rip, OSPF, Isis, BGP
- No serializer found for class ** and no propert no properties discovered to create BeanSerializer
- SAP mm Migo + 301 K can transfer vendor consignment inventory across factories
- What is a private VLAN? Eight part essay with pictures and texts.
- Thoroughly explain the details of the simple factory that you haven't paid attention to
猜你喜欢

BIM model example

Stm32g474 infrared receiving based on irtim peripherals

163 mailbox login portal display, enterprise mailbox computer version login portal

How to fill in and register e-mail, and open mass mailing software for free

Introduction to development model + test model

layer 3 switch

application. Yaml configuring multiple running environments

2020 language and intelligent technology competition was launched, and Baidu provided the largest Chinese data set

If there are enumerations in the entity object, the conversion of enumerations can be carried out with @jsonvalue and @enumvalue annotations

Advanced BOM tool intelligent packaging function
随机推荐
Tencent cloud database tdsql elite challenge --q & A
Tencent music, slow down?
How to protect your code - ollvm (1)
Advanced BOM tool intelligent packaging function
Detailed explanation of SSH tunnel and stable intranet penetration using autossh
NTP synchronization clock server server and client settings
What are the categories of code signing certificates? What are the differences between different types of certificates?
[technical grass planting] how to batch check your server status? Cloud probe panel setup tutorial
Custom form dynamic form form designer process engine design scheme
Thoroughly explain the details of the simple factory that you haven't paid attention to
Global and Chinese dealox industry development status and demand trend forecast report 2022-2028
What is a port? The most complete and strongest port number in history, collection!
Live broadcast of the double 11 King bombing! Must buy good things introduction, come on~
BIM model example
[expense center] demand & problem feedback week is coming! Feedback wins a good gift!
How to use the cloud game server is the cloud server stable
tokio_ Rustls self signed certificate
Network engineers must know the 10 technical points of IPv6. It is recommended to collect them!
Interviewer: let's talk about the snowflake algorithm. The more detailed, the better
[security] Tencent public cloud released the revolutionary function of "driving threat operation" of the new SOC security operation center!