What would be the maximum length of Youtube Channel ID? - url

Channel ID is the ID that YouTube uses to uniquely identify the channel.
What is the max length of it?

The max length of youtube channel is 24.
I found out the maximum length from about 20k youtube channel IDs.

Related

using google STT, using streaming, want to receive input for 1min

I'm using Google STT with pyaudio for smart speaker(using python).
When using Single_utterance, STT is executed the moment the sentence is broken, and if its value is set to False, it seems that the input is received for 5 min, which is the maximum length of streaming.
However, I want to limit streaming length to 1 min. How can I make it?

What does the number in codec section of YouTube "stats for nerds" mean

YouTube "stats for nerds" gives the information about the video being played. In the codec section it shows the mimetype and a number in bracket. What does this number mean.
And how to get the latest Itag table for reference.
After a bit of searching I was able to figure it out myself
The number in brackets is the itag number for the codec + container + Profile combination. It is a unique number assigned by YouTube to identify different video types.
As for the latest itag table I was able to get it from Wikipedia.

GetWorkItemsAsync fails when it retrieves 1800 workitems

GetWorkItemsAsync fails when it retrieves 1800 workitems. Example:
int[] ids = (from WorkItem info in wlinks select info.Id).ToArray();
WorkItemTrackingHttpClient tfvcClient = _tfs.GetClient<WorkItemTrackingHttpClient>();
List<Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models.WorkItem> dworkitems = tfvcClient.GetWorkItemsAsync(ids).Result;
If I pass array of Ids with 90 elements it works fine.
Is there any limit that it can get only n number of elements, how can we overcome this problem?
Yes, there is a limitation of the URL length, it will get this exception once the URL length has been exceeded.
So, as a workaround you can limit your calls to a allowed range at a time (e.g. 200 ids at a time). Then call several times for the query.
Unfortunately you’ve hit a limitation of the URL length. Once the URL
length has been exceeded, the server just gets the truncated version,
so odds are high that the truncated work item id is not valid.
I recommend limiting your calls to 200 ids at a time.
Source here :
https://github.com/Microsoft/vsts-dotnet-samples/issues/49
Reference this thread for the limitation of the URL length: What is the maximum length of a URL in different browsers?
This similar thread for your reference: Is there any restriction for number of characters in TFS REST API?

How to determine maximum tag length with v3 api?

We allow updating video tags in our application. We've been having trouble determining how to correctly calculate the length of tags allowed. Does anyone have any information on how to correctly calculate that? For example how do spaces between tag words count toward the limit? Something like "funny video"
Thanks!

FMOD FMOD_DSP_READCALLBACK - specifying channels

I would like to create a DSP plugin which takes an input of 8 channels (the 7.1 speaker mode), does some processing then returns the data to 2 output channels. My plan was to use setspeakermode to FMOD_SPEAKERMODE_7POINT1 and FMOD_DSP_DESCRIPTION.channels to 2 but that didnt work, both in and out channels were showing as 2 in my FMOD_DSP_READCALLBACK function.
How can I do this?
You cannot perform a true downmix in FMODEx using the DSP plugin interface. The best you can do is process the incoming 8ch data, then fill just the front left and front right parts of the output buffer leaving the rest silent.
Setting the channel count to 2 tells FMOD your DSP can only handle stereo signal, setting the count to 0 means any channel count.

Resources