Displaying 14 results from an estimated 14 matches for "xmlchildrennod".
Did you mean:
xmlchildrennode
2016 Jun 06
0
[PATCH] Config: Rename mp3-metadata-interval to icy-metadata-interval
...parse_mount(xmlDocPtr doc,
continue;
if (xmlStrcmp(node->name, XMLSTR("mount-name")) == 0) {
- mount->mountname = (char *)xmlNodeListGetString(doc,
+ mount->mountname = (char *)xmlNodeListGetString(doc,
node->xmlChildrenNode, 1);
} else if (xmlStrcmp(node->name, XMLSTR("username")) == 0) {
username = (char *)xmlNodeListGetString(doc,
@@ -1328,6 +1328,15 @@ static void _parse_mount(xmlDocPtr doc,
mount->charset = (char *)xmlNodeListGetString(doc,...
2015 Mar 22
2
exposed-port option for Icecast behind reverse proxy
...ch is for Icecast version 2.3.2:
diff --git a/src/cfgfile.c b/src/cfgfile.c
index 5eac93d..42d917f 100644
--- a/src/cfgfile.c
+++ b/src/cfgfile.c
@@ -436,6 +436,10 @@ static void _parse_root(xmlDocPtr doc, xmlNodePtr node,
configuration->mimetypes_fn = (char *)xmlNodeListGetString(doc,
node->xmlChildrenNode, 1);
} else if (xmlStrcmp (node->name, XMLSTR("listen-socket")) == 0) {
_parse_listen_socket(doc, node->xmlChildrenNode, configuration);
+ } else if (xmlStrcmp (node->name, XMLSTR("exposed-port")) == 0) {
+ tmp = (char *)xmlNodeListGetString(doc, node->xmlChildrenNo...
2004 Aug 06
0
[PATCH] Add per-listener and per-mount connection time limits.
...limit = CONFIG_DEFAULT_QUEUE_SIZE_LIMIT;
configuration->threadpool_size = CONFIG_DEFAULT_THREADPOOL_SIZE;
configuration->client_timeout = CONFIG_DEFAULT_CLIENT_TIMEOUT;
***************
*** 409,414 ****
--- 411,420 ----
tmp = (char *)xmlNodeListGetString(doc, node->xmlChildrenNode, 1);
configuration->source_limit = atoi(tmp);
if (tmp) xmlFree(tmp);
+ } else if (strcmp(node->name, "client-time-limit") == 0) {
+ tmp = (char *)xmlNodeListGetString(doc, node->xmlChildrenNode, 1);
+ configuration->...
2005 Nov 11
0
[PATCH] icecast video preview 2
...configuration->burst_size = CONFIG_DEFAULT_BURST_SIZE;
+ configuration->video_preview = CONFIG_DEFAULT_VIDEO_PREVIEW;
}
static void _parse_root(xmlDocPtr doc, xmlNodePtr node,
@@ -422,6 +424,10 @@
configuration->hostname = (char *)xmlNodeListGetString(doc, node->xmlChildrenNode, 1);
} else if (strcmp(node->name, "listen-socket") == 0) {
_parse_listen_socket(doc, node->xmlChildrenNode, configuration);
+ } else if (strcmp(node->name, "video-preview") == 0) {
+ tmp = (char *)xmlNodeListGetString(doc, node->xmlChi...
2005 Nov 11
2
[PATCH] icecast video preview 2
Updated version of video preview covering frame writing every 3 keyframe
and a xsl typo.
Best regards :)
kysucix
--
Make things as simple as possible, but no simpler. - Albert Einstein
2005 Nov 11
1
[PATCH] icecast video preview
Hi. Here it is my patch to put a video preview of a theora stream in
status.xsl.
I just added a:
<video-preview>1</video-preview>
parameters in icecast.xml.in that control the previewing function.
It encodes a png in $webroot/$mountname.tmp and then move it to
$webroot/$mountname.png
As for now it saves a frame every theora keyframe, which is probably
too heavy for the server but
2004 Aug 06
0
[RFC] RTP support
...-348,6 +351,18 @@
configuration->port = atoi(tmp);
configuration->listeners[0].port = atoi(tmp);
if (tmp) xmlFree(tmp);
+ } else if (strcmp(node->name, "rtp-port") == 0) {
+ tmp = (char *)xmlNodeListGetString(doc, node->xmlChildrenNode, 1);
+ configuration->rtp_port = atoi(tmp);
+ if (tmp) xmlFree(tmp);
+ } else if (strcmp(node->name, "rtp-ttl") == 0) {
+ tmp = (char *)xmlNodeListGetString(doc, node->xmlChildrenNode, 1);
+ configuration->rtp_ttl = ato...
2004 Aug 06
0
[PATCH] IceCast2 - socket-based default mount
..._interval = CONFIG_MASTER_UPDATE_INTERVAL;
@@ -333,6 +335,10 @@
if (configuration->listeners[0].bind_address)
xmlFree(configuration->listeners[0].bind_address);
configuration->listeners[0].bind_address = (char *)xmlNodeListGetString(doc, node->xmlChildrenNode, 1);
+ } else if (strcmp(node->name, "default-mount") == 0) {
+ if (configuration->listeners[0].default_mount)
+ xmlFree(configuration->listeners[0].default_mount);
+ configuration->listeners[0].default_mount = (char *)xmlNodeListG...
2004 Aug 06
6
[PATCH] Icecast2 - chroot, setuid/gid...
Hi all again...
I did a chroot patch with ability to change uid and gid.
I dunno if you all approve with the current implementation but the patch
is small and it works here.
remember to CC, since i'm not on this ml...
//Ian Kumlien
PS. To anyone on vorbis-dev, I'm *REALLY* sorry must be tired or something.. =)
DS.
<p><p><p>
-------------- next part --------------
A
2004 Aug 06
1
Re: [vorbis] another Icecast2/Vorbis stream on-line
...ns to this code right now, it just modifies the encoder
example to read from teh soundcard and send to a socket.
It's only half an hour's work so far, I'm now trying to get Icecast2.0
compiled - I'm getting a load of messages like this.
config.c:265: structure has no member named `xmlChildrenNode'
--
Scott Manley (AKA Szyzyg)
Streaming Media Hacker
www.myplay.com
Listening to..... Floorgasm II - The Hard House Years
http://www.myplay.com/mp/playlist/now_playing.jsp?plid=381576&start=1
--- >8 ----
List archives: http://www.xiph.org/archives/
icecast project homepage: http:/...
2010 Sep 06
2
Adding Configuration Options
...is parsed,
and how the settings for a specific mount point are read.
In cfgfile.c - _parse_mount() I've added the following lines:
} else if (xmlStrcmp (node->name, XMLSTR("playlist-notify-uri")) == 0) {
mount->playlist_notify_uri = (char *)xmlNodeListGetString (doc,
node->xmlChildrenNode, 1);
}
My goal is to include the URI in my logging.c file, and get the value of the
field:
<mount>
<playlist-notify-uri>http://test.com/icecast/notify</playlist-notify-uri>
</mount>
Basically, I'm having Icecast POST to a certain URI whenever it detects a...
2010 Sep 06
0
Adding Configuration Options
...ings for a specific mount point are read.
>
> In cfgfile.c - _parse_mount() I've added the following lines:
>
> } else if (xmlStrcmp (node->name, XMLSTR("playlist-notify-uri")) == 0) {
> mount->playlist_notify_uri = (char *)xmlNodeListGetString (doc,
> node->xmlChildrenNode, 1);
> }
>
> My goal is to include the URI in my logging.c file, and get the value of the
> field:
>
> <mount>
> <playlist-notify-uri>http://test.com/icecast/notify</playlist-notify-uri>
> </mount>
>
> Basically, I'm having Ice...
2004 Aug 06
3
Re: [vorbis] another Icecast2/Vorbis stream on-line
> I'll be posting some basic protocol ideas soon as I think I've finally
> figured out how I want to handle stats and future admin functionality.
I've written a mini liveice streamer/encoder built around the vorbis
library, I need to know what connection protocol the new server will
work around.
(I'd get the icecast 2.0 sources, but once again the icecast source
control
2004 Aug 06
1
[PATCH] IceCast2 - aliasing (reimplementation of the patch I posted earlier)
...de,
ice_config_t *configuration)
{
+ char *temp;
+ aliases *alias, *current, *last;
+
do {
if (node == NULL) break;
if (xmlIsBlankNode(node)) continue;
@@ -621,7 +638,39 @@
configuration->webroot_dir = (char *)xmlNodeListGetString(doc, node->xmlChildrenNode, 1);
if(configuration->webroot_dir[strlen(configuration->webroot_dir)-1] == '/')
configuration->webroot_dir[strlen(configuration->webroot_dir)-1] = 0;
-
+ } else if (strcmp(node->name, "alias") == 0) {
+ alias = mallo...