Description of some event parameters in WMS authorization plug-in authorizeevent

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;

------------------------------------

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.