Displaying 1 result from an estimated 1 matches for "appledevicesupp".
2008 Nov 29
0
Icecast Streaming to an iPhone or iPod touch
...rmat.c 2008-11-29 15:50:59.000000000 -0500
@@ -280,12 +280,32 @@
avl_node *node;
ice_config_t *config;
+ /* Partial hack, check for range and user agent in this function */
+ const char *useragent;
+ useragent = httpp_getvar (client->parser, "user-agent");
+ int appledevicesupp = 0;
+
+ if (useragent && strstr(useragent, "CoreMedia")) {
+ appledevicesupp = 1;
+ }
+
remaining = client->refbuf->len;
ptr = client->refbuf->data;
client->respcode = 200;
- bytes = snprintf (ptr, remaining, "HTTP/1.0 200...