Khvalovsky / gecko-mediaplayer

Automatically exported from code.google.com/p/gecko-mediaplayer
GNU General Public License v2.0
0 stars 0 forks source link

Cannot play multicast / unicast UDP streams in browser #138

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Embed media player in web page and try setting 
src='udp://@<mulitcast-ip>:<multicast-port>'
2. Observe that the stream will not play
3.

What is the expected output? What do you see instead?

I expect to see the multicast stream play-out in my web page.  Instead, I get 
no stream and just the grey background of the media player.  

What version of the product are you using? On what operating system?

Version 0.9.9.2.2 on linux mint 10 (based on Ubuntu 10.10)

Please provide any additional information below.

Does the plugin support the play-out of multicast / unicast streams over udp?  
They work when I open up gnome mplayer, click "Open Location" and add (for 
example) udp://@239.35.3.0:1234 for multicast and udp://@:1234 for unicast.  I 
can play local files through the plugin but cannot get these streams to work.

Debug from running in the command line is attached.  Any help would be much 
appreciated.

Thanks,

Steve

Original issue reported on code.google.com by stevenda...@googlemail.com on 19 May 2011 at 2:43

Attachments:

GoogleCodeExporter commented 8 years ago
UDP was an unsupported streaming protocol.. you can pull SVN of 
gecko-mediaplayer and gnome-mplayer or apply this patch to your version

svn diff -c 439
Index: plugin_setup.cpp
===================================================================
--- plugin_setup.cpp    (revision 438)
+++ plugin_setup.cpp    (revision 439)
@@ -593,6 +593,9 @@

     if (g_ascii_strncasecmp(url, "dvd://", 6) == 0)
         ret = TRUE;
+ 
+    if (g_ascii_strncasecmp(url, "udp://", 6) == 0)
+        ret = TRUE;

     if (g_strrstr(url, ".m3u") != NULL)
         ret = TRUE;

Original comment by kdeko...@gmail.com on 19 May 2011 at 5:34

GoogleCodeExporter commented 8 years ago
Thanks, that's done the job.

Original comment by stevenda...@googlemail.com on 20 May 2011 at 11:21