mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
RTC: Refine publish stream by find publisher
This commit is contained in:
parent
6fa3b8212c
commit
5f31868ce6
2 changed files with 21 additions and 3 deletions
|
@ -507,6 +507,10 @@ public:
|
|||
srs_error_t on_stun(SrsUdpMuxSocket* skt, SrsStunPacket* r);
|
||||
srs_error_t on_dtls(char* data, int nb_data);
|
||||
srs_error_t on_rtp(char* data, int nb_data);
|
||||
private:
|
||||
// Decode the RTP header from buf, find the publisher by SSRC.
|
||||
srs_error_t find_publisher(char* buf, int size, SrsRtcPublishStream** ppublisher);
|
||||
public:
|
||||
srs_error_t on_rtcp(char* data, int nb_data);
|
||||
private:
|
||||
srs_error_t dispatch_rtcp(SrsRtcpCommon* rtcp);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue