mirror of
https://github.com/bluenviron/mediamtx
synced 2025-01-13 10:26:34 +00:00
rpicamera: fix crash
This commit is contained in:
parent
ca46d56184
commit
7216fc683c
@ -49,7 +49,8 @@ func (s *rpiCameraSource) run(ctx context.Context) error {
|
||||
onData := func(nalus [][]byte) {
|
||||
if stream == nil {
|
||||
res := s.parent.sourceStaticImplSetReady(pathSourceStaticSetReadyReq{
|
||||
tracks: tracks,
|
||||
tracks: tracks,
|
||||
generateRTPPackets: true,
|
||||
})
|
||||
if res.err != nil {
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user