Commit d115f152 authored by smaynard's avatar smaynard

add dnla+ to protocol of uri

parent 0f7d7f1b
......@@ -163,7 +163,7 @@ int main(int argc, char *argv[])
// Build default URI if one was not specified
if (g_uri[0] == '\0')
{
char* line2 = "http://";
char* line2 = "dlna+http://";
char* line3 = ":8008/ocaphn/recording?rrid=";
char* line4 = "&profile=MPEG_TS_SD_NA_ISO&mime=video/mpeg";
if (g_use_dtcp)
......@@ -2052,7 +2052,7 @@ static gboolean set_new_uri(CustomData* data)
// Formulate a new URI
gchar new_uri[256];
new_uri[0] = '\0';
char* line2 = "http://";
char* line2 = "dlna+http://";
char* line3 = ":8008/ocaphn/recording?rrid=";
char* line4 = "&profile=MPEG_TS_SD_NA_ISO&mime=video/mpeg";
sprintf(new_uri, "%s%s%s%d%s", line2, g_host, line3, 7, line4);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment