mirror of
				https://github.com/ossrs/srs.git
				synced 2025-03-09 15:49:59 +00:00 
			
		
		
		
	
							parent
							
								
									fa8096ad01
								
							
						
					
					
						commit
						954b1b7ef2
					
				
					 5 changed files with 7 additions and 5 deletions
				
			
		
							
								
								
									
										3
									
								
								.github/workflows/test.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.github/workflows/test.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
					@ -55,11 +55,12 @@ jobs:
 | 
				
			||||||
      # See https://github.com/cygwin/cygwin-install-action#parameters
 | 
					      # See https://github.com/cygwin/cygwin-install-action#parameters
 | 
				
			||||||
      # Note that https://github.com/egor-tensin/setup-cygwin fails to install packages.
 | 
					      # Note that https://github.com/egor-tensin/setup-cygwin fails to install packages.
 | 
				
			||||||
      - name: Setup Cygwin
 | 
					      - name: Setup Cygwin
 | 
				
			||||||
        uses: cygwin/cygwin-install-action@db475590d56881c6cef7b3f96f6f3dd9532ea1f4 # master
 | 
					        uses: cygwin/cygwin-install-action@006ad0b0946ca6d0a3ea2d4437677fa767392401 # master
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          platform: x86_64
 | 
					          platform: x86_64
 | 
				
			||||||
          packages: bash make gcc-g++ cmake automake patch pkg-config tcl unzip
 | 
					          packages: bash make gcc-g++ cmake automake patch pkg-config tcl unzip
 | 
				
			||||||
          install-dir: C:\cygwin64
 | 
					          install-dir: C:\cygwin64
 | 
				
			||||||
 | 
					          check-sig: false
 | 
				
			||||||
      ##################################################################################################################
 | 
					      ##################################################################################################################
 | 
				
			||||||
      - name: Checkout repository
 | 
					      - name: Checkout repository
 | 
				
			||||||
        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
 | 
					        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -7,6 +7,7 @@ The changelog for SRS.
 | 
				
			||||||
<a name="v6-changes"></a>
 | 
					<a name="v6-changes"></a>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## SRS 6.0 Changelog
 | 
					## SRS 6.0 Changelog
 | 
				
			||||||
 | 
					* v6.0, 2024-03-18, Merge [#3973](https://github.com/ossrs/srs/pull/3973): Typo: Fix some typo for #3973 #3976 #3982. v6.0.114 (#3973)
 | 
				
			||||||
* v6.0, 2024-02-06, Merge [#3920](https://github.com/ossrs/srs/pull/3920): WHIP: Fix bug for converting WHIP to RTMP/HLS. v6.0.113 (#3920)
 | 
					* v6.0, 2024-02-06, Merge [#3920](https://github.com/ossrs/srs/pull/3920): WHIP: Fix bug for converting WHIP to RTMP/HLS. v6.0.113 (#3920)
 | 
				
			||||||
* v6.0, 2024-02-05, Merge [#3924](https://github.com/ossrs/srs/pull/3924): Upgrade hls.js and set in low latency mode. v6.0.112 (#3924)
 | 
					* v6.0, 2024-02-05, Merge [#3924](https://github.com/ossrs/srs/pull/3924): Upgrade hls.js and set in low latency mode. v6.0.112 (#3924)
 | 
				
			||||||
* v6.0, 2024-02-05, Merge [#3925](https://github.com/ossrs/srs/pull/3925): RTC: Fix video and audio track pt_ is not change in player before publisher. v6.0.111 (#3925)
 | 
					* v6.0, 2024-02-05, Merge [#3925](https://github.com/ossrs/srs/pull/3925): RTC: Fix video and audio track pt_ is not change in player before publisher. v6.0.111 (#3925)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -54,7 +54,7 @@ public:
 | 
				
			||||||
    virtual srs_error_t cycle() = 0;
 | 
					    virtual srs_error_t cycle() = 0;
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Start the object, generally a croutine.
 | 
					// Start the object, generally a coroutine.
 | 
				
			||||||
class ISrsStartable
 | 
					class ISrsStartable
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
public:
 | 
					public:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -25,12 +25,12 @@ typedef int64_t srs_utime_t;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Convert srs_utime_t as second.
 | 
					// Convert srs_utime_t as second.
 | 
				
			||||||
#define srsu2s(us) ((us) / SRS_UTIME_SECONDS)
 | 
					#define srsu2s(us) ((us) / SRS_UTIME_SECONDS)
 | 
				
			||||||
#define srsu2si(us) ((us) / SRS_UTIME_SECONDS)
 | 
					#define srsu2si(us) int((us) / SRS_UTIME_SECONDS)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Them time duration = end - start. return 0, if start or end is 0.
 | 
					// Them time duration = end - start. return 0, if start or end is 0.
 | 
				
			||||||
srs_utime_t srs_duration(srs_utime_t start, srs_utime_t end);
 | 
					srs_utime_t srs_duration(srs_utime_t start, srs_utime_t end);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// The time unit in ms, for example 120 * SRS_UTIME_SECONDS means 120s.
 | 
					// The time unit in seconds, for example 120 * SRS_UTIME_SECONDS means 120s.
 | 
				
			||||||
#define SRS_UTIME_SECONDS 1000000LL
 | 
					#define SRS_UTIME_SECONDS 1000000LL
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// The time unit in minutes, for example 3 * SRS_UTIME_MINUTES means 3m.
 | 
					// The time unit in minutes, for example 3 * SRS_UTIME_MINUTES means 3m.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -9,6 +9,6 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define VERSION_MAJOR       6
 | 
					#define VERSION_MAJOR       6
 | 
				
			||||||
#define VERSION_MINOR       0
 | 
					#define VERSION_MINOR       0
 | 
				
			||||||
#define VERSION_REVISION    113
 | 
					#define VERSION_REVISION    114
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue