centricular / gstcefsrc

A simple gstreamer wrapper around Chromium Embedded Framework
83 stars 45 forks source link

Post console messages to bus #64

Closed frostbyte73 closed 1 year ago

frostbyte73 commented 1 year ago

Allows the pipeline to react to your web app through console messages

MathieuDuponchelle commented 1 year ago

oof, that is extremely spammy, you're not really supposed to post logs on the bus. I suppose applications could instead install a custom log handler to achieve the same results, but in reality logs are not supposed to be API, surely there are better ways to achieve your particular use case :)

frostbyte73 commented 1 year ago

oof, that is extremely spammy, you're not really supposed to post logs on the bus. I suppose applications could instead install a custom log handler to achieve the same results, but in reality logs are not supposed to be API, surely there are better ways to achieve your particular use case :)

Ah, makes sense. What we really want is to start and stop the pipeline according to certain log messages, and also a way to pass logs to our application logger instead of printing to stdout. I'll look into using a custom log handler

MathieuDuponchelle commented 1 year ago

@frostbyte73 OK, I'll close this then but don't hesitate to ask if you have issues, and thanks for taking the time to propose a patch :)