- try to fix desktop sharing. it goes down after a while

git-svn-id: http://svn.bigbluebutton.org/project-bbb/trunk@89 6ac8b576-4aa1-4e98-a958-8badfeb98c9d
This commit is contained in:
Richard Alam 2010-04-09 14:03:18 +00:00
parent cb046ba88d
commit bc70848814
4 changed files with 5 additions and 6 deletions

View File

@ -50,13 +50,13 @@ class SessionSVC(room: String, screenDim: Dimension, blockDim: Dimension, stream
private def initialize() {
blockManager.initialize()
stop = false
stream ! StartStream
stream ! new StartStream
generateFrame(true)
scheduleGenerateFrame()
}
private def stopSession() {
stream ! StopStream
stream ! new StopStream
stop = true
streamManager.destroyStream(room)
}

View File

@ -1,7 +1,6 @@
package org.bigbluebutton.deskshare.server.stream
import org.bigbluebutton.deskshare.server.ScreenVideoBroadcastStream
import org.red5.server.api.{IContext, IScope}
import org.red5.server.net.rtmp.event.VideoData;
import org.red5.server.stream.{BroadcastScope, IBroadcastScope, IProviderService}

View File

@ -3,8 +3,8 @@ package org.bigbluebutton.deskshare.server.stream
import scala.actors.Actor
import scala.actors.Actor._
object StopStream
object StartStream
class StopStream
class StartStream
class UpdateStream(val room: String, val videoData: Array[Byte])
abstract class Stream extends Actor

View File

@ -39,7 +39,7 @@ dependencies {
compile 'javax.servlet:servlet-api:2.5@jar', 'org.apache.mina:mina-core:2.0.0-RC1@jar'
compile 'spring:spring-web:3.0.0@jar', 'spring:spring-core:3.0.0@jar'
compile 'spring:spring-aop:3.0.0@jar', 'spring:spring-beans:3.0.0@jar', 'spring:spring-context:3.0.0@jar'
compile 'org/red5:red5:0.9@jar'
compile 'org/red5:red5:0.91@jar'
compile ':log4j-over-slf4j:1.5.6@jar',':logback-core:0.9.14@jar', ':logback-classic:0.9.14@jar', ':slf4j-api:1.5.6@jar'
compile project(':common')
compile 'commons-fileupload:commons-fileupload:1.2.1@jar', 'commons-io:commons-io:1.4@jar'