mirror of
https://github.com/aler9/rtsp-simple-server
synced 2025-10-05 07:36:57 +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:
@@ -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
|
||||
|
Reference in New Issue
Block a user