mirror of
https://github.com/aler9/rtsp-simple-server
synced 2025-10-06 08:06:58 +08:00
rename Data into Unit (#1556)
This commit is contained in:
@@ -95,7 +95,7 @@ func (s *rpiCameraSource) run(ctx context.Context, cnf *conf.PathConf, reloadCon
|
||||
stream = res.stream
|
||||
}
|
||||
|
||||
err := stream.writeData(medi, medi.Formats[0], &formatprocessor.DataH264{
|
||||
err := stream.writeData(medi, medi.Formats[0], &formatprocessor.UnitH264{
|
||||
PTS: dts,
|
||||
AU: au,
|
||||
NTP: time.Now(),
|
||||
|
Reference in New Issue
Block a user