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

Feat/webcam Add web player for monitor #1105

Merged
merged 6 commits into from
Mar 16, 2024
Merged

Conversation

rikugun
Copy link
Contributor

@rikugun rikugun commented Mar 8, 2024

add monitor event to shapes, use xgplayer to play live media ,such like http-flv,mp4 .

add a shape with new monitor event
2591709865931_ pic
2581709865911_ pic

when click shapes show dialog

2571709865845_ pic

tested media

http://s2.pstatp.com/cdn/expire-1-M/byted-player-videos/1.0.0/xgplayer-demo.mp4

https://mister-ben.github.io/videojs-flvjs/bbb.flv

rikugun and others added 4 commits March 8, 2024 10:22
  add monitor event to shapes, use xgplayer to play live media ,such like http-flv,mp4 .
  add monitor event to shapes, use xgplayer to play live media ,such like http-flv,mp4 .
  add monitor event to shapes, use xgplayer to play live media ,such like http-flv,mp4 .
@unocelli
Copy link
Member

Hi, Amazing, I love it.
Why didn't you use a more popular library like Video.js or Plyr?

Copy link
Member

@unocelli unocelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your pull request! Overall, it looks great. One small suggestion I have is regarding the use of double quotes instead of single quotes in some parts of the code. It's a good practice to consistently use single quotes for string literals in JavaScript.

@rikugun
Copy link
Contributor Author

rikugun commented Mar 12, 2024

Hi, Amazing, I love it. Why didn't you use a more popular library like Video.js or Plyr?

xgplayer compatibility is better, and http-flv format is popular for live media. xgplayer belong to the bytedance who devlope tiktok , by the way .

xgplayer

@rikugun rikugun requested a review from unocelli March 12, 2024 13:36
@unocelli unocelli merged commit 0f9f860 into frangoteam:master Mar 16, 2024
@unocelli
Copy link
Member

Thanks again!

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

Successfully merging this pull request may close these issues.

2 participants