1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

update copyright to 2025. v5.0.218 (#4271)

update copyright to 2025

---------

Co-authored-by: john <hondaxiao@tencent.com>
Co-authored-by: winlin <winlinvip@gmail.com>
This commit is contained in:
john 2025-02-24 19:30:55 +08:00
parent 65ea140126
commit 4526a8b781
331 changed files with 362 additions and 354 deletions

View file

@ -1,6 +1,6 @@
The MIT License (MIT) The MIT License (MIT)
Copyright (c) 2013-2024 The SRS Authors Copyright (c) 2013-2025 The SRS Authors
Permission is hereby granted, free of charge, to any person obtaining a copy of Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in this software and associated documentation files (the "Software"), to deal in

View file

@ -1,7 +1,7 @@
/* /*
The MIT License (MIT) The MIT License (MIT)
Copyright (c) 2019 winlin Copyright (c) 2025 winlin
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

View file

@ -1,7 +1,7 @@
/* /*
The MIT License (MIT) The MIT License (MIT)
Copyright (c) 2019 winlin Copyright (c) 2025 winlin
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

View file

@ -1,7 +1,7 @@
/* /*
The MIT License (MIT) The MIT License (MIT)
Copyright (c) 2019 winlin Copyright (c) 2025 winlin
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

View file

@ -1,6 +1,6 @@
The MIT License (MIT) The MIT License (MIT)
Copyright (c) 2013-2017 winlin Copyright (c) 2013-2025 winlin
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

View file

@ -1,7 +1,7 @@
/* /*
The MIT License (MIT) The MIT License (MIT)
Copyright (c) 2019 winlin Copyright (c) 2025 winlin
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

View file

@ -1,6 +1,6 @@
// The MIT License (MIT) // The MIT License (MIT)
// //
// Copyright (c) 2021 Winlin // Copyright (c) 2025 Winlin
// //
// Permission is hereby granted, free of charge, to any person obtaining a copy of // Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in // this software and associated documentation files (the "Software"), to deal in

View file

@ -1,6 +1,6 @@
The MIT License (MIT) The MIT License (MIT)
Copyright (c) 2013-2017 winlin Copyright (c) 2013-2025 winlin
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

View file

@ -2,7 +2,7 @@
/** /**
* The MIT License (MIT) * The MIT License (MIT)
* *
* Copyright (c) 2013-2021 Winlin * Copyright (c) 2013-2025 Winlin
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy of * Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in * this software and associated documentation files (the "Software"), to deal in

View file

@ -2,7 +2,7 @@
/** /**
* The MIT License (MIT) * The MIT License (MIT)
* *
* Copyright (c) 2013-2021 Winlin * Copyright (c) 2013-2025 Winlin
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy of * Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in * this software and associated documentation files (the "Software"), to deal in

View file

@ -1,6 +1,6 @@
The MIT License (MIT) The MIT License (MIT)
Copyright (c) 2021 Winlin Copyright (c) 2025 Winlin
Permission is hereby granted, free of charge, to any person obtaining a copy of Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in this software and associated documentation files (the "Software"), to deal in

View file

@ -1,6 +1,6 @@
// The MIT License (MIT) // The MIT License (MIT)
// //
// # Copyright (c) 2023 Winlin // # Copyright (c) 2025 Winlin
// //
// Permission is hereby granted, free of charge, to any person obtaining a copy of // Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in // this software and associated documentation files (the "Software"), to deal in

View file

@ -1,6 +1,6 @@
// The MIT License (MIT) // The MIT License (MIT)
// //
// # Copyright (c) 2023 Winlin // # Copyright (c) 2025 Winlin
// //
// Permission is hereby granted, free of charge, to any person obtaining a copy of // Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in // this software and associated documentation files (the "Software"), to deal in

View file

@ -1,6 +1,6 @@
// The MIT License (MIT) // The MIT License (MIT)
// //
// # Copyright (c) 2023 Winlin // # Copyright (c) 2025 Winlin
// //
// Permission is hereby granted, free of charge, to any person obtaining a copy of // Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in // this software and associated documentation files (the "Software"), to deal in

View file

@ -1,6 +1,6 @@
// The MIT License (MIT) // The MIT License (MIT)
// //
// # Copyright (c) 2023 Winlin // # Copyright (c) 2025 Winlin
// //
// Permission is hereby granted, free of charge, to any person obtaining a copy of // Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in // this software and associated documentation files (the "Software"), to deal in

View file

@ -1,6 +1,6 @@
// The MIT License (MIT) // The MIT License (MIT)
// //
// # Copyright (c) 2023 Winlin // # Copyright (c) 2025 Winlin
// //
// Permission is hereby granted, free of charge, to any person obtaining a copy of // Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in // this software and associated documentation files (the "Software"), to deal in

View file

@ -1,6 +1,6 @@
// The MIT License (MIT) // The MIT License (MIT)
// //
// # Copyright (c) 2023 Winlin // # Copyright (c) 2025 Winlin
// //
// Permission is hereby granted, free of charge, to any person obtaining a copy of // Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in // this software and associated documentation files (the "Software"), to deal in

View file

@ -1,6 +1,6 @@
// The MIT License (MIT) // The MIT License (MIT)
// //
// # Copyright (c) 2023 Winlin // # Copyright (c) 2025 Winlin
// //
// Permission is hereby granted, free of charge, to any person obtaining a copy of // Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in // this software and associated documentation files (the "Software"), to deal in

View file

@ -1,6 +1,6 @@
// The MIT License (MIT) // The MIT License (MIT)
// //
// # Copyright (c) 2023 Winlin // # Copyright (c) 2025 Winlin
// //
// Permission is hereby granted, free of charge, to any person obtaining a copy of // Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in // this software and associated documentation files (the "Software"), to deal in

View file

@ -1,6 +1,6 @@
// The MIT License (MIT) // The MIT License (MIT)
// //
// # Copyright (c) 2023 Winlin // # Copyright (c) 2025 Winlin
// //
// Permission is hereby granted, free of charge, to any person obtaining a copy of // Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in // this software and associated documentation files (the "Software"), to deal in

View file

@ -1,6 +1,6 @@
// The MIT License (MIT) // The MIT License (MIT)
// //
// # Copyright (c) 2022 Winlin // # Copyright (c) 2022-2025 Winlin
// //
// Permission is hereby granted, free of charge, to any person obtaining a copy of // Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in // this software and associated documentation files (the "Software"), to deal in
@ -24,12 +24,13 @@ import (
"context" "context"
"flag" "flag"
"fmt" "fmt"
"github.com/ossrs/go-oryx-lib/errors"
"github.com/ossrs/go-oryx-lib/logger"
"io" "io"
"os" "os"
"strings" "strings"
"time" "time"
"github.com/ossrs/go-oryx-lib/errors"
"github.com/ossrs/go-oryx-lib/logger"
) )
type gbMainConfig struct { type gbMainConfig struct {

View file

@ -1,6 +1,6 @@
// The MIT License (MIT) // The MIT License (MIT)
// //
// # Copyright (c) 2022 Winlin // # Copyright (c) 2022-2025 Winlin
// //
// Permission is hereby granted, free of charge, to any person obtaining a copy of // Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in // this software and associated documentation files (the "Software"), to deal in
@ -21,10 +21,11 @@
package gb28181 package gb28181
import ( import (
"github.com/ossrs/go-oryx-lib/logger"
"io/ioutil" "io/ioutil"
"os" "os"
"testing" "testing"
"github.com/ossrs/go-oryx-lib/logger"
) )
func TestMain(m *testing.M) { func TestMain(m *testing.M) {

View file

@ -1,6 +1,6 @@
// The MIT License (MIT) // The MIT License (MIT)
// //
// Copyright (c) 2022 Winlin // # Copyright (c) 2022-2025 Winlin
// //
// Permission is hereby granted, free of charge, to any person obtaining a copy of // Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in // this software and associated documentation files (the "Software"), to deal in
@ -23,11 +23,12 @@ package gb28181
import ( import (
"context" "context"
"fmt" "fmt"
"testing"
"time"
"github.com/ghettovoice/gosip/sip" "github.com/ghettovoice/gosip/sip"
"github.com/ossrs/go-oryx-lib/errors" "github.com/ossrs/go-oryx-lib/errors"
"github.com/ossrs/go-oryx-lib/logger" "github.com/ossrs/go-oryx-lib/logger"
"testing"
"time"
) )
func TestGbPublishRegularly(t *testing.T) { func TestGbPublishRegularly(t *testing.T) {

View file

@ -1,6 +1,6 @@
// The MIT License (MIT) // The MIT License (MIT)
// //
// Copyright (c) 2022 Winlin // # Copyright (c) 2022-2025 Winlin
// //
// Permission is hereby granted, free of charge, to any person obtaining a copy of // Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in // this software and associated documentation files (the "Software"), to deal in
@ -22,16 +22,17 @@ package gb28181
import ( import (
"context" "context"
"github.com/ghettovoice/gosip/sip"
"github.com/ossrs/go-oryx-lib/errors"
"github.com/ossrs/go-oryx-lib/logger"
"github.com/pion/webrtc/v3/pkg/media/h264reader"
"io" "io"
"os" "os"
"strconv" "strconv"
"strings" "strings"
"sync" "sync"
"time" "time"
"github.com/ghettovoice/gosip/sip"
"github.com/ossrs/go-oryx-lib/errors"
"github.com/ossrs/go-oryx-lib/logger"
"github.com/pion/webrtc/v3/pkg/media/h264reader"
) )
type GBSessionConfig struct { type GBSessionConfig struct {

View file

@ -1,6 +1,6 @@
// The MIT License (MIT) // The MIT License (MIT)
// //
// Copyright (c) 2022 Winlin // # Copyright (c) 2022-2025 Winlin
// //
// Permission is hereby granted, free of charge, to any person obtaining a copy of // Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in // this software and associated documentation files (the "Software"), to deal in
@ -23,14 +23,15 @@ package gb28181
import ( import (
"context" "context"
"fmt" "fmt"
"github.com/ossrs/go-oryx-lib/errors"
"github.com/pion/rtp"
"github.com/yapingcat/gomedia/codec"
"github.com/yapingcat/gomedia/mpeg2"
"math" "math"
"net" "net"
"net/url" "net/url"
"strings" "strings"
"github.com/ossrs/go-oryx-lib/errors"
"github.com/pion/rtp"
"github.com/yapingcat/gomedia/codec"
"github.com/yapingcat/gomedia/mpeg2"
) )
type PSConfig struct { type PSConfig struct {

View file

@ -1,6 +1,6 @@
// The MIT License (MIT) // The MIT License (MIT)
// //
// # Copyright (c) 2022 Winlin // # Copyright (c) 2022-2025 Winlin
// //
// Permission is hereby granted, free of charge, to any person obtaining a copy of // Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in // this software and associated documentation files (the "Software"), to deal in
@ -23,16 +23,17 @@ package gb28181
import ( import (
"context" "context"
"fmt" "fmt"
"github.com/ghettovoice/gosip/log"
"github.com/ghettovoice/gosip/sip"
"github.com/ghettovoice/gosip/transport"
"github.com/ossrs/go-oryx-lib/errors"
"github.com/ossrs/go-oryx-lib/logger"
"math/rand" "math/rand"
"net/url" "net/url"
"strings" "strings"
"sync" "sync"
"time" "time"
"github.com/ghettovoice/gosip/log"
"github.com/ghettovoice/gosip/sip"
"github.com/ghettovoice/gosip/transport"
"github.com/ossrs/go-oryx-lib/errors"
"github.com/ossrs/go-oryx-lib/logger"
) )
type SIPConfig struct { type SIPConfig struct {

View file

@ -1,6 +1,6 @@
// The MIT License (MIT) // The MIT License (MIT)
// //
// Copyright (c) 2022 Winlin // # Copyright (c) 2022-2025 Winlin
// //
// Permission is hereby granted, free of charge, to any person obtaining a copy of // Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in // this software and associated documentation files (the "Software"), to deal in
@ -25,10 +25,6 @@ import (
"context" "context"
"flag" "flag"
"fmt" "fmt"
"github.com/ghettovoice/gosip/sip"
"github.com/ossrs/go-oryx-lib/aac"
"github.com/ossrs/go-oryx-lib/errors"
"github.com/yapingcat/gomedia/mpeg2"
"io" "io"
"net" "net"
"net/url" "net/url"
@ -36,6 +32,11 @@ import (
"path" "path"
"strings" "strings"
"time" "time"
"github.com/ghettovoice/gosip/sip"
"github.com/ossrs/go-oryx-lib/aac"
"github.com/ossrs/go-oryx-lib/errors"
"github.com/yapingcat/gomedia/mpeg2"
) )
var srsLog *bool var srsLog *bool

View file

@ -1,6 +1,6 @@
// The MIT License (MIT) // The MIT License (MIT)
// //
// # Copyright (c) 2021 Winlin // # Copyright (c) 2025 Winlin
// //
// Permission is hereby granted, free of charge, to any person obtaining a copy of // Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in // this software and associated documentation files (the "Software"), to deal in

View file

@ -1,6 +1,6 @@
// The MIT License (MIT) // The MIT License (MIT)
// //
// # Copyright (c) 2021 Winlin // # Copyright (c) 2025 Winlin
// //
// Permission is hereby granted, free of charge, to any person obtaining a copy of // Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in // this software and associated documentation files (the "Software"), to deal in

View file

@ -1,6 +1,6 @@
// The MIT License (MIT) // The MIT License (MIT)
// //
// # Copyright (c) 2021 Winlin // # Copyright (c) 2025 Winlin
// //
// Permission is hereby granted, free of charge, to any person obtaining a copy of // Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in // this software and associated documentation files (the "Software"), to deal in

View file

@ -1,6 +1,6 @@
// The MIT License (MIT) // The MIT License (MIT)
// //
// # Copyright (c) 2021 Winlin // # Copyright (c) 2025 Winlin
// //
// Permission is hereby granted, free of charge, to any person obtaining a copy of // Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in // this software and associated documentation files (the "Software"), to deal in

View file

@ -1,6 +1,6 @@
// The MIT License (MIT) // The MIT License (MIT)
// //
// # Copyright (c) 2021 Winlin // # Copyright (c) 2025 Winlin
// //
// Permission is hereby granted, free of charge, to any person obtaining a copy of // Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in // this software and associated documentation files (the "Software"), to deal in

View file

@ -1,6 +1,6 @@
// The MIT License (MIT) // The MIT License (MIT)
// //
// # Copyright (c) 2021 Winlin // # Copyright (c) 2025 Winlin
// //
// Permission is hereby granted, free of charge, to any person obtaining a copy of // Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in // this software and associated documentation files (the "Software"), to deal in

View file

@ -1,6 +1,6 @@
// The MIT License (MIT) // The MIT License (MIT)
// //
// # Copyright (c) 2021 Winlin // # Copyright (c) 2025 Winlin
// //
// Permission is hereby granted, free of charge, to any person obtaining a copy of // Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in // this software and associated documentation files (the "Software"), to deal in

View file

@ -1,6 +1,6 @@
// The MIT License (MIT) // The MIT License (MIT)
// //
// # Copyright (c) 2021 Winlin // # Copyright (c) 2025 Winlin
// //
// Permission is hereby granted, free of charge, to any person obtaining a copy of // Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in // this software and associated documentation files (the "Software"), to deal in

View file

@ -1,6 +1,6 @@
// The MIT License (MIT) // The MIT License (MIT)
// //
// # Copyright (c) 2021 Winlin // # Copyright (c) 2025 Winlin
// //
// Permission is hereby granted, free of charge, to any person obtaining a copy of // Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in // this software and associated documentation files (the "Software"), to deal in

View file

@ -1,6 +1,6 @@
// The MIT License (MIT) // The MIT License (MIT)
// //
// # Copyright (c) 2021 Winlin // # Copyright (c) 2025 Winlin
// //
// Permission is hereby granted, free of charge, to any person obtaining a copy of // Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in // this software and associated documentation files (the "Software"), to deal in

View file

@ -1,6 +1,6 @@
// The MIT License (MIT) // The MIT License (MIT)
// //
// # Copyright (c) 2021 Winlin // # Copyright (c) 2025 Winlin
// //
// Permission is hereby granted, free of charge, to any person obtaining a copy of // Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in // this software and associated documentation files (the "Software"), to deal in

View file

@ -1,6 +1,6 @@
// The MIT License (MIT) // The MIT License (MIT)
// //
// # Copyright (c) 2021 Winlin // # Copyright (c) 2025 Winlin
// //
// Permission is hereby granted, free of charge, to any person obtaining a copy of // Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in // this software and associated documentation files (the "Software"), to deal in

View file

@ -1,6 +1,6 @@
// The MIT License (MIT) // The MIT License (MIT)
// //
// # Copyright (c) 2021 Winlin // # Copyright (c) 2025 Winlin
// //
// Permission is hereby granted, free of charge, to any person obtaining a copy of // Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in // this software and associated documentation files (the "Software"), to deal in

View file

@ -1,6 +1,6 @@
// The MIT License (MIT) // The MIT License (MIT)
// //
// # Copyright (c) 2021 Winlin // # Copyright (c) 2025 Winlin
// //
// Permission is hereby granted, free of charge, to any person obtaining a copy of // Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in // this software and associated documentation files (the "Software"), to deal in

View file

@ -1,6 +1,6 @@
// The MIT License (MIT) // The MIT License (MIT)
// //
// # Copyright (c) 2021 Winlin // # Copyright (c) 2025 Winlin
// //
// Permission is hereby granted, free of charge, to any person obtaining a copy of // Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in // this software and associated documentation files (the "Software"), to deal in

View file

@ -1,6 +1,6 @@
// The MIT License (MIT) // The MIT License (MIT)
// //
// # Copyright (c) 2021 Winlin // # Copyright (c) 2025 Winlin
// //
// Permission is hereby granted, free of charge, to any person obtaining a copy of // Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in // this software and associated documentation files (the "Software"), to deal in

View file

@ -1,6 +1,6 @@
// The MIT License (MIT) // The MIT License (MIT)
// //
// # Copyright (c) 2021 Winlin // # Copyright (c) 2025 Winlin
// //
// Permission is hereby granted, free of charge, to any person obtaining a copy of // Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in // this software and associated documentation files (the "Software"), to deal in

View file

@ -1,6 +1,6 @@
// The MIT License (MIT) // The MIT License (MIT)
// //
// # Copyright (c) 2021 Winlin // # Copyright (c) 2025 Winlin
// //
// Permission is hereby granted, free of charge, to any person obtaining a copy of // Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in // this software and associated documentation files (the "Software"), to deal in

View file

@ -1,6 +1,6 @@
// The MIT License (MIT) // The MIT License (MIT)
// //
// # Copyright (c) 2021 Winlin // # Copyright (c) 2025 Winlin
// //
// Permission is hereby granted, free of charge, to any person obtaining a copy of // Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in // this software and associated documentation files (the "Software"), to deal in

View file

@ -1,6 +1,6 @@
// The MIT License (MIT) // The MIT License (MIT)
// //
// # Copyright (c) 2021 Winlin // # Copyright (c) 2025 Winlin
// //
// Permission is hereby granted, free of charge, to any person obtaining a copy of // Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in // this software and associated documentation files (the "Software"), to deal in

View file

@ -1,6 +1,6 @@
The MIT License (MIT) The MIT License (MIT)
Copyright (c) 2013-2017 winlin Copyright (c) 2013-2025 winlin
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

View file

@ -1,6 +1,6 @@
// The MIT License (MIT) // The MIT License (MIT)
// //
// # Copyright (c) 2021 Winlin // # Copyright (c) 2025 Winlin
// //
// Permission is hereby granted, free of charge, to any person obtaining a copy of // Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in // this software and associated documentation files (the "Software"), to deal in

View file

@ -1,6 +1,6 @@
// The MIT License (MIT) // The MIT License (MIT)
// //
// # Copyright (c) 2021 Winlin // # Copyright (c) 2025 Winlin
// //
// Permission is hereby granted, free of charge, to any person obtaining a copy of // Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in // this software and associated documentation files (the "Software"), to deal in

View file

@ -1,5 +1,5 @@
/* SPDX-License-Identifier: MIT */ /* SPDX-License-Identifier: MIT */
/* Copyright (c) 2013-2024 The SRS Authors */ /* Copyright (c) 2013-2025 The SRS Authors */
#ifdef __linux__ #ifdef __linux__
#define _GNU_SOURCE #define _GNU_SOURCE

View file

@ -1,5 +1,5 @@
/* SPDX-License-Identifier: MIT */ /* SPDX-License-Identifier: MIT */
/* Copyright (c) 2013-2024 The SRS Authors */ /* Copyright (c) 2013-2025 The SRS Authors */
#include <stdio.h> #include <stdio.h>

View file

@ -1,5 +1,5 @@
/* SPDX-License-Identifier: MIT */ /* SPDX-License-Identifier: MIT */
/* Copyright (c) 2022 Winlin */ /* Copyright (c) 2025 Winlin */
#include <stdio.h> #include <stdio.h>
#include <setjmp.h> #include <setjmp.h>

View file

@ -1,5 +1,5 @@
/* SPDX-License-Identifier: MIT */ /* SPDX-License-Identifier: MIT */
/* Copyright (c) 2022 Winlin */ /* Copyright (c) 2025 Winlin */
void foo() { void foo() {
} }

View file

@ -1,5 +1,5 @@
/* SPDX-License-Identifier: MIT */ /* SPDX-License-Identifier: MIT */
/* Copyright (c) 2013-2024 The SRS Authors */ /* Copyright (c) 2013-2025 The SRS Authors */
#include <stdio.h> #include <stdio.h>
#include <setjmp.h> #include <setjmp.h>

View file

@ -1,5 +1,5 @@
/* SPDX-License-Identifier: MIT */ /* SPDX-License-Identifier: MIT */
/* Copyright (c) 2022 Winlin */ /* Copyright (c) 2025 Winlin */
long foo() { long foo() {
char c; char c;

View file

@ -1,5 +1,5 @@
/* SPDX-License-Identifier: MIT */ /* SPDX-License-Identifier: MIT */
/* Copyright (c) 2013-2024 The SRS Authors */ /* Copyright (c) 2013-2025 The SRS Authors */
#include <stdio.h> #include <stdio.h>

View file

@ -1,5 +1,5 @@
/* SPDX-License-Identifier: MIT */ /* SPDX-License-Identifier: MIT */
/* Copyright (c) 2013-2024 The SRS Authors */ /* Copyright (c) 2013-2025 The SRS Authors */
#include <st_utest.hpp> #include <st_utest.hpp>

View file

@ -1,5 +1,5 @@
/* SPDX-License-Identifier: MIT */ /* SPDX-License-Identifier: MIT */
/* Copyright (c) 2013-2024 The SRS Authors */ /* Copyright (c) 2013-2025 The SRS Authors */
#ifndef ST_UTEST_PUBLIC_HPP #ifndef ST_UTEST_PUBLIC_HPP
#define ST_UTEST_PUBLIC_HPP #define ST_UTEST_PUBLIC_HPP

View file

@ -1,5 +1,5 @@
/* SPDX-License-Identifier: MIT */ /* SPDX-License-Identifier: MIT */
/* Copyright (c) 2013-2024 The SRS Authors */ /* Copyright (c) 2013-2025 The SRS Authors */
#include <st_utest.hpp> #include <st_utest.hpp>

View file

@ -1,5 +1,5 @@
/* SPDX-License-Identifier: MIT */ /* SPDX-License-Identifier: MIT */
/* Copyright (c) 2013-2024 The SRS Authors */ /* Copyright (c) 2013-2025 The SRS Authors */
#include <st_utest.hpp> #include <st_utest.hpp>

View file

@ -7,6 +7,7 @@ The changelog for SRS.
<a name="v5-changes"></a> <a name="v5-changes"></a>
## SRS 5.0 Changelog ## SRS 5.0 Changelog
* v5.0, 2025-01-14, Merge [#4271](https://github.com/ossrs/srs/pull/4271): update copyright to 2025. v5.0.218 (#4271)
* v5.0, 2024-10-31, Merge [#4216](https://github.com/ossrs/srs/pull/4216): fix hls error when stream has extension. v5.0.217 (#4216) * v5.0, 2024-10-31, Merge [#4216](https://github.com/ossrs/srs/pull/4216): fix hls error when stream has extension. v5.0.217 (#4216)
* v5.0, 2024-10-15, Merge [#4160](https://github.com/ossrs/srs/pull/4160): RTC2RTMP: Fix screen sharing stutter caused by packet loss. v5.0.216 (#4160) * v5.0, 2024-10-15, Merge [#4160](https://github.com/ossrs/srs/pull/4160): RTC2RTMP: Fix screen sharing stutter caused by packet loss. v5.0.216 (#4160)
* v5.0, 2024-09-09, Merge [#4171](https://github.com/ossrs/srs/pull/4171): Heartbeat: Report ports for proxy server. v5.0.215 (#4171) * v5.0, 2024-09-09, Merge [#4171](https://github.com/ossrs/srs/pull/4171): Heartbeat: Report ports for proxy server. v5.0.215 (#4171)

View file

@ -1,7 +1,7 @@
#!/usr/bin/python #!/usr/bin/python
# #
# Copyright (c) 2013-2021 Winlin # Copyright (c) 2013-2025 Winlin
# #
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #

View file

@ -1,7 +1,7 @@
#!/usr/bin/python #!/usr/bin/python
# #
# Copyright (c) 2013-2021 Winlin # Copyright (c) 2013-2025 Winlin
# #
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #

View file

@ -1,5 +1,5 @@
// //
// Copyright (c) 2013-2021 Winlin // Copyright (c) 2013-2025 Winlin
// //
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
// //

View file

@ -1,5 +1,5 @@
// //
// Copyright (c) 2013-2021 Winlin // Copyright (c) 2013-2025 Winlin
// //
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
// //

View file

@ -1,5 +1,5 @@
// //
// Copyright (c) 2013-2021 Winlin // Copyright (c) 2013-2025 Winlin
// //
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
// //

View file

@ -1,5 +1,5 @@
// //
// Copyright (c) 2013-2021 Winlin // Copyright (c) 2013-2025 Winlin
// //
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
// //

View file

@ -1,5 +1,5 @@
// //
// Copyright (c) 2013-2021 Winlin // Copyright (c) 2013-2025 Winlin
// //
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
// //

View file

@ -1,5 +1,5 @@
// //
// Copyright (c) 2013-2021 Winlin // Copyright (c) 2013-2025 Winlin
// //
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
// //

View file

@ -1,6 +1,6 @@
// //
// Copyright (c) 2013-2021 Winlin // Copyright (c) 2013-2025 Winlin
// //
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
// //

View file

@ -1,7 +1,7 @@
#!/usr/bin/python #!/usr/bin/python
# #
# Copyright (c) 2013-2021 Winlin # Copyright (c) 2013-2025 Winlin
# #
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #

View file

@ -1,5 +1,5 @@
// //
// Copyright (c) 2013-2024 The SRS Authors // Copyright (c) 2013-2025 The SRS Authors
// //
// SPDX-License-Identifier: MIT or MulanPSL-2.0 // SPDX-License-Identifier: MIT or MulanPSL-2.0
// //

View file

@ -1,5 +1,5 @@
// //
// Copyright (c) 2013-2024 The SRS Authors // Copyright (c) 2013-2025 The SRS Authors
// //
// SPDX-License-Identifier: MIT or MulanPSL-2.0 // SPDX-License-Identifier: MIT or MulanPSL-2.0
// //

View file

@ -1,5 +1,5 @@
// //
// Copyright (c) 2013-2024 The SRS Authors // Copyright (c) 2013-2025 The SRS Authors
// //
// SPDX-License-Identifier: MIT or MulanPSL-2.0 // SPDX-License-Identifier: MIT or MulanPSL-2.0
// //

View file

@ -1,5 +1,5 @@
// //
// Copyright (c) 2013-2024 The SRS Authors // Copyright (c) 2013-2025 The SRS Authors
// //
// SPDX-License-Identifier: MIT or MulanPSL-2.0 // SPDX-License-Identifier: MIT or MulanPSL-2.0
// //

View file

@ -1,5 +1,5 @@
// //
// Copyright (c) 2013-2024 The SRS Authors // Copyright (c) 2013-2025 The SRS Authors
// //
// SPDX-License-Identifier: MIT or MulanPSL-2.0 // SPDX-License-Identifier: MIT or MulanPSL-2.0
// //

View file

@ -1,5 +1,5 @@
// //
// Copyright (c) 2013-2024 The SRS Authors // Copyright (c) 2013-2025 The SRS Authors
// //
// SPDX-License-Identifier: MIT or MulanPSL-2.0 // SPDX-License-Identifier: MIT or MulanPSL-2.0
// //

View file

@ -1,5 +1,5 @@
// //
// Copyright (c) 2013-2024 The SRS Authors // Copyright (c) 2013-2025 The SRS Authors
// //
// SPDX-License-Identifier: MIT or MulanPSL-2.0 // SPDX-License-Identifier: MIT or MulanPSL-2.0
// //

View file

@ -1,5 +1,5 @@
// //
// Copyright (c) 2013-2024 The SRS Authors // Copyright (c) 2013-2025 The SRS Authors
// //
// SPDX-License-Identifier: MIT or MulanPSL-2.0 // SPDX-License-Identifier: MIT or MulanPSL-2.0
// //

View file

@ -1,5 +1,5 @@
// //
// Copyright (c) 2013-2024 The SRS Authors // Copyright (c) 2013-2025 The SRS Authors
// //
// SPDX-License-Identifier: MIT or MulanPSL-2.0 // SPDX-License-Identifier: MIT or MulanPSL-2.0
// //

View file

@ -1,5 +1,5 @@
// //
// Copyright (c) 2013-2024 The SRS Authors // Copyright (c) 2013-2025 The SRS Authors
// //
// SPDX-License-Identifier: MIT or MulanPSL-2.0 // SPDX-License-Identifier: MIT or MulanPSL-2.0
// //

View file

@ -1,5 +1,5 @@
// //
// Copyright (c) 2013-2024 The SRS Authors // Copyright (c) 2013-2025 The SRS Authors
// //
// SPDX-License-Identifier: MIT or MulanPSL-2.0 // SPDX-License-Identifier: MIT or MulanPSL-2.0
// //

View file

@ -1,5 +1,5 @@
// //
// Copyright (c) 2013-2024 The SRS Authors // Copyright (c) 2013-2025 The SRS Authors
// //
// SPDX-License-Identifier: MIT or MulanPSL-2.0 // SPDX-License-Identifier: MIT or MulanPSL-2.0
// //

View file

@ -1,5 +1,5 @@
// //
// Copyright (c) 2013-2024 The SRS Authors // Copyright (c) 2013-2025 The SRS Authors
// //
// SPDX-License-Identifier: MIT or MulanPSL-2.0 // SPDX-License-Identifier: MIT or MulanPSL-2.0
// //

View file

@ -1,5 +1,5 @@
// //
// Copyright (c) 2013-2024 The SRS Authors // Copyright (c) 2013-2025 The SRS Authors
// //
// SPDX-License-Identifier: MIT or MulanPSL-2.0 // SPDX-License-Identifier: MIT or MulanPSL-2.0
// //

View file

@ -1,5 +1,5 @@
// //
// Copyright (c) 2013-2024 The SRS Authors // Copyright (c) 2013-2025 The SRS Authors
// //
// SPDX-License-Identifier: MIT or MulanPSL-2.0 // SPDX-License-Identifier: MIT or MulanPSL-2.0
// //

View file

@ -1,5 +1,5 @@
// //
// Copyright (c) 2013-2024 The SRS Authors // Copyright (c) 2013-2025 The SRS Authors
// //
// SPDX-License-Identifier: MIT or MulanPSL-2.0 // SPDX-License-Identifier: MIT or MulanPSL-2.0
// //

View file

@ -1,5 +1,5 @@
// //
// Copyright (c) 2013-2024 The SRS Authors // Copyright (c) 2013-2025 The SRS Authors
// //
// SPDX-License-Identifier: MIT or MulanPSL-2.0 // SPDX-License-Identifier: MIT or MulanPSL-2.0
// //

View file

@ -1,5 +1,5 @@
// //
// Copyright (c) 2013-2024 The SRS Authors // Copyright (c) 2013-2025 The SRS Authors
// //
// SPDX-License-Identifier: MIT or MulanPSL-2.0 // SPDX-License-Identifier: MIT or MulanPSL-2.0
// //

View file

@ -1,5 +1,5 @@
// //
// Copyright (c) 2013-2024 The SRS Authors // Copyright (c) 2013-2025 The SRS Authors
// //
// SPDX-License-Identifier: MIT or MulanPSL-2.0 // SPDX-License-Identifier: MIT or MulanPSL-2.0
// //

View file

@ -1,5 +1,5 @@
// //
// Copyright (c) 2013-2024 The SRS Authors // Copyright (c) 2013-2025 The SRS Authors
// //
// SPDX-License-Identifier: MIT or MulanPSL-2.0 // SPDX-License-Identifier: MIT or MulanPSL-2.0
// //

View file

@ -1,5 +1,5 @@
// //
// Copyright (c) 2013-2024 The SRS Authors // Copyright (c) 2013-2025 The SRS Authors
// //
// SPDX-License-Identifier: MIT or MulanPSL-2.0 // SPDX-License-Identifier: MIT or MulanPSL-2.0
// //

View file

@ -1,5 +1,5 @@
// //
// Copyright (c) 2013-2024 The SRS Authors // Copyright (c) 2013-2025 The SRS Authors
// //
// SPDX-License-Identifier: MIT or MulanPSL-2.0 // SPDX-License-Identifier: MIT or MulanPSL-2.0
// //

View file

@ -1,5 +1,5 @@
// //
// Copyright (c) 2013-2024 The SRS Authors // Copyright (c) 2013-2025 The SRS Authors
// //
// SPDX-License-Identifier: MIT or MulanPSL-2.0 // SPDX-License-Identifier: MIT or MulanPSL-2.0
// //

View file

@ -1,5 +1,5 @@
// //
// Copyright (c) 2013-2024 The SRS Authors // Copyright (c) 2013-2025 The SRS Authors
// //
// SPDX-License-Identifier: MIT or MulanPSL-2.0 // SPDX-License-Identifier: MIT or MulanPSL-2.0
// //

View file

@ -1,5 +1,5 @@
// //
// Copyright (c) 2013-2024 The SRS Authors // Copyright (c) 2013-2025 The SRS Authors
// //
// SPDX-License-Identifier: MIT or MulanPSL-2.0 // SPDX-License-Identifier: MIT or MulanPSL-2.0
// //

View file

@ -1,5 +1,5 @@
// //
// Copyright (c) 2013-2024 The SRS Authors // Copyright (c) 2013-2025 The SRS Authors
// //
// SPDX-License-Identifier: MIT or MulanPSL-2.0 // SPDX-License-Identifier: MIT or MulanPSL-2.0
// //

View file

@ -1,5 +1,5 @@
// //
// Copyright (c) 2013-2024 The SRS Authors // Copyright (c) 2013-2025 The SRS Authors
// //
// SPDX-License-Identifier: MIT or MulanPSL-2.0 // SPDX-License-Identifier: MIT or MulanPSL-2.0
// //

View file

@ -1,5 +1,5 @@
// //
// Copyright (c) 2013-2024 The SRS Authors // Copyright (c) 2013-2025 The SRS Authors
// //
// SPDX-License-Identifier: MIT or MulanPSL-2.0 // SPDX-License-Identifier: MIT or MulanPSL-2.0
// //

Some files were not shown because too many files have changed in this diff Show more