-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Comparing changes
Open a pull request
base repository: ossrs/srs
base: v6.0.36
head repository: ossrs/srs
compare: develop
Commits on Mar 25, 2023
-
RTC: Call on_play before create session, for it might be freed for ti…
…meout. v5.0.149, v6.0.37 (#3455) Co-authored-by: winlin <winlin@vip.126.com> Co-authored-by: ChenGH <chengh_math@126.com>
Configuration menu - View commit details
-
Copy full SHA for d875571 - Browse repository at this point
Copy the full SHA d875571View commit details -
Remove unneccessary NULL check in srs_freep. v5.0.150, v6.0.38 (#3477)
Co-authored-by: winlin <winlin@vip.126.com> Co-authored-by: john <hondaxiao@tencent.com>
Configuration menu - View commit details
-
Copy full SHA for b574ad1 - Browse repository at this point
Copy the full SHA b574ad1View commit details
Commits on Mar 27, 2023
-
WebRTC: Support configure CANDIDATE by env (#3470)
In dockerfile, we can set the default RTC candidate to env: ``` ENV SRS_RTC_SERVER_CANDIDATE=\$CANDIDATE CMD ["./objs/srs", "-e"] ``` When starts a docker container, user can setup the candidate by env: ``` docker run --rm -it --env CANDIDATE=1.2.3.4 ossrs/srs:5 ``` We should parse the content of SRS_RTC_SERVER_CANDIDATE as env variable name and parse it again. --------- Co-authored-by: chundonglinlin <chundonglinlin@163.com> Co-authored-by: pengfei.ma <pengfei.ma@ctechm.com>
Configuration menu - View commit details
-
Copy full SHA for b34255c - Browse repository at this point
Copy the full SHA b34255cView commit details -
WebRTC: Error message carries the SDP when failed. v5.0.151, v6.0.39 (#…
…3450) Co-authored-by: winlin <winlin@vip.126.com> Co-authored-by: ChenGH <chengh_math@126.com>
Configuration menu - View commit details
-
Copy full SHA for 571043f - Browse repository at this point
Copy the full SHA 571043fView commit details
Commits on Apr 1, 2023
-
API: Support HTTP basic authentication for API. v6.0.4, v5.0.152 (#3458)
Co-authored-by: winlin <winlin@vip.126.com> Co-authored-by: john <hondaxiao@tencent.com>
Configuration menu - View commit details
-
Copy full SHA for 771ae0a - Browse repository at this point
Copy the full SHA 771ae0aView commit details -
Support composited bridges for 1:N protocols converting. v6.0.41 (#3392)
Co-authored-by: john <hondaxiao@tencent.com> Co-authored-by: chundonglinlin <chundonglinlin@163.com>
Configuration menu - View commit details
-
Copy full SHA for dcd02fe - Browse repository at this point
Copy the full SHA dcd02feView commit details
Commits on Apr 8, 2023
-
RTMP: Support enhanced RTMP specification for HEVC. v6.0.42 (#3495)
* RTMP: Support enhanced RTMP specification for HEVC, v6.0.42. * Player: Upgrade mpegts.js to support it. Enhanced RTMP specification: https://github.com/veovera/enhanced-rtmp First, start SRS `v6.0.42+` with HTTP-TS support: ```bash ./objs/srs -c conf/http.ts.live.conf ``` Then, you can use [OBS 29.1+](https://github.com/obsproject/obs-studio/releases) to push HEVC via RTMP. Start OBS with the following settings in the `Settings > Stream` tab: * Server: `rtmp://localhost/live` * Stream Key: `livestream` * Encoder: Please select the HEVC hardware encoder. Finally, open the player http://localhost:8080/players/srs_player.html?stream=livestream.ts Or use VLS or ffplay to play `http://localhost:8080/live/livestream.ts` --------- Co-authored-by: chundonglinlin <chundonglinlin@163.com>
Configuration menu - View commit details
-
Copy full SHA for 26aabe4 - Browse repository at this point
Copy the full SHA 26aabe4View commit details
Commits on May 12, 2023
-
WHIP: Improve HTTP DELETE for notifying server unpublish event (#3539)
This PR improves the functionality of the HTTP DELETE method used by WHIP to notify the server when the client stops publishing. The URL is parsed from the location header returned by SRS, and the URL is refined with the addition of the action=delete parameter to ensure more accurate identification of the DELETE request. Furthermore, SRS will disconnect and close the session, enabling the client to publish the stream again quickly and easily. This update eliminates the approximately 30-second waiting period previously required for republishing the stream after an unpublish event. Overall, this update provides a more effective and efficient method for notifying the server about unpublish events and will enhance the workflow experience for users of the WHIP platform. ------- Co-authored-by: Haibo Chen <495810242@qq.com> Co-authored-by: ChenGH <chengh_math@126.com>
Configuration menu - View commit details
-
Copy full SHA for 7cf8c48 - Browse repository at this point
Copy the full SHA 7cf8c48View commit details -
Improve README and documents with AI. v5.0.153. v6.0.43 (#3538)
* Improve README with AI and add new features 1. Update README file with AI to make it more informative and user-friendly 2. Add a detailed table of contents (TOC) with an introduction for easy navigation 3. Introduce an auto-detecting Automake feature that displays the correct installation command 4. Add support for SRT to HTTP-TS config file 5. Refine the WHIP delete location URL 6. Add support for disabling encryption for WHIP or WHEP This pull request aims to enhance the quality of the project by introducing innovative features and making the necessary updates. These updates will help users navigate the project more efficiently while also improving the overall project's quality. --------- Co-authored-by: ChenGH <chengh_math@126.com> Co-authored-by: john <hondaxiao@tencent.com>
Configuration menu - View commit details
-
Copy full SHA for 78f1ebf - Browse repository at this point
Copy the full SHA 78f1ebfView commit details
Commits on May 14, 2023
-
asan: Fix memory leak in asan by releasing global IPs when run_direct…
…ly_or_daemon fails. v5.0.154, v6.0.44 (#3541) * asan: when run_directly_or_daemon failed, release gloabal ips * asan: refine global system ips release code * Update release to v5.0.154, v6.0.44 --------- Co-authored-by: chundonglinlin <chundonglinlin@163.com>
Configuration menu - View commit details
-
Copy full SHA for 0629bee - Browse repository at this point
Copy the full SHA 0629beeView commit details -
Replace sprintf with snprintf to eliminate compile warnings. v6.0.45 (#…
…3534) * Replaced all occurrences of sprintf with snprintf to address deprecation warnings * Ensured proper buffer size is passed to snprintf to prevent potential buffer overflows * Ran tests to confirm that the changes do not introduce any new issues or regressions --------- Co-authored-by: ChenGH <chengh_math@126.com>
Configuration menu - View commit details
-
Copy full SHA for c0e931a - Browse repository at this point
Copy the full SHA c0e931aView commit details -
Release v6.0.45, a development version.
Release v5.0-b0, 5.0 beta0, v5.0.155, 162600 lines. PICK 6e77653
Configuration menu - View commit details
-
Copy full SHA for 665c30a - Browse repository at this point
Copy the full SHA 665c30aView commit details
Commits on May 29, 2023
-
SSL: Fix SSL_get_error get the error of other coroutine. v5.0.155, v6…
….0.46 (#3513) --------- Co-authored-by: john <hondaxiao@tencent.com> Co-authored-by: winlin <winlin@vip.126.com>
Configuration menu - View commit details
-
Copy full SHA for 27f9db9 - Browse repository at this point
Copy the full SHA 27f9db9View commit details
Commits on Jun 5, 2023
-
DTLS: Use bio callback to get fragment packet. v5.0.156, v6.0.47 (#3565)
1. The MTU is effective, with the certificate being split into two DTLS records to comply with the limit. 2. The issue occurs when using BIO_get_mem_data, which retrieves all DTLS packets in a single call, even though each is smaller than the MTU. 3. An alternative callback is available for using BIO_new with BIO_s_mem. 4. Improvements to the MTU setting were made, including adding the DTLS_set_link_mtu function and removing the SSL_set_max_send_fragment function. 5. The handshake process was refined, calling SSL_do_handshake only after ICE completion, and using SSL_read to handle handshake messages. 6. The session close code was improved to enable immediate closure upon receiving an SSL CloseNotify or fatal message. ------ Co-authored-by: chundonglinlin <chundonglinlin@163.com>
Configuration menu - View commit details
-
Copy full SHA for 104cf14 - Browse repository at this point
Copy the full SHA 104cf14View commit details -
TEST: Upgrade pion to v3.2.9. (#3567)
------ Co-authored-by: chundonglinlin <chundonglinlin@163.com>
Configuration menu - View commit details
-
Copy full SHA for df85433 - Browse repository at this point
Copy the full SHA df85433View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d878c2 - Browse repository at this point
Copy the full SHA 1d878c2View commit details
Commits on Jun 12, 2023
-
GB: Correct the range of HEVC keyframe error. v6.0.49 (#3570)
--------- Co-authored-by: Haibo Chen <495810242@qq.com>
Configuration menu - View commit details
-
Copy full SHA for 7407987 - Browse repository at this point
Copy the full SHA 7407987View commit details
Commits on Jun 13, 2023
-
TOC: Welcome to the new TOC member, ZhangJunqin. (#3579)
------ Co-authored-by: ChenGH <chengh_math@126.com> Co-authored-by: Haibo Chen <495810242@qq.com> Co-authored-by: LiPeng <lipeng19811218@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 0ce2983 - Browse repository at this point
Copy the full SHA 0ce2983View commit details
Commits on Jun 15, 2023
-
WHIP: Add OBS support, ensuring compatibility with a unique SDP. v5.0…
….158, v6.0.51 (#3581) 1. Ignore SDP GROUP LS. 2. Support ice in global session info. 3. Support audio codec "OPUS" or "opus". --------- Co-authored-by: Johnny <hellojinqiang@gmail.com>
1Configuration menu - View commit details
-
Copy full SHA for 7f997b3 - Browse repository at this point
Copy the full SHA 7f997b3View commit details
Commits on Jun 20, 2023
-
Fix crash when process rtcp feedback message. v5.0.159, v6.0.52 (#3591)
--------- Co-authored-by: johzzy <hellojinqiang@gmail.com>
1Configuration menu - View commit details
-
Copy full SHA for 113a3dd - Browse repository at this point
Copy the full SHA 113a3ddView commit details -
Fix Permission Issue in depend.sh for OpenSSL Compilation. v5.0.160, …
…v6.0.53 (#3592) --------- Co-authored-by: john <hondaxiao@tencent.com>
1Configuration menu - View commit details
-
Copy full SHA for be7faf6 - Browse repository at this point
Copy the full SHA be7faf6View commit details -
Docker: Refine the main dockerfile. v6.0.54 (#3594)
------ Co-authored-by: Haibo Chen <495810242@qq.com>
1Configuration menu - View commit details
-
Copy full SHA for 8c061fc - Browse repository at this point
Copy the full SHA 8c061fcView commit details
Commits on Jun 21, 2023
-
H264: Fix H.264 ISOM reserved bit value. v5.0.161, v6.0.55 (#3551)
--------- Co-authored-by: chundonglinlin <chundonglinlin@163.com>
1Configuration menu - View commit details
-
Copy full SHA for 43dfb1b - Browse repository at this point
Copy the full SHA 43dfb1bView commit details
Commits on Jun 29, 2023
-
Switch to 5.0 document, because it's beta now. (#3609)
------ Co-authored-by: john <hondaxiao@tencent.com>
1Configuration menu - View commit details
-
Copy full SHA for cb44e81 - Browse repository at this point
Copy the full SHA cb44e81View commit details -
Upgrade jquery from 1.10.2 to 1.12.2 (#3571)
--------- Co-authored-by: chundonglinlin <chundonglinlin@163.com>
1Configuration menu - View commit details
-
Copy full SHA for 30c2f50 - Browse repository at this point
Copy the full SHA 30c2f50View commit details -
Improve the usage of "transcode" in the "full.conf" file. v5.0.162, v…
…6.0.56 (#3596) --------- Co-authored-by: chundonglinlin <chundonglinlin@163.com> Co-authored-by: john <hondaxiao@tencent.com>
1Configuration menu - View commit details
-
Copy full SHA for 7ba59c3 - Browse repository at this point
Copy the full SHA 7ba59c3View commit details
Commits on Jul 1, 2023
-
BugFix: Resolve the problem of srs_error_t memory leak. v5.0.163, v6.…
…0.57 (#3605) --------- Co-authored-by: Haibo Chen <495810242@qq.com> Co-authored-by: chundonglinlin <chundonglinlin@163.com>
1Configuration menu - View commit details
-
Copy full SHA for fe23036 - Browse repository at this point
Copy the full SHA fe23036View commit details -
WHIP: Improve WHIP deletion by token verification. v5.0.164, v6.0.58 (#…
…3595) ------ Co-authored-by: chundonglinlin <chundonglinlin@163.com>
1Configuration menu - View commit details
-
Copy full SHA for b1d1c7a - Browse repository at this point
Copy the full SHA b1d1c7aView commit details
Commits on Jul 10, 2023
-
Compile: Fix typo for 3rdparty. v5.0.166, v6.0.59 (#3615)
--------- Co-authored-by: john <hondaxiao@tencent.com>
1Configuration menu - View commit details
-
Copy full SHA for cdbe50b - Browse repository at this point
Copy the full SHA cdbe50bView commit details -
1
Configuration menu - View commit details
-
Copy full SHA for a1c7b9f - Browse repository at this point
Copy the full SHA a1c7b9fView commit details
Commits on Jul 18, 2023
-
WebRTC: Support config the bitrate of transcoding AAC to Opus. v5.0.1…
…67, v6.0.60 (#3515) --------- Co-authored-by: john <hondaxiao@tencent.com>
1Configuration menu - View commit details
-
Copy full SHA for 3fa4f66 - Browse repository at this point
Copy the full SHA 3fa4f66View commit details
Commits on Jul 21, 2023
-
API: Fix HTTPS callback issue using SNI in TLS client handshake. v4.0…
….270, v5.0.168, v6.0.61 (#3695) --------- Co-authored-by: chundonglinlin <chundonglinlin@163.com>
1Configuration menu - View commit details
-
Copy full SHA for b5f50f3 - Browse repository at this point
Copy the full SHA b5f50f3View commit details
Commits on Jul 26, 2023
-
Bugfix: Eliminate the redundant declaration of the _srs_rtc_manager v…
…ariable. v5.0.169 v6.0.62 (#3699) It is advised to eliminate any instances of _srs_rtc_manager that occur multiple times. --------- Co-authored-by: john <hondaxiao@tencent.com> Co-authored-by: chundonglinlin <chundonglinlin@163.com>
1Configuration menu - View commit details
-
Copy full SHA for 2777351 - Browse repository at this point
Copy the full SHA 2777351View commit details
Commits on Jul 27, 2023
-
The identifier "ShowCouroutines" needs to be modified to "ShowCorouti…
…nes" in order to rectify the typographical error. v6.0.63 (#3703) Correct the word errors by changing "ShowCoroutines" to "ShowCoroutines". --------- Co-authored-by: chundonglinlin <chundonglinlin@163.com> Co-authored-by: john <hondaxiao@tencent.com>
1Configuration menu - View commit details
-
Copy full SHA for 34747fa - Browse repository at this point
Copy the full SHA 34747faView commit details -
Support helm to optimize the deployment procedure of a SRS cluster. v…
…6.0.64 (#3611) 1. Introduce a novel Docker tag in the x.y.z format, akin to the HELM format, such as ossrs/srs:5.0.155. 2. Incorporate the SRS_PLATFORM flag for containers initiated through HELM. --------- `TRANS_BY_GPT3` --------- Co-authored-by: chundonglinlin <chundonglinlin@163.com>
1Configuration menu - View commit details
-
Copy full SHA for e19efe0 - Browse repository at this point
Copy the full SHA e19efe0View commit details
Commits on Aug 2, 2023
-
HLS: Ignore empty NALU to avoid error. v6.0.65 (#3750)
For the DJI M30, there is a bug where empty NALU packets with a size of zero are causing issues with HLS streaming. This bug leads to random unpublish events due to the SRS disconnecting the connection for the HLS module when it fails to handle empty NALU packets. To address this bug, we have patched the system to ignore any empty NALU packets with a size of zero. Additionally, we have created a tool in the srs-bench to replay pcapng files captured by tcpdump or Wireshark. We have also added utest using mprotect and asan to detect any memory corruption. It is important to note that this bug has been fixed in versions 4.0.271 6477f31 and 5.0.170 939f6b4. This patch specifically addresses the issue in SRS 6.0. Please be aware that there is another commit related to this bug that partially fixes the issue but still leaves a small problem for asan to detect memory corruption. This commit, 577cd29, only ignores empty NALU packets but still reads beyond the memory. --------- Co-authored-by: chundonglinlin <chundonglinlin@163.com>
1Configuration menu - View commit details
-
Copy full SHA for 73dd8af - Browse repository at this point
Copy the full SHA 73dd8afView commit details
Commits on Aug 9, 2023
-
Configuration menu - View commit details
-
Copy full SHA for fe38804 - Browse repository at this point
Copy the full SHA fe38804View commit details
Commits on Aug 22, 2023
-
Bugfix: Log format output type does not match. v5.0.171, v6.0.66 (#3775)
A segmentation fault occurred on arm #3714 --------- Co-authored-by: Haibo Chen <495810242@qq.com>
Configuration menu - View commit details
-
Copy full SHA for 6babf01 - Browse repository at this point
Copy the full SHA 6babf01View commit details
Commits on Aug 25, 2023
-
HLS: Support reload HLS asynchronously. v5.0.172 v6.0.67 (#3782)
When reloading HLS, it directly operates unpublish and publish. At this time, if HLS is pushed, an exception may occur. The reason is that these two coroutines operated on the HLS object at the same time, causing a null pointer. Solution: Use asynchronous reload. During reload, only set variables and let the message processing coroutine implement the reload. --------- Co-authored-by: Haibo Chen <495810242@qq.com> Co-authored-by: chundonglinlin <chundonglinlin@163.com>
Configuration menu - View commit details
-
Copy full SHA for b5347e1 - Browse repository at this point
Copy the full SHA b5347e1View commit details
Commits on Aug 28, 2023
-
Support include empty config file. v5.0.173 v6.0.68 (#3768)
SRS supports including another configuration in the include package. When generating configurations, we can only generate the changed configurations, while the unchanged configurations are in the fixed files, for example: ```nginx listen 1935; include server.conf; ``` In `server.conf`, we can manage the changing configurations with the program: ```nginx http_api { enabled on; } ``` However, during system initialization, we often create an empty `server.conf`, and the content is generated only after the program starts, so `server.conf` might be an empty file. This also makes it convenient to use a script to confirm the existence of this file: ```bash touch server.conf ``` Currently, SRS does not support empty configurations and will report an error. This PR is to solve this problem, making it more convenient to use include. `TRANS_BY_GPT4` --------- Co-authored-by: Haibo Chen <495810242@qq.com>
Configuration menu - View commit details
-
Copy full SHA for cf46dae - Browse repository at this point
Copy the full SHA cf46daeView commit details -
HLS: Fix on_hls and hls_dispose critical zone issue. v5.0.174 v6.0.69 (…
…#3781) on_hls and hls_dispose are two coroutines, with potential race conditions. That is, during on_hls, if the API Server being accessed is slower, it will switch to the hls_dispose coroutine to start cleaning up. However, when the API Server is processing the slice, a situation may occur where the slice does not exist, resulting in the following log: ``` [2023-08-22 12:03:20.309][WARN][40][x5l48q7b][11] ignore task failed code=4005(HttpStatus)(Invalid HTTP status code) : callback on_hls http://localhost:2024/terraform/v1/hooks/srs/hls : http: post http://localhost:2024/terraform/v1/hooks/srs/hls with {"server_id":"vid-5d7dxn8","service_id":"cu153o7g","action":"on_hls","client_id":"x5l48q7b","ip":"172.17.0.1","vhost":"__defaultVhost__","app":"live","tcUrl":"srt://172.17.0.2/live","stream":"stream-44572-2739617660809856576","param":"secret=1ed8e0ffbc53439c8fc8da30ab8c19f0","duration":4.57,"cwd":"/usr/local/srs-stack/platform","file":"./objs/nginx/html/live/stream-44572-2739617660809856576-1.ts","url":"live/stream-44572-2739617660809856576-1.ts","m3u8":"./objs/nginx/html/live/stream-44572-2739617660809856576.m3u8","m3u8_url":"live/stream-44572-2739617660809856576.m3u8","seq_no":1,"stream_url":"/live/stream-44572-2739617660809856576","stream_id":"vid-0n9zoz3"}, status=500, res=invalid ts file ./objs/nginx/html/live/stream-44572-2739617660809856576-1.ts: stat ./objs/nginx/html/live/stream-44572-2739617660809856576-1.ts: no such file or directory thread [40][x5l48q7b]: call() [./src/app/srs_app_hls.cpp:122][errno=11] thread [40][x5l48q7b]: on_hls() [./src/app/srs_app_http_hooks.cpp:401][errno=11] thread [40][x5l48q7b]: do_post() [./src/app/srs_app_http_hooks.cpp:638][errno=11] [error] 2023/08/22 12:03:20.076984 [52][1001] Serve /terraform/v1/hooks/srs/hls failed, err is stat ./objs/nginx/html/live/stream-44572-2739617660809856576-1.ts: no such file or directory invalid ts file ./objs/nginx/html/live/stream-44572-2739617660809856576-1.ts main.handleOnHls.func1.1 /g/platform/srs-hooks.go:684 main.handleOnHls.func1 /g/platform/srs-hooks.go:720 net/http.HandlerFunc.ServeHTTP /usr/local/go/src/net/http/server.go:2084 net/http.(*ServeMux).ServeHTTP /usr/local/go/src/net/http/server.go:2462 net/http.serverHandler.ServeHTTP /usr/local/go/src/net/http/server.go:2916 net/http.(*conn).serve /usr/local/go/src/net/http/server.go:1966 runtime.goexit /usr/local/go/src/runtime/asm_amd64.s:1571 ``` Similarly, when stopping the stream, on_hls will also be called to handle the last slice. If the API Server is slower at this time, it will enter hls_dispose and call unpublish repeatedly. Since the previous unpublish is still blocked in on_hls, the following interference log will appear: ``` [2023-08-22 12:03:18.748][INFO][40][6498088c] hls cycle to dispose hls /live/stream-44572-2739617660809856576, timeout=10000000ms [2023-08-22 12:03:18.752][WARN][40][6498088c][115] flush audio ignored, for segment is not open. [2023-08-22 12:03:18.752][WARN][40][6498088c][115] ignore the segment close, for segment is not open. ``` Although this log will not cause problems, it can interfere with judgment. The solution is to add an 'unpublishing' status. If it is in the 'unpublishing' status, then do not clean up the slices. --------- Co-authored-by: Haibo Chen <495810242@qq.com>
Configuration menu - View commit details
-
Copy full SHA for cff5064 - Browse repository at this point
Copy the full SHA cff5064View commit details -
SrsContextId assignment can be improved without create a duplicated o…
…ne. v5.0.175 v6.0.70 (#3503) SrsContextId object creation can be improved on `srs_protocol_log.cpp`, No need to create one, then assign it back. It seems a common mistake for Cpp programmers. --------- Co-authored-by: john <hondaxiao@tencent.com>
Configuration menu - View commit details
-
Copy full SHA for bb93311 - Browse repository at this point
Copy the full SHA bb93311View commit details
Commits on Aug 30, 2023
-
Support HTTP-API for fetching reload result. v5.0.176 v6.0.71 (#3779)
## Reload Error Ignore During a Reload, several stages will be passed through: 1. Parsing new configurations: Parse. 2. Transforming configurations: Transform. 3. Applying configurations: Apply. Previously, any error at any stage would result in a direct exit, making the system completely dependent on configuration checks: ```bash ./objs/srs -c conf/srs.conf -t echo $? #0 ``` Optimized to: If an error occurs before applying the configuration, it can be ignored. If an error occurs during the application of the configuration, some of the configuration may have already taken effect, leading to unpredictable behavior, so SRS will exit directly. ## Reload Fetch API Added a new HTTP API to query the result of the reload. ```nginx http_api { enabled on; raw_api { enabled on; allow_reload on; } } ``` ```bash curl http://localhost:1985/api/v1/raw?rpc=reload-fetch ``` ```json { "code": 0, "data": { "err": 0, "msg": "Success", "state": 0, "rid": "0s6y0n9" } } { "code": 0, "data": { "err": 1023, "msg": "code=1023(ConfigInvalid) : parse file : parse buffer containers/conf/srs.release-local.conf : root parse : parse dir : parse include buffer containers/data/config/srs.vhost.conf : read token, line=0, state=0 : line 3: unexpected end of file, expecting ; or \"}\"", "state": 1, "rid": "0g4z471" } } ``` This way, you can know if the last reload of the system was successful. --------- Co-authored-by: Haibo Chen <495810242@qq.com>
Configuration menu - View commit details
-
Copy full SHA for aa5ec87 - Browse repository at this point
Copy the full SHA aa5ec87View commit details
Commits on Aug 31, 2023
-
Compile: Add aarch64 to the conditions of use of the cbrt function. v…
…6.0.72 (#3776) I got an error when cross-compiling the aarch64 platform, the log is as follows: `./libavutil/libm.h:54:32: error: static declaration of 'cbrt' follows non-static declaration` I see that there are such compilation errors in the trunk/auto/depends.sh file that have been resolved for the ARM and MIPSE platforms, and it is recommended to add the ARCH64 platform
Configuration menu - View commit details
-
Copy full SHA for a2e10f1 - Browse repository at this point
Copy the full SHA a2e10f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7138edd - Browse repository at this point
Copy the full SHA 7138eddView commit details
Commits on Sep 4, 2023
-
Remove unreachable issues in code (#3793)
remove unreachable links by python scripts: ``` def is_delete_issue(link): try: response = requests.get(link) except RequestException as e: print(f"An error occurred while trying to get the link: {e}") return False return "This issue has been deleted." in response.text def remove_unreachable_links(dir): string_to_search = re.compile(r'// @see https://github\.com/ossrs/srs/issues/.*') file_list = util.find_files_with_extension(dir, ".cpp", True) for file in file_list: lines = [] with open(file, "r", encoding="utf-8") as f: lines = f.readlines() with open(file, "w", encoding="utf-8", newline="\n") as f: for line in lines: if string_to_search.search(line): result = re.search(r'https://github\.com/ossrs/srs/issues/\d+', line) if result: link = result.group() if is_delete_issue(link): print("is_delete_issue link: file: %s, line: %s" % (file, line)) continue f.write(line) if __name__ == "__main__": remove_unreachable_links("srs/trunk/src/") ```
Configuration menu - View commit details
-
Copy full SHA for 6e6b80d - Browse repository at this point
Copy the full SHA 6e6b80dView commit details
Commits on Sep 7, 2023
-
Fix dash crash if format not supported. v5.0.177 v6.0.73 (#3795)
Fix the issue of DASH crashing when audio/video formats are not supported. --------- Co-authored-by: Haibo Chen <495810242@qq.com>
Configuration menu - View commit details
-
Copy full SHA for 26b3154 - Browse repository at this point
Copy the full SHA 26b3154View commit details
Commits on Sep 8, 2023
-
Support SRS Stack token for authentication. v6.0.74 (#3794)
When accessing the SRS Stack, you should log in and use a token for each request, or utilize the HTTP API with a secret Bearer token included in every request. The SRS Stack HTTP API proxies both /api/v1 and /rtc/v1 to the SRS HTTP API while ensuring secure authentication. Additionally, there is a console in the SRS Stack that requires the same token to request the SRS Stack HTTP API, which is then proxied to the SRS HTTP API. The SRS Stack runs SRS with the HTTP API listening at 127.0.0.1:1985 on the local loopback interface, allowing only the SRS Stack to access it without authentication. All other users must login and access the SRS Stack through its interface, rather than directly accessing the SRS HTTP API within the SRS Stack. --------- Co-authored-by: panda <542638787@qq.com>
Configuration menu - View commit details
-
Copy full SHA for 6f42ca6 - Browse repository at this point
Copy the full SHA 6f42ca6View commit details
Commits on Sep 9, 2023
-
Fix RBSP issue, where 0x03 should be removed. v5.0.178 v6.0.75 (#3597)
ISO_IEC_14496-10-AVC-2012.pdf, page 65 7.4.1.1 Encapsulation of an SODB within an RBSP (informative) ... 00 00 03 xx, the 03 byte should be drop where xx represents any 2 bit pattern: 00, 01, 10, or 11. --------- Co-authored-by: john <hondaxiao@tencent.com> Co-authored-by: chundonglinlin <chundonglinlin@163.com> Co-authored-by: winlin <winlin@vip.126.com>
Configuration menu - View commit details
-
Copy full SHA for add0f36 - Browse repository at this point
Copy the full SHA add0f36View commit details
Commits on Sep 18, 2023
-
Bugfix: HEVC SRT stream supports multiple PPS fields. v6.0.76 (#3722)
When the srs have multiple pps in hevc.the srs can't parse for this. problem fixed this #3604 --------- Co-authored-by: chundonglinlin <chundonglinlin@163.com> Co-authored-by: john <hondaxiao@tencent.com>
Configuration menu - View commit details
-
Copy full SHA for 4362df7 - Browse repository at this point
Copy the full SHA 4362df7View commit details
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.