mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +08:00
添加版权信息
This commit is contained in:
parent
b180ea0609
commit
5b7974a522
1
AUTHORS
1
AUTHORS
@ -32,3 +32,4 @@ Luke <automan@easydarwin.org>
|
|||||||
droid.chow <droid.chow@gmail.com>
|
droid.chow <droid.chow@gmail.com>
|
||||||
[陈晓林](https://github.com/musicwood)
|
[陈晓林](https://github.com/musicwood)
|
||||||
[老衲不出家](https://github.com/monktan89)
|
[老衲不出家](https://github.com/monktan89)
|
||||||
|
[big panda](<2381267071@qq.com>)
|
@ -1,4 +1,22 @@
|
|||||||
#define MS_CLASS "RTC::DtlsTransport"
|
/**
|
||||||
|
ISC License
|
||||||
|
|
||||||
|
Copyright © 2015, Iñaki Baz Castillo <ibc@aliax.net>
|
||||||
|
|
||||||
|
Permission to use, copy, modify, and/or distribute this software for any
|
||||||
|
purpose with or without fee is hereby granted, provided that the above
|
||||||
|
copyright notice and this permission notice appear in all copies.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||||
|
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||||
|
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||||
|
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||||
|
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||||
|
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||||
|
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define MS_CLASS "RTC::DtlsTransport"
|
||||||
// #define MS_LOG_DEV_LEVEL 3
|
// #define MS_LOG_DEV_LEVEL 3
|
||||||
|
|
||||||
#include "DtlsTransport.hpp"
|
#include "DtlsTransport.hpp"
|
||||||
|
@ -1,4 +1,22 @@
|
|||||||
#ifndef MS_RTC_DTLS_TRANSPORT_HPP
|
/**
|
||||||
|
ISC License
|
||||||
|
|
||||||
|
Copyright © 2015, Iñaki Baz Castillo <ibc@aliax.net>
|
||||||
|
|
||||||
|
Permission to use, copy, modify, and/or distribute this software for any
|
||||||
|
purpose with or without fee is hereby granted, provided that the above
|
||||||
|
copyright notice and this permission notice appear in all copies.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||||
|
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||||
|
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||||
|
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||||
|
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||||
|
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||||
|
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef MS_RTC_DTLS_TRANSPORT_HPP
|
||||||
#define MS_RTC_DTLS_TRANSPORT_HPP
|
#define MS_RTC_DTLS_TRANSPORT_HPP
|
||||||
|
|
||||||
#include "SrtpSession.hpp"
|
#include "SrtpSession.hpp"
|
||||||
|
@ -1,4 +1,22 @@
|
|||||||
#define MS_CLASS "RTC::IceServer"
|
/**
|
||||||
|
ISC License
|
||||||
|
|
||||||
|
Copyright © 2015, Iñaki Baz Castillo <ibc@aliax.net>
|
||||||
|
|
||||||
|
Permission to use, copy, modify, and/or distribute this software for any
|
||||||
|
purpose with or without fee is hereby granted, provided that the above
|
||||||
|
copyright notice and this permission notice appear in all copies.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||||
|
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||||
|
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||||
|
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||||
|
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||||
|
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||||
|
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define MS_CLASS "RTC::IceServer"
|
||||||
// #define MS_LOG_DEV_LEVEL 3
|
// #define MS_LOG_DEV_LEVEL 3
|
||||||
|
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
@ -1,4 +1,22 @@
|
|||||||
#ifndef MS_RTC_ICE_SERVER_HPP
|
/**
|
||||||
|
ISC License
|
||||||
|
|
||||||
|
Copyright © 2015, Iñaki Baz Castillo <ibc@aliax.net>
|
||||||
|
|
||||||
|
Permission to use, copy, modify, and/or distribute this software for any
|
||||||
|
purpose with or without fee is hereby granted, provided that the above
|
||||||
|
copyright notice and this permission notice appear in all copies.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||||
|
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||||
|
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||||
|
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||||
|
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||||
|
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||||
|
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef MS_RTC_ICE_SERVER_HPP
|
||||||
#define MS_RTC_ICE_SERVER_HPP
|
#define MS_RTC_ICE_SERVER_HPP
|
||||||
|
|
||||||
#include "StunPacket.hpp"
|
#include "StunPacket.hpp"
|
||||||
|
@ -1,6 +1,12 @@
|
|||||||
//
|
/*
|
||||||
// Created by xzl on 2021/3/27.
|
* Copyright (c) 2016 The ZLMediaKit project authors. All Rights Reserved.
|
||||||
//
|
*
|
||||||
|
* This file is part of ZLMediaKit(https://github.com/xia-chu/ZLMediaKit).
|
||||||
|
*
|
||||||
|
* Use of this source code is governed by MIT license that can be found in the
|
||||||
|
* LICENSE file in the root of the source tree. All contributing project authors
|
||||||
|
* may be found in the AUTHORS file in the root of the source tree.
|
||||||
|
*/
|
||||||
|
|
||||||
#include "Sdp.h"
|
#include "Sdp.h"
|
||||||
#include "Common/Parser.h"
|
#include "Common/Parser.h"
|
||||||
|
12
webrtc/Sdp.h
12
webrtc/Sdp.h
@ -1,6 +1,12 @@
|
|||||||
//
|
/*
|
||||||
// Created by xzl on 2021/3/27.
|
* Copyright (c) 2016 The ZLMediaKit project authors. All Rights Reserved.
|
||||||
//
|
*
|
||||||
|
* This file is part of ZLMediaKit(https://github.com/xia-chu/ZLMediaKit).
|
||||||
|
*
|
||||||
|
* Use of this source code is governed by MIT license that can be found in the
|
||||||
|
* LICENSE file in the root of the source tree. All contributing project authors
|
||||||
|
* may be found in the AUTHORS file in the root of the source tree.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef ZLMEDIAKIT_SDP_H
|
#ifndef ZLMEDIAKIT_SDP_H
|
||||||
#define ZLMEDIAKIT_SDP_H
|
#define ZLMEDIAKIT_SDP_H
|
||||||
|
@ -1,4 +1,22 @@
|
|||||||
#define MS_CLASS "RTC::SrtpSession"
|
/**
|
||||||
|
ISC License
|
||||||
|
|
||||||
|
Copyright © 2015, Iñaki Baz Castillo <ibc@aliax.net>
|
||||||
|
|
||||||
|
Permission to use, copy, modify, and/or distribute this software for any
|
||||||
|
purpose with or without fee is hereby granted, provided that the above
|
||||||
|
copyright notice and this permission notice appear in all copies.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||||
|
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||||
|
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||||
|
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||||
|
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||||
|
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||||
|
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define MS_CLASS "RTC::SrtpSession"
|
||||||
// #define MS_LOG_DEV_LEVEL 3
|
// #define MS_LOG_DEV_LEVEL 3
|
||||||
|
|
||||||
#include "SrtpSession.hpp"
|
#include "SrtpSession.hpp"
|
||||||
|
@ -1,4 +1,22 @@
|
|||||||
#ifndef MS_RTC_SRTP_SESSION_HPP
|
/**
|
||||||
|
ISC License
|
||||||
|
|
||||||
|
Copyright © 2015, Iñaki Baz Castillo <ibc@aliax.net>
|
||||||
|
|
||||||
|
Permission to use, copy, modify, and/or distribute this software for any
|
||||||
|
purpose with or without fee is hereby granted, provided that the above
|
||||||
|
copyright notice and this permission notice appear in all copies.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||||
|
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||||
|
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||||
|
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||||
|
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||||
|
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||||
|
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef MS_RTC_SRTP_SESSION_HPP
|
||||||
#define MS_RTC_SRTP_SESSION_HPP
|
#define MS_RTC_SRTP_SESSION_HPP
|
||||||
|
|
||||||
#include "Utils.hpp"
|
#include "Utils.hpp"
|
||||||
|
@ -1,4 +1,22 @@
|
|||||||
#define MS_CLASS "RTC::StunPacket"
|
/**
|
||||||
|
ISC License
|
||||||
|
|
||||||
|
Copyright © 2015, Iñaki Baz Castillo <ibc@aliax.net>
|
||||||
|
|
||||||
|
Permission to use, copy, modify, and/or distribute this software for any
|
||||||
|
purpose with or without fee is hereby granted, provided that the above
|
||||||
|
copyright notice and this permission notice appear in all copies.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||||
|
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||||
|
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||||
|
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||||
|
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||||
|
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||||
|
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define MS_CLASS "RTC::StunPacket"
|
||||||
// #define MS_LOG_DEV_LEVEL 3
|
// #define MS_LOG_DEV_LEVEL 3
|
||||||
|
|
||||||
#include "StunPacket.hpp"
|
#include "StunPacket.hpp"
|
||||||
|
@ -1,4 +1,22 @@
|
|||||||
#ifndef MS_RTC_STUN_PACKET_HPP
|
/**
|
||||||
|
ISC License
|
||||||
|
|
||||||
|
Copyright © 2015, Iñaki Baz Castillo <ibc@aliax.net>
|
||||||
|
|
||||||
|
Permission to use, copy, modify, and/or distribute this software for any
|
||||||
|
purpose with or without fee is hereby granted, provided that the above
|
||||||
|
copyright notice and this permission notice appear in all copies.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||||
|
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||||
|
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||||
|
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||||
|
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||||
|
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||||
|
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef MS_RTC_STUN_PACKET_HPP
|
||||||
#define MS_RTC_STUN_PACKET_HPP
|
#define MS_RTC_STUN_PACKET_HPP
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,4 +1,22 @@
|
|||||||
#ifndef MS_UTILS_HPP
|
/**
|
||||||
|
ISC License
|
||||||
|
|
||||||
|
Copyright © 2015, Iñaki Baz Castillo <ibc@aliax.net>
|
||||||
|
|
||||||
|
Permission to use, copy, modify, and/or distribute this software for any
|
||||||
|
purpose with or without fee is hereby granted, provided that the above
|
||||||
|
copyright notice and this permission notice appear in all copies.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||||
|
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||||
|
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||||
|
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||||
|
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||||
|
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||||
|
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef MS_UTILS_HPP
|
||||||
#define MS_UTILS_HPP
|
#define MS_UTILS_HPP
|
||||||
|
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
|
@ -1,4 +1,14 @@
|
|||||||
#include "WebRtcTransport.h"
|
/*
|
||||||
|
* Copyright (c) 2016 The ZLMediaKit project authors. All Rights Reserved.
|
||||||
|
*
|
||||||
|
* This file is part of ZLMediaKit(https://github.com/xia-chu/ZLMediaKit).
|
||||||
|
*
|
||||||
|
* Use of this source code is governed by MIT license that can be found in the
|
||||||
|
* LICENSE file in the root of the source tree. All contributing project authors
|
||||||
|
* may be found in the AUTHORS file in the root of the source tree.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "WebRtcTransport.h"
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include "Rtcp/Rtcp.h"
|
#include "Rtcp/Rtcp.h"
|
||||||
#include "Rtsp/RtpReceiver.h"
|
#include "Rtsp/RtpReceiver.h"
|
||||||
|
@ -1,4 +1,14 @@
|
|||||||
#pragma once
|
/*
|
||||||
|
* Copyright (c) 2016 The ZLMediaKit project authors. All Rights Reserved.
|
||||||
|
*
|
||||||
|
* This file is part of ZLMediaKit(https://github.com/xia-chu/ZLMediaKit).
|
||||||
|
*
|
||||||
|
* Use of this source code is governed by MIT license that can be found in the
|
||||||
|
* LICENSE file in the root of the source tree. All contributing project authors
|
||||||
|
* may be found in the AUTHORS file in the root of the source tree.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
37
webrtc/readme.md
Normal file
37
webrtc/readme.md
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
# 致谢与声明
|
||||||
|
本文件夹下部分文件提取自[MediaSoup](https://github.com/versatica/mediasoup) ,分别为:
|
||||||
|
|
||||||
|
- ice相关功能:
|
||||||
|
- IceServer.cpp
|
||||||
|
- IceServer.hpp
|
||||||
|
- StunPacket.cpp
|
||||||
|
- StunPacket.hpp
|
||||||
|
- Utils.hpp
|
||||||
|
|
||||||
|
- dtls相关功能:
|
||||||
|
- DtlsTransport.cpp
|
||||||
|
- DtlsTransport.hpp
|
||||||
|
|
||||||
|
- srtp相关功能:
|
||||||
|
- SrtpSession.cpp
|
||||||
|
- SrtpSession.hpp
|
||||||
|
|
||||||
|
|
||||||
|
以上源码有一定的修改和裁剪,感谢MediaSoup开源项目及作者,
|
||||||
|
用户在使用本项目的同时,应该同时遵循MediaSoup的开源协议。
|
||||||
|
|
||||||
|
同时,在此也感谢开源项目[easy_webrtc_server](https://github.com/Mihawk086/easy_webrtc_server) 及作者,
|
||||||
|
在集成MediaSoup相关代码前期,主要参考这个项目。
|
||||||
|
|
||||||
|
另外,感谢[big panda](<2381267071@qq.com>) 开发并贡献的webrtc js测试客户端(www/webrtc目录下文件),
|
||||||
|
其开源项目地址为:https://gitee.com/xiongguangjie/zlmrtcclient.js
|
||||||
|
|
||||||
|
# 现状与规划
|
||||||
|
ZLMediaKit的WebRTC相关功能目前仅供测试与开发,现在还不成熟,后续主要工作有:
|
||||||
|
|
||||||
|
- 1、完善webrtc rtcp相关功能,包括丢包重传、带宽检测等功能。
|
||||||
|
- 2、实现rtp重传等相关功能。
|
||||||
|
- 3、实现simulecast相关功能。
|
||||||
|
- 4、fec、rtp扩展等其他功能。
|
||||||
|
- 5、如果精力允许,逐步替换MediaSoup相关代码,改用自有版权代码。
|
||||||
|
|
2
www/webrtc/readme.txt
Normal file
2
www/webrtc/readme.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
感谢[big panda](<2381267071@qq.com>) 开发并贡献此webrtc js测试客户端,
|
||||||
|
其开源项目地址为:https://gitee.com/xiongguangjie/zlmrtcclient.js
|
Loading…
Reference in New Issue
Block a user