- 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:
parent
cb046ba88d
commit
bc70848814
@ -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)
|
||||
}
|
||||
|
@ -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}
|
||||
|
@ -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
|
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user