1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Refactor source cid with pid

This commit is contained in:
winlin 2020-03-17 18:43:11 +08:00
parent 28c1c57854
commit fc84f1e545
3 changed files with 7 additions and 6 deletions

View file

@ -662,8 +662,8 @@ srs_error_t SrsRtcSenderThread::cycle()
return srs_error_wrap(err, "rtc fetch source failed");
}
srs_trace("source url=%s, source_id=%d[%d]",
rtc_session->request.get_stream_url().c_str(), source->source_id(), source->source_id());
srs_trace("source url=%s, source_id=[%d][%d]",
rtc_session->request.get_stream_url().c_str(), ::getpid(), source->source_id());
SrsConsumer* consumer = NULL;
if ((err = source->create_consumer(NULL, consumer)) != srs_success) {