You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
2.3 KiB
50 lines
2.3 KiB
#ifndef __ONVIF_CLIENT_MEDIA__
|
|
#define __ONVIF_CLIENT_MEDIA__
|
|
|
|
#include <string>
|
|
#include <map>
|
|
#include <iostream>
|
|
#include <list>
|
|
|
|
#include "onvifclientdevice.hpp"
|
|
#include "../onvifgen/soapStub.h"
|
|
#include "../onvifgen/soapMediaBindingProxy.h"
|
|
#include "../gsoap/wsseapi.h"
|
|
|
|
|
|
using namespace std;
|
|
|
|
class ONVIFLIB_API OnvifClientMedia
|
|
{
|
|
public:
|
|
OnvifClientMedia(OnvifClientDevice &device);
|
|
~OnvifClientMedia();
|
|
public:
|
|
//Profile Functions
|
|
int GetProfiles(_trt__GetProfilesResponse &profiles);
|
|
int GetProfile(_trt__GetProfileResponse &profileResponse,string profileToken);
|
|
int CreateProfile(_trt__CreateProfileResponse &CreateProfileResponse,string Name,string token);
|
|
//Uri and streaming functions
|
|
int GetSnapshotUri(_trt__GetSnapshotUriResponse &SnapshotUriResponse,string profileToken);
|
|
int GetStreamUri(_trt__GetStreamUriResponse &StreamUriResponse,tt__StreamSetup &StreamSetup, string profileToken);
|
|
int GetServiceCapabilities(_trt__GetServiceCapabilitiesResponse &GetServiceCapResponse);
|
|
int StartMulticastStreaming(_trt__StartMulticastStreamingResponse &StartMulticastResponse,string profileToken);
|
|
int StopMulticastStreaming(_trt__StopMulticastStreamingResponse &StopMulticastResponse,string profileToken);
|
|
//Video Source Functions
|
|
int GetVideoSources(_trt__GetVideoSourcesResponse &GetVideoSourcesResponse);
|
|
int GetVideoSourceConfigurations(_trt__GetVideoSourceConfigurationsResponse &GetVideoSourceConfigResponse);
|
|
int SetVideoSourceConfiguration(_trt__SetVideoSourceConfigurationResponse &SetVideoSourceConfigResponse);
|
|
int GetVideoSourceConfiguration(_trt__GetVideoSourceConfigurationResponse &GetVideoSourceConfigResponse,string ConfigurationToken);
|
|
int GetVideoSourceConfigurationOptions(_trt__GetVideoSourceConfigurationOptionsResponse &GetVideoSourceConfigOptionsResponse, string ConfigurationToken,string profileToken);
|
|
//Meta data functions
|
|
int GetMetadataConfigurations(_trt__GetMetadataConfigurationsResponse &GetMetadataConfigurationsResponse);
|
|
int GetMetadataConfiguration(_trt__GetMetadataConfigurationResponse &GetMetadataConfigurationResponse,string profileToken);
|
|
int GetMetadataConfigurationOptions(_trt__GetMetadataConfigurationOptionsResponse &GetMetadataConfigurationOptionsResponse,string ConfigToken,string profileToken);
|
|
|
|
private:
|
|
OnvifClientDevice &m_Device;
|
|
MediaBindingProxy mediaProxy;
|
|
|
|
};
|
|
|
|
#endif /* __ONVIF_CLIENT_MEDIA__ */
|