mirror of
https://github.com/bluenviron/mediamtx.git
synced 2025-12-20 02:00:05 -08:00
rpicamera: fix crash
This commit is contained in:
parent
ca46d56184
commit
7216fc683c
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue