Skip to content

Commit

Permalink
Cleanup StreamReader log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
kiall committed Mar 16, 2017
1 parent a8b0b25 commit c429b11
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,12 +168,13 @@ private void handleSubscriptionStart(@NonNull final HtspMessage message) {
final int streamIndex = stream.getInteger("index");
final String streamType = stream.getString("type");

Log.d(TAG, "Creating StreamReader for " + streamType + " stream at index " + streamIndex);

final StreamReader streamReader = streamReadersFactory.createStreamReader(streamType);
if (streamReader != null) {
Log.d(TAG, "Creating StreamReader for " + streamType + " stream at index " + streamIndex);
streamReader.createTracks(stream, mOutput);
mStreamReaders.put(streamIndex, streamReader);
} else {
Log.d(TAG, "Discarding stream at index " + streamIndex + ", no suitable StreamReader");
}
}

Expand Down

0 comments on commit c429b11

Please sign in to comment.