We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c50b11 commit ddf4b77Copy full SHA for ddf4b77
src/main/java/io/antmedia/AntMediaApplicationAdapter.java
@@ -1803,7 +1803,8 @@ public void closeRTMPStreams()
1803
synchronized (adaptors)
1804
{
1805
for (MuxAdaptor adaptor : adaptors) {
1806
- if(adaptor.getBroadcast().getType().equals(AntMediaApplicationAdapter.LIVE_STREAM)) {
+ Broadcast broadcast = adaptor.getBroadcast();
1807
+ if(broadcast != null && broadcast.getType().equals(AntMediaApplicationAdapter.LIVE_STREAM)) {
1808
1809
ClientBroadcastStream broadcastStream = adaptor.getBroadcastStream();
1810
if (broadcastStream != null) {
0 commit comments