Copy link to clipboard
Copied
Hello,
How can I detect in my Main.asc if the live stream is in the VP6 format or H.265 format?
Thanks!
Copy link to clipboard
Copied
I dont think you can do it directly on live stream in main.asc. I have workaround to do that. Basically you record incoming stream fro say 5-10 secs and just call Stream.getOnMetaData on that recorded file and trace out videocodecId property in metadata , if its 4 its VP6 and if its 7 its H264. If you dont want to record it , I would suggest you can use Auth Adaptor which will give you Video Codec of live stream publish.
Copy link to clipboard
Copied
Hi SE,
Do you have some sample code you're willing to share? Thanks!