Author: adrian
Date: Tue Feb 23 15:29:59 2010
New Revision: 8559
URL: http://svn.slimdevices.com/jive?rev=8559&view=rev
Log:
Bug: N/A
Description: close streambuf when EOF is sent by server
Modified:
7.5/trunk/squeezeplay/src/squeezeplay/share/jive/audio/Rtmp.lua
Modified: 7.5/trunk/squeezeplay/src/squeezeplay/share/jive/audio/Rtmp.lua
URL:
http://svn.slimdevices.com/jive/7.5/trunk/squeezeplay/src/squeezeplay/share/jive/audio/Rtmp.lua?rev=8559&r1=8558&r2=8559&view=diff
==============================================================================
--- 7.5/trunk/squeezeplay/src/squeezeplay/share/jive/audio/Rtmp.lua (original)
+++ 7.5/trunk/squeezeplay/src/squeezeplay/share/jive/audio/Rtmp.lua Tue Feb 23
15:29:59 2010
@@ -208,7 +208,7 @@
log:info("message type 4 - user control
message ", event, ": Stream Begin")
elseif event == 1 then
log:info("message type 4 - user control
message ", event, ": EOF - exiting")
- return "EOF"
+ return false, true
elseif event == 2 then
log:info("message type 4 - user control
message ", event, ": Stream Dry")
elseif event == 4 then
@@ -590,7 +590,7 @@
if handler then
local ret, error = handler(stream, rtmp)
if error then
- return
+ return ret
end
if ret then
n = n + ret
_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/jive-checkins