Skip to content

Commit

Permalink
better message for autostart in rest broadcast create
Browse files Browse the repository at this point in the history
  • Loading branch information
eneskuluk committed Apr 13, 2021
1 parent 2e09bd1 commit 2b4f965
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/io/antmedia/rest/RestServiceBase.java
Original file line number Diff line number Diff line change
Expand Up @@ -978,6 +978,9 @@ public Result addStreamSource(Broadcast stream, String socialEndpointIds) {
else if (stream.getType().equals(AntMediaApplicationAdapter.STREAM_SOURCE) ) {
result = addSource(stream, socialEndpointIds);
}
else{
result.setMessage("Auto start query needs an IP camera or stream source.");
}
}
else {

Expand Down

0 comments on commit 2b4f965

Please sign in to comment.