Skip to content

Commit

Permalink
chore: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
josephnhtam committed Oct 5, 2024
1 parent 33b9063 commit 7bfe0f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/tutorials/adaptive-hls.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ using System.Net;

using var liveStreamingServer = LiveStreamingServerBuilder.Create()
.ConfigureRtmpServer(options => options
.AddAudioCodecFilter(builder =>builder.Include(AudioCodec.AAC))
.AddAudioCodecFilter(builder => builder.Include(AudioCodec.AAC))
.AddStreamProcessor()
.AddAdaptiveHlsTranscoder(config =>
config.AudioEncodingArguments = "-c:a copy"
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/serving-hls.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ You can add the video and codec filters like this:
```cs linenums="1"
var liveStreamingServer = LiveStreamingServerBuilder.Create()
.ConfigureRtmpServer(options => options
.AddVideoCodecFilter(builder => builder.Include(VideoCodec.AVC))
.AddVideoCodecFilter(builder => builder.Include(VideoCodec.AVC).Include(VideoCodec.HEVC))
.AddAudioCodecFilter(builder => builder.Include(AudioCodec.AAC))
.AddStreamProcessor()
.AddHlsTransmuxer()
Expand Down

0 comments on commit 7bfe0f5

Please sign in to comment.