You can follow below setup to re-generate your gSoap code by gSOAP.
1. Revise WS-typemap.dat to add customized namespace
tnsMy = <http://www.avigilon.com/onvif/ver10/topics>
tnsMy = <http://www.avigilon.com/onvif/ver10/topics>
當使用者想要建立一個 RTSP Stream 時,會先透過 GetStreamUri 詢問對應的 RTSP URI。
如果 GetStreamUri 的 Profile 內有定義 MetadataConfiguration,便表示後續使用者使用此 URI 建立 RTSP 時,RTSP 所回應的 SDP 內需要加入 metadata 的描述。
可以使用 IPC 的方式來通知 RTSP 加入 metadata。此處假設使用 shared memory,設定 gIsMetadata = TRUE。
** Event 定義
Event是設備上主動發生或被動產生的事件,IPCam 設備會偵測系統上發生了哪些事件(Event),並讓用戶能夠訂閱此資訊。
An event is an action or occurrence detected by a device that a client can subscribe to.** Property 定義
Property是許多值(name value pairs)的結合,並且以 Event 的方式封裝。
A Property is a collection of name and value pairs representing a unique and addressable set of data. They are uniquely identified by the combination of their Topic, Source and Key values and are packaged like ordinary events. A Property also contains an additional flag, stating whether it is newly created, has changed or has been deleted.