mirror of
				https://github.com/ossrs/srs.git
				synced 2025-03-09 15:49:59 +00:00 
			
		
		
		
	Refine RTC publish SDP, remove SSRC because it's recvonly.
This commit is contained in:
		
							parent
							
								
									780753c0ec
								
							
						
					
					
						commit
						9906d2e859
					
				
					 3 changed files with 21 additions and 27 deletions
				
			
		| 
						 | 
				
			
			@ -311,6 +311,7 @@ private:
 | 
			
		|||
    SrsDtlsSession* dtls_session;
 | 
			
		||||
    SrsRtcSenderThread* sender;
 | 
			
		||||
    SrsRtcPublisher* publisher;
 | 
			
		||||
    bool is_publisher_;
 | 
			
		||||
private:
 | 
			
		||||
    SrsUdpMuxSocket* sendonly_skt;
 | 
			
		||||
    std::string username;
 | 
			
		||||
| 
						 | 
				
			
			@ -336,7 +337,7 @@ private:
 | 
			
		|||
    sockaddr_in* blackhole_addr;
 | 
			
		||||
    srs_netfd_t blackhole_stfd;
 | 
			
		||||
public:
 | 
			
		||||
    SrsRtcSession(SrsRtcServer* s, SrsRequest* r, const std::string& un, int context_id);
 | 
			
		||||
    SrsRtcSession(SrsRtcServer* s, SrsRequest* r, bool is_publisher, const std::string& un, int context_id);
 | 
			
		||||
    virtual ~SrsRtcSession();
 | 
			
		||||
public:
 | 
			
		||||
    SrsSdp* get_local_sdp();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue