mirror of
https://github.com/bluenviron/mediamtx.git
synced 2025-12-20 02:00:05 -08:00
Support publishing with RTMP and H265 (for OBS Studio) (#1333)
* support publishing with RTMP and H265 (for OBS Studio) * rtmp source: block H265 tracks
This commit is contained in:
parent
4ebf4f7398
commit
ad52b3fab7
5 changed files with 283 additions and 119 deletions
|
|
@ -121,6 +121,10 @@ func (s *rtmpSource) run(ctx context.Context) error {
|
|||
return err
|
||||
}
|
||||
|
||||
if _, ok := videoFormat.(*format.H265); ok {
|
||||
return fmt.Errorf("proxying H265 streams with RTMP is not supported")
|
||||
}
|
||||
|
||||
var medias media.Medias
|
||||
var videoMedia *media.Media
|
||||
var audioMedia *media.Media
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue