Closed
Bug 89270
Opened 24 years ago
Closed 21 years ago
Mozilla destroys the stream when NPP_WriteReady() return 0
Categories
(Core Graveyard :: Plug-ins, defect, P2)
Core Graveyard
Plug-ins
Tracking
(Not tracked)
RESOLVED
FIXED
Future
People
(Reporter: alain, Assigned: peterl-bugs)
References
Details
(Keywords: embed, topembed-, Whiteboard: [PL2:P2][NPAPI backwards compatibility])
According to the Plugin documentation, flow control can be achieve :
"If the plug-in receives a value of zero, the data flow temporarily
stops. Communicator checks to see if the plug-in can receive data again
by resending the data at regular intervals. "
Excerpt form NPP_WriteReady() description in the plugin ref.
But instead Mozilla destroy the stream when 0 is return and no longer
call NPP_Write at regular interval
Comment 1•24 years ago
|
||
See bug 86473 to suspend a HTTP channel.
Assignee: av → peterlubczynski
Status: UNCONFIRMED → NEW
Depends on: 86473
Ever confirmed: true
Priority: -- → P3
Target Milestone: --- → mozilla1.0
Comment 2•24 years ago
|
||
alain: do you have a testcase or tester plugin for this?
Status: NEW → ASSIGNED
Comment 3•23 years ago
|
||
I think Darin put in the ability to pause a stream a while ago and this should
be done before mozilla1.0
Keywords: mozilla1.0
Whiteboard: [NPAPI backwards compatibility]
Updated•23 years ago
|
Comment 5•23 years ago
|
||
nsbeta1+ per ADT Triage.
Comment 6•23 years ago
|
||
Where is the test case? Or where is a site that demonstrates this issue? Seting
to nsbeta1- until either a valid test case is attached or a URL pointer is
attached. Also moving to moz1.1
Comment 8•23 years ago
|
||
topembed- until we get a testcase. Nice to fix category
Comment 9•23 years ago
|
||
removing myself from cc:
Updated•23 years ago
|
Keywords: 4xp
Priority: P3 → P2
Whiteboard: [NPAPI backwards compatibility] → [NPAPI backwards compatibility][PL2:P2]
Updated•23 years ago
|
Whiteboard: [NPAPI backwards compatibility][PL2:P2] → [PL2:P2][NPAPI backwards compatibility]
Target Milestone: mozilla1.1alpha → mozilla1.2beta
Updated•22 years ago
|
Target Milestone: mozilla1.2beta → mozilla1.3beta
Comment 10•22 years ago
|
||
This appears to be the reason Plugger does not work in streaming mode. As soon
as the buffer is filled and a write fails with EAGAIN, Mozilla stops sending
data to the plugger. In netscape, NPP_Writeready is called periodically, even
when it returns 0, and eventually the write's will succeed, WriteReady will
return a value > 0, and the streaming resumes.
Comment 11•22 years ago
|
||
*** Bug 195638 has been marked as a duplicate of this bug. ***
Comment 12•22 years ago
|
||
-->peterl
Assignee: serge → peterl
QA Contact: shrir → ashishbhatt
Target Milestone: mozilla1.3beta → Future
Comment 13•21 years ago
|
||
I'm seeing this problem with Mozilla 1.6 and plugger 4.0, although I suspect it
may be a plugger problem. Please see bug 235641 for details.
It looks as though plugger may be trying to stream mp3's, and from reading this,
it looks as though mozilla is failing to negotiate properly with the plugin, so
this may be a two headed problem. My understanding is that because play rates
may exceed transfer rates on a slow Internet connection, a browser and/or plugin
fed an explicit link to an mp3 file should not try to stream it, but should
download it in its entirity and then play it. Streaming (actually
pseudo-streaming) is the job of the processing chain attached to the m3u file
format, which does work propoerly in mozilla (on my system, XMMS gets invoked to
handle the m3u indirect reference).
Comment 14•21 years ago
|
||
Fixed by the change in bug 216218 (which should really have been a dupe of this
bug).
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•3 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•