Advanced search
Log In
New Account
  
Home My Page Project Cloud Code Snippets Project Openings Media Streamer
Summary Forums Tracker Lists Tasks Docs News SCM Files

Bugs: Browse | Download .csv

[#88] Playback error

Please login

State:
Closed
Date:
2006-09-22 21:34
Priority:
3
Submitted By:
daf maemoFR (daf)
Assigned To:
Nobody (None)
Summary:
Playback error

Detailed description
When i play mp3, they are playing for 1 or 2 minutes and they stop with a playback error displayed.
I try with GMediaServer and MediaTomb on linux, it's the same error.

Followup

Message
Date: 2006-10-02 09:15
Sender: Visa Smolander

Thanks. This seems to help at least with GMediaServer.
So, the problem was in libupnp, not Media Streamer. Closing the
bug...
Date: 2006-09-30 01:26
Sender: Serge Nikitin

If somebody really want to listen end of the song here is small
patch for libupnp-1.4.1:
(Sorry, cant find how to attach file here...)
--- ./libupnp-1.4.1/upnp/src/genlib/net/http/httpreadwrite.c	2006
-07-17 07:37:22.000000000 +0100
+++ ./libupnp-1.4.1_patched/upnp/src/genlib/net/http/httpreadwrit
e.c	2006-09-30 02:11:22.000000000 +0100
@@ -461,6 +461,16 @@
                     }
                 }
             }                   //While
+            if( num_read != 0 ) // not really necessary
+            {
+                if( Instr && Instr->IsChunkActive
) {
+                    num_written = sock_write( info,
"0\r\n\r\n",
+                                              strlen(
"0\r\n\r\n" ),
+                                              TimeOut );
+                } else {
+                    RetVal = UPNP_E_FILE_READ_ERROR;
+                }
+            }
           Cleanup_File:
             va_end( argp );
             if( Instr && Instr->IsVirtualFile )
Date: 2006-09-28 10:29
Sender: hans meiser

have the same problem with twonkyvision media server.
i made the experience, that the problem occurs 
only if the connection is not good (signal is not strong
enough).

Date: 2006-09-28 05:44
Sender: Visa Smolander

Sounds like the same issue... We are studying whether
there is something we can do (in GnomeVFS HTTP plugin)
to fix this.

Meanwhile, GMediaServer guys should check their stuff...
Date: 2006-09-28 01:43
Sender: Brian Daniels

I'm also having problems with mp3 playback using a gmediastreamer
server.  Files start playback fine, but suddenly stop before
the end with an error.  Short tracks will not play at all, instead
giving the playback error indication.

The server is gmediaserver-0.12.0 on a Fedora Core 5 box.
Date: 2006-09-26 14:05
Sender: daf maemoFR

mediatomb use also libupnp, so it's maybe a bug with libupnp...
Date: 2006-09-26 12:03
Sender: Visa Smolander

Thanks for the bug report.

I studied the problem with GMediaServer. It seems that GMediaServer
uses chunked transfer encoding when streaming the data. Everything
works fine until we come to the last chunk. HTTP spec says, that
after the last data chunk, there should be "0" CRLF
to indicate that there will be no more chunks. However, looks
like GMediaStreamer doesn't send this end indication...

So, maybe the problem is in GMediaServer (or libupnp) chunked
transfer encoding implementation. Does MediaTomb use also
libupnp?

This needs more study.

Attached Files:

Name Download
No Files Currently Attached

Changes:

Field Old Value Date By
ResolutionAccepted As Bug2006-10-02 09:15vsmoland
close_date2006-10-02 09:152006-10-02 09:15vsmoland
status_idOpen2006-10-02 09:15vsmoland
ResolutionNone2006-09-26 12:03vsmoland

Terms of Use    Privacy Policy    Contribution Guidelines    Feedback

Powered By GForge Collaborative Development Environment