Description of some event parameters in WMS authorization plug-in authorizeevent
Last Update:2018-12-06
Source: Internet
Author: User
Public object getauthorizedevents ()
{
// Todo: Add cwmsauthorizeplugin. getauthorizedevents implementation
Try
{
Cwmsauthorizeplugin. writelog ("Enter getauthorizedevents ");
// Identify the events the plug-in can authorize.
Wms_event_type [] wmsevents = {wms_event_type.wms_event_connect, example, wms_event_type.wms_event_play, role };
Return (object) wmsevents;
}
Catch (exception ex)
{
// Throw e_fail to the server.
Throw new comexception ();
}
}
In authorizeevent, the content of pcommandctx. getcommandrequest (Out cmdreq); In cmdreq is captured.
The results are as follows:
_________________ 2007-10-20 16:07:10 ___________________
Enter authorizeevent wms_event_connect
------------------------------------
_________________ 2007-10-20 16:07:10 ___________________
------------------------------------
_________________ 2007-10-20 16:07:10 ___________________
Enter authorizeevent wms_event_begin_user_session
------------------------------------
_________________ 2007-10-20 16:07:10 ___________________
------------------------------------
_________________ 2007-10-20 16:07:10 ___________________
Enter authorizeevent wms_event_logical_url_transform
------------------------------------
_________________ 2007-10-20 16:07:10 ___________________
Name = @ stream event; hint = 15; ovalue = system. _ comobject; option = 1;
Name = @ accepted proxy protocols; hint = 161; ovalue = system. _ comobject; option = 1;
Name = @ accepted protocols; hint = 45; ovalue = system. _ comobject; option = 1;
Name = @ wms_command_context_url_port; hint = 5; ovalue = 554; option = 1;
Name = @ proto vers; hint = 9; ovalue = 1.0; option = 1;
Name = @ proto; hint = 8; ovalue = RTSP; option = 1;
Name = @ wms_command_context_url; hint = 2; ovalue = rtsp: // CS/test/a. wmv? Uid = 10 & Vcode = 123456; option = 1;
Name = @ wms_command_context_url_hostname; hint = 4; ovalue = cs; option = 1;
Name = @ wms_command_context_url_extrainfo; hint = 7; ovalue =? Uid = 10 & Vcode = 123456; option = 1;
Name = @ wms_command_context_url_path; hint = 6; ovalue = test/a. wmv; option = 1;
Name = @ wms_command_context_url_scheme; hint = 3; ovalue = RTSP; option = 1;
Name = @ wms_command_name; hint = 153; ovalue = describe; option = 1;
Name = supported; hint = 1070; ovalue = system. _ comobject; option = 257;
Name = CSeq; hint = 1060; ovalue = system. _ comobject; option = 257;
Name = accept-language; hint = 1003; ovalue = system. _ comobject; option = 257;
Name = x-Accept-authentication; hint = 1074; ovalue = system. _ comobject; option = 257;
Name = accept-charset; hint = 1001; ovalue = system. _ comobject; option = 257;
Name = accept; hint = 1000; ovalue = system. _ comobject; option = 257;
Name = User-Agent; hint = 1025; ovalue = system. _ comobject; option = 257;
------------------------------------
_________________ 2007-10-20 16:07:10 ___________________
Enter authorizeevent wms_event_physical_url_transform
------------------------------------
_________________ 2007-10-20 16:07:10 ___________________
Name = @ stream event; hint = 15; ovalue = system. _ comobject; option = 1;
Name = @ accepted proxy protocols; hint = 161; ovalue = system. _ comobject; option = 1;
Name = @ accepted protocols; hint = 45; ovalue = system. _ comobject; option = 1;
Name = @ wms_command_context_url_port; hint = 5; ovalue = 554; option = 1;
Name = @ proto vers; hint = 9; ovalue = 1.0; option = 1;
Name = @ proto; hint = 8; ovalue = RTSP; option = 1;
Name = @ wms_command_context_url; hint = 2; ovalue = rtsp: // CS/test/a. wmv? Uid = 10 & Vcode = 123456; option = 1;
Name = @ wms_command_context_url_hostname; hint = 4; ovalue = cs; option = 1;
Name = @ wms_command_context_url_extrainfo; hint = 7; ovalue =? Uid = 10 & Vcode = 123456; option = 1;
Name = @ wms_command_context_url_path; hint = 6; ovalue = test/a. wmv; option = 1;
Name = @ wms_command_context_url_scheme; hint = 3; ovalue = RTSP; option = 1;
Name = @ wms_command_name; hint = 153; ovalue = describe; option = 1;
Name = supported; hint = 1070; ovalue = system. _ comobject; option = 257;
Name = CSeq; hint = 1060; ovalue = system. _ comobject; option = 257;
Name = accept-language; hint = 1003; ovalue = system. _ comobject; option = 257;
Name = x-Accept-authentication; hint = 1074; ovalue = system. _ comobject; option = 257;
Name = accept-charset; hint = 1001; ovalue = system. _ comobject; option = 257;
Name = accept; hint = 1000; ovalue = system. _ comobject; option = 257;
Name = User-Agent; hint = 1025; ovalue = system. _ comobject; option = 257;
------------------------------------
_________________ 2007-10-20 16:07:10 ___________________
Enter authorizeevent wms_event_describe
------------------------------------
_________________ 2007-10-20 16:07:10 ___________________
Name = @ stream event; hint = 15; ovalue = system. _ comobject; option = 1;
Name = @ accepted proxy protocols; hint = 161; ovalue = system. _ comobject; option = 1;
Name = @ accepted protocols; hint = 45; ovalue = system. _ comobject; option = 1;
Name = @ wms_command_context_url_port; hint = 5; ovalue = 554; option = 1;
Name = @ proto vers; hint = 9; ovalue = 1.0; option = 1;
Name = @ proto; hint = 8; ovalue = RTSP; option = 1;
Name = @ wms_command_context_url; hint = 2; ovalue = rtsp: // CS/test/a. wmv? Uid = 10 & Vcode = 123456; option = 1;
Name = @ wms_command_context_url_hostname; hint = 4; ovalue = cs; option = 1;
Name = @ wms_command_context_url_extrainfo; hint = 7; ovalue =? Uid = 10 & Vcode = 123456; option = 1;
Name = @ wms_command_context_url_path; hint = 6; ovalue = test/a. wmv; option = 1;
Name = @ wms_command_context_url_scheme; hint = 3; ovalue = RTSP; option = 1;
Name = @ wms_command_name; hint = 153; ovalue = describe; option = 1;
Name = supported; hint = 1070; ovalue = system. _ comobject; option = 257;
Name = CSeq; hint = 1060; ovalue = system. _ comobject; option = 257;
Name = accept-language; hint = 1003; ovalue = system. _ comobject; option = 257;
Name = x-Accept-authentication; hint = 1074; ovalue = system. _ comobject; option = 257;
Name = accept-charset; hint = 1001; ovalue = system. _ comobject; option = 257;
Name = accept; hint = 1000; ovalue = system. _ comobject; option = 257;
Name = User-Agent; hint = 1025; ovalue = system. _ comobject; option = 257;
------------------------------------
_________________ 2007-10-20 16:07:10 ___________________
Enter authorizeevent wms_event_open
------------------------------------
_________________ 2007-10-20 16:07:10 ___________________
Name = @ stream event; hint = 15; ovalue = system. _ comobject; option = 1;
Name = @ transport properties; hint = 13; ovalue = system. _ comobject; option = 1;
Name = @ stream switch; hint = 25; ovalue = system. _ comobject; option = 1;
Name = @ accepted proxy protocols; hint = 161; ovalue = system. _ comobject; option = 1;
Name = @ accepted protocols; hint = 45; ovalue = system. _ comobject; option = 1;
Name = @ wms_command_context_url_port; hint = 5; ovalue = 554; option = 1;
Name = @ proto vers; hint = 9; ovalue = 1.0; option = 1;
Name = @ proto; hint = 8; ovalue = RTSP; option = 1;
Name = @ wms_command_context_url; hint = 2; ovalue = rtsp: // CS/test/a. wmv/RTx; option = 1;
Name = @ wms_command_context_url_hostname; hint = 4; ovalue = cs; option = 1;
Name = @ wms_command_context_url_path; hint = 6; ovalue = test/a. wmv/RTx; option = 1;
Name = @ wms_command_context_url_scheme; hint = 3; ovalue = RTSP; option = 1;
Name = @ wms_command_name; hint = 153; ovalue = setup; option = 1;
Name = transport; hint = 1068; ovalue = system. _ comobject; option = 257;
Name = x-playlist-gen-ID; hint = 1080; ovalue = system. _ comobject; option = 257;
Name = CSeq; hint = 1060; ovalue = system. _ comobject; option = 257;
Name = accept-language; hint = 1003; ovalue = system. _ comobject; option = 257;
Name = x-Accept-authentication; hint = 1074; ovalue = system. _ comobject; option = 257;
Name = accept-charset; hint = 1001; ovalue = system. _ comobject; option = 257;
Name = User-Agent; hint = 1025; ovalue = system. _ comobject; option = 257;
------------------------------------
_________________ 2007-10-20 16:07:10 ___________________
Enter authorizeevent wms_event_select_streams
------------------------------------
_________________ 2007-10-20 16:07:10 ___________________
Name = @ stream event; hint = 15; ovalue = system. _ comobject; option = 1;
Name = @ transport properties; hint = 13; ovalue = system. _ comobject; option = 1;
Name = @ stream switch; hint = 25; ovalue = system. _ comobject; option = 1;
Name = @ accepted proxy protocols; hint = 161; ovalue = system. _ comobject; option = 1;
Name = @ accepted protocols; hint = 45; ovalue = system. _ comobject; option = 1;
Name = @ wms_command_context_url_port; hint = 5; ovalue = 554; option = 1;
Name = @ proto vers; hint = 9; ovalue = 1.0; option = 1;
Name = @ proto; hint = 8; ovalue = RTSP; option = 1;
Name = @ wms_command_context_url; hint = 2; ovalue = rtsp: // CS/test/a. wmv/RTx; option = 1;
Name = @ wms_command_context_url_hostname; hint = 4; ovalue = cs; option = 1;
Name = @ wms_command_context_url_path; hint = 6; ovalue = test/a. wmv/RTx; option = 1;
Name = @ wms_command_context_url_scheme; hint = 3; ovalue = RTSP; option = 1;
Name = @ wms_command_name; hint = 153; ovalue = setup; option = 1;
Name = transport; hint = 1068; ovalue = system. _ comobject; option = 257;
Name = x-playlist-gen-ID; hint = 1080; ovalue = system. _ comobject; option = 257;
Name = CSeq; hint = 1060; ovalue = system. _ comobject; option = 257;
Name = accept-language; hint = 1003; ovalue = system. _ comobject; option = 257;
Name = x-Accept-authentication; hint = 1074; ovalue = system. _ comobject; option = 257;
Name = accept-charset; hint = 1001; ovalue = system. _ comobject; option = 257;
Name = User-Agent; hint = 1025; ovalue = system. _ comobject; option = 257;
------------------------------------