1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00
srs/trunk
Winlin 26aabe413d
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>
2023-04-08 09:18:10 +08:00
..
3rdparty API: Support HTTP basic authentication for API. v6.0.4, v5.0.152 (#3458) 2023-04-01 12:45:29 +08:00
auto WebRTC: Support configure CANDIDATE by env (#3470) 2023-03-27 19:24:08 +08:00
conf Support composited bridges for 1:N protocols converting. v6.0.41 (#3392) 2023-04-01 21:34:59 +08:00
doc RTMP: Support enhanced RTMP specification for HEVC. v6.0.42 (#3495) 2023-04-08 09:18:10 +08:00
etc/init.d Squash: Fix bugs 2022-01-13 18:26:28 +08:00
gdb ST: Support show coroutines. 2020-12-10 11:36:24 +08:00
ide/srs_clion Merge branch v5.0.103 into develop 2022-12-03 21:15:22 +08:00
modules Moduels: Refine the description 2021-04-21 11:18:35 +08:00
packaging Windows: Refine cygwin pipeline (#3260) 2022-11-21 14:32:26 +08:00
research RTMP: Support enhanced RTMP specification for HEVC. v6.0.42 (#3495) 2023-04-08 09:18:10 +08:00
scripts Package script support extra options. v5.0.102 2022-12-03 18:56:21 +08:00
src RTMP: Support enhanced RTMP specification for HEVC. v6.0.42 (#3495) 2023-04-08 09:18:10 +08:00
usr/lib/systemd/system Squash: Support RPM. Fix bugs. 2021-11-04 07:37:17 +08:00
.gitignore For #2136: API: Cleanup no active streams for statistics. v5.0.42 2022-08-19 19:45:19 +08:00
AUTHORS.md Add new contributors. 2023-02-21 09:13:40 +08:00
AUTHORS.txt Update AUTHORS 2021-08-25 07:43:35 +08:00
configure Support composited bridges for 1:N protocols converting. v6.0.41 (#3392) 2023-04-01 21:34:59 +08:00
Dockerfile Rename SRS_SRS_LOG_TANK to SRS_LOG_TANK. #3410 2023-02-13 11:37:03 +08:00
Dockerfile.builds Merge branch v5.0.103 into develop 2022-12-03 21:15:22 +08:00
Dockerfile.cov Asan: Refine asan warning message for macOS. 2022-12-31 21:20:51 +08:00
Dockerfile.pkg Merge branch v5.0.103 into develop 2022-12-03 21:15:22 +08:00
Dockerfile.test GB28181: Enable regression test for gb28181. v5.0.122 2022-12-31 19:47:54 +08:00