C# Twilio视频API-将令牌转换为网络摄像头?

C# Twilio视频API-将令牌转换为网络摄像头?,c#,webforms,twilio-api,C#,Webforms,Twilio Api,几乎没有关于Twilio视频API的文档。我想把代币变成视频 我写过这样的话: protected void Page_Load(object sender, EventArgs e) { // Connection details var accountSid = "hehe"; var apiKeySid = "hehe"; var apiKeySecret = "hehe"; var identity = "hehe"; // Per

几乎没有关于Twilio视频API的文档。我想把代币变成视频

我写过这样的话:

protected void Page_Load(object sender, EventArgs e)
{


    // Connection details
    var accountSid = "hehe";
    var apiKeySid = "hehe";
    var apiKeySecret = "hehe";

    var identity = "hehe";

    // Permission for Token
    var grant = new VideoGrant();
    grant.Room = "Matt";
    var grants = new HashSet { grant };


    // Create an Access Token generator
    var token = new Token(accountSid, apiKeySid, apiKeySecret, identity: identity);


    Response.Write(token.ToJwt());
}
它返回一个令牌,但我不知道如何使用该令牌显示媒体播放器。我仍然使用ASP.NETWebForms,这似乎有点像是一个诅咒,因为这绝对没有什么可以给我一点提示,告诉我该怎么做

刚到C#所以如果我傻了,我很抱歉


谢谢

很抱歉,我无法理解这个问题,请您详细说明一下……我正在尝试使用Twilio的视频API。这段代码返回访问令牌,但是在这一点之后,没有关于下一步要做什么的线索?您在这里检查了吗