changed bbb-voice to use the latest version of red5
This commit is contained in:
parent
968a5d7967
commit
0e26498b49
@ -185,15 +185,13 @@ public class AudioBroadcastStream implements IBroadcastStream, IProvider, IPipeC
|
||||
}
|
||||
}
|
||||
|
||||
private final RTMPMessage msg = new RTMPMessage();
|
||||
|
||||
public void dispatchEvent(IEvent event) {
|
||||
// log.trace("dispatchEvent(event:{})", event);
|
||||
if (event instanceof IRTMPEvent) {
|
||||
IRTMPEvent rtmpEvent = (IRTMPEvent) event;
|
||||
if (livePipe != null) {
|
||||
|
||||
msg.setBody(rtmpEvent);
|
||||
RTMPMessage msg = RTMPMessage.build(rtmpEvent);
|
||||
//msg.setBody(rtmpEvent);
|
||||
|
||||
if (creationTime == null)
|
||||
creationTime = (long)rtmpEvent.getTimestamp();
|
||||
|
3
bbb-voice/src/main/java/org/red5/app/sip/AudioStream.java
Normal file → Executable file
3
bbb-voice/src/main/java/org/red5/app/sip/AudioStream.java
Normal file → Executable file
@ -197,8 +197,7 @@ public class AudioStream implements IBroadcastStream, IProvider, IPipeConnection
|
||||
if (event instanceof IRTMPEvent) {
|
||||
IRTMPEvent rtmpEvent = (IRTMPEvent) event;
|
||||
if (livePipe != null) {
|
||||
RTMPMessage msg = new RTMPMessage();
|
||||
msg.setBody(rtmpEvent);
|
||||
RTMPMessage msg = RTMPMessage.build(rtmpEvent);
|
||||
|
||||
if (creationTime == null)
|
||||
creationTime = (long)rtmpEvent.getTimestamp();
|
||||
|
Loading…
Reference in New Issue
Block a user