mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Context: Refine API
This commit is contained in:
parent
cf428b8db4
commit
311cb77b36
5 changed files with 12 additions and 10 deletions
|
@ -340,7 +340,7 @@ srs_error_t SrsPublishRecvThread::error_code()
|
|||
return srs_error_copy(recv_error);
|
||||
}
|
||||
|
||||
void SrsPublishRecvThread::set_cid(std::string v)
|
||||
void SrsPublishRecvThread::set_cid(SrsContextId v)
|
||||
{
|
||||
ncid = v;
|
||||
}
|
||||
|
|
|
@ -180,7 +180,7 @@ public:
|
|||
virtual int64_t nb_msgs();
|
||||
virtual uint64_t nb_video_frames();
|
||||
virtual srs_error_t error_code();
|
||||
virtual void set_cid(std::string v);
|
||||
virtual void set_cid(SrsContextId v);
|
||||
virtual SrsContextId get_cid();
|
||||
public:
|
||||
virtual srs_error_t start();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue