mirror of
https://gitee.com/openharmony/castengine_cast_framework
synced 2024-11-27 08:30:44 +00:00
update service/src/session/src/stream/src/local/src/local_data_source.cpp.
fix笔误 Signed-off-by: LongestDistance <cdwango@isoftstone.com>
This commit is contained in:
parent
aa3ffaba96
commit
5995c5579c
@ -146,12 +146,12 @@ int32_t LocalDataSource::GetSize(int64_t &size)
|
||||
{
|
||||
if (fileLength_ > 0) {
|
||||
size = fileLength_;
|
||||
return return 0; // 表示 MSERR_OK = 0
|
||||
return 0; // 表示 MSERR_OK = 0
|
||||
}
|
||||
// requestLength
|
||||
fileLength_ = channelClient_->RequestFileLength(fileId_);
|
||||
size = fileLength_;
|
||||
return return 0; // 表示 MSERR_OK = 0
|
||||
return 0; // 表示 MSERR_OK = 0
|
||||
}
|
||||
|
||||
bool LocalDataSource::OnBytesReceived(const std::string &fileId, const uint8_t *bytes, int64_t offset, int64_t length)
|
||||
|
Loading…
Reference in New Issue
Block a user