Use new added shout2send options

This commit is contained in:
László Károlyi 2022-05-14 15:55:58 +02:00
parent 8bb36dfb2a
commit 729f406934
Signed by: karolyi
GPG Key ID: 2DCAF25E55735BFE
1 changed files with 4 additions and 0 deletions

View File

@ -314,6 +314,7 @@ public:
<< std::quoted(GST_PAD_NAME(pad)) << " with an event type "
<< std::quoted(evtype) << std::endl;
if (look_for_tag_event(pad, event, user_data)) {
// std::cout << "dropping tag event" << std::endl;
// Drop all tag events (mark them as handled and unref as per doc)
gst_event_unref(event);
return GST_PAD_PROBE_HANDLED;
@ -801,6 +802,9 @@ public:
g_object_set(
shout2sendsink, "streamname", config.stream.name.c_str(), NULL);
g_object_set(shout2sendsink, "url", config.stream.url.c_str(), NULL);
g_object_set(shout2sendsink, "skip-song-updates", true, NULL);
g_object_set(
shout2sendsink, "user-agent", "IceGStreamer-20220514-01", NULL);
}
inline void hookup_signals() {