Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

on对于MEDIA_INFO的获取是无效的,无法返回mediainfo信息 #117

Closed
xiaolabazai opened this issue Jun 7, 2023 · 4 comments
Closed

Comments

@xiaolabazai
Copy link

No description provided.

@mihailj
Copy link

mihailj commented Jun 27, 2023

I have the same problem, the MEDIA_INFO event is not triggered for a HEVC live stream.

Maybe this is not supported?

@mihailj
Copy link

mihailj commented Jun 27, 2023

Problem found! The MediaInfo.isComplete() function doesn't return true as it should.

In my case this.profile is undefined. So this condition will not evaluate correctly:

this.profile != null

It returns false instead of true, I propose for the condition to be changed to strict equality:

this.profile !== null

Also there seems to be an issue with hasAudio evaluation... in my case is null , not true or false...

Cheers!

@neu-yuyang
Copy link

oh hoo!!! The same problem to me, and you helped me!!! Thanks!!!

@xqq
Copy link
Owner

xqq commented Oct 12, 2023

@xiaolabazai @mihailj
Should be fixed in 857ae59

@xqq xqq closed this as completed Oct 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants