mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for #133, finish rtsp sdp, start rtp.
This commit is contained in:
parent
f14af45413
commit
45c0b12958
3 changed files with 48 additions and 3 deletions
|
@ -337,6 +337,10 @@ public:
|
|||
* assumed. It is interpreted according to [H14.14].
|
||||
*/
|
||||
long content_length;
|
||||
/**
|
||||
* the session id.
|
||||
*/
|
||||
std::string session;
|
||||
|
||||
/**
|
||||
* the sdp in announce, NULL for no sdp.
|
||||
|
@ -357,6 +361,7 @@ public:
|
|||
virtual bool is_options();
|
||||
virtual bool is_announce();
|
||||
virtual bool is_setup();
|
||||
virtual bool is_record();
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -401,6 +406,10 @@ public:
|
|||
* for retransmissions of the same request).
|
||||
*/
|
||||
long seq;
|
||||
/**
|
||||
* the session id.
|
||||
*/
|
||||
std::string session;
|
||||
public:
|
||||
SrsRtspResponse(int cseq);
|
||||
virtual ~SrsRtspResponse();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue