mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
For #1998, Support Firefox, use PT in offer. 4.0.55
This commit is contained in:
parent
57b5204a10
commit
4650d47082
5 changed files with 57 additions and 25 deletions
|
@ -426,9 +426,6 @@ public:
|
|||
int get_rtp_extension_id(std::string uri);
|
||||
public:
|
||||
SrsRtcTrackDescription* copy();
|
||||
public:
|
||||
// find media with payload type.
|
||||
SrsMediaPayloadType generate_media_payload_type(int payload_type);
|
||||
};
|
||||
|
||||
class SrsRtcStreamDescription
|
||||
|
@ -565,6 +562,7 @@ public:
|
|||
bool set_track_status(bool active);
|
||||
bool get_track_status();
|
||||
std::string get_track_id();
|
||||
int get_track_media_pt();
|
||||
public:
|
||||
virtual srs_error_t on_rtp(SrsRtpPacket2* pkt, SrsRtcPlayStreamStatistic& info) = 0;
|
||||
virtual srs_error_t on_rtcp(SrsRtpPacket2* pkt) = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue