Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
winlin
2014-04-29 10:06:52 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
2e5337a26ed46f8fb70b3c04784df9cf9ead2a30
2e5337a2
1 parent
fd0efecb
refactor: remove the unused super.
显示空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
2 行增加
和
48 行删除
trunk/src/rtmp/srs_protocol_rtmp_stack.cpp
trunk/src/rtmp/srs_protocol_rtmp_stack.hpp
trunk/src/rtmp/srs_protocol_rtmp_stack.cpp
查看文件 @
2e5337a
...
...
@@ -1621,8 +1621,8 @@ int SrsSharedPtrMessage::initialize(SrsMessageHeader* source, char* payload, int
ptr
->
perfer_cid
=
RTMP_CID_OverConnection2
;
}
super
::
payload
=
(
int8_t
*
)
ptr
->
payload
;
super
::
size
=
ptr
->
size
;
ISrsMessage
::
payload
=
(
int8_t
*
)
ptr
->
payload
;
ISrsMessage
::
size
=
ptr
->
size
;
return
ret
;
}
...
...
trunk/src/rtmp/srs_protocol_rtmp_stack.hpp
查看文件 @
2e5337a
...
...
@@ -332,7 +332,6 @@ public:
class
SrsCommonMessage
:
public
ISrsMessage
{
private
:
typedef
ISrsMessage
super
;
disable_default_copy
(
SrsCommonMessage
);
// decoded message payload.
private:
...
...
@@ -392,8 +391,6 @@ public:
class
SrsSharedPtrMessage
:
public
ISrsMessage
{
private
:
typedef
ISrsMessage
super
;
private
:
struct
SrsSharedPtr
{
char
*
payload
;
...
...
@@ -503,8 +500,6 @@ protected:
*/
class
SrsConnectAppPacket
:
public
SrsPacket
{
private
:
typedef
SrsPacket
super
;
protected
:
virtual
const
char
*
get_class_name
()
{
...
...
@@ -532,8 +527,6 @@ protected:
*/
class
SrsConnectAppResPacket
:
public
SrsPacket
{
private
:
typedef
SrsPacket
super
;
protected
:
virtual
const
char
*
get_class_name
()
{
...
...
@@ -567,8 +560,6 @@ protected:
*/
class
SrsCreateStreamPacket
:
public
SrsPacket
{
private
:
typedef
SrsPacket
super
;
protected
:
virtual
const
char
*
get_class_name
()
{
...
...
@@ -596,8 +587,6 @@ protected:
*/
class
SrsCreateStreamResPacket
:
public
SrsPacket
{
private
:
typedef
SrsPacket
super
;
protected
:
virtual
const
char
*
get_class_name
()
{
...
...
@@ -626,8 +615,6 @@ protected:
*/
class
SrsCloseStreamPacket
:
public
SrsPacket
{
private
:
typedef
SrsPacket
super
;
protected
:
virtual
const
char
*
get_class_name
()
{
...
...
@@ -649,8 +636,6 @@ public:
*/
class
SrsFMLEStartPacket
:
public
SrsPacket
{
private
:
typedef
SrsPacket
super
;
protected
:
virtual
const
char
*
get_class_name
()
{
...
...
@@ -682,8 +667,6 @@ public:
*/
class
SrsFMLEStartResPacket
:
public
SrsPacket
{
private
:
typedef
SrsPacket
super
;
protected
:
virtual
const
char
*
get_class_name
()
{
...
...
@@ -717,8 +700,6 @@ protected:
*/
class
SrsPublishPacket
:
public
SrsPacket
{
private
:
typedef
SrsPacket
super
;
protected
:
virtual
const
char
*
get_class_name
()
{
...
...
@@ -752,8 +733,6 @@ protected:
*/
class
SrsPausePacket
:
public
SrsPacket
{
private
:
typedef
SrsPacket
super
;
protected
:
virtual
const
char
*
get_class_name
()
{
...
...
@@ -778,8 +757,6 @@ public:
*/
class
SrsPlayPacket
:
public
SrsPacket
{
private
:
typedef
SrsPacket
super
;
protected
:
virtual
const
char
*
get_class_name
()
{
...
...
@@ -812,8 +789,6 @@ protected:
*/
class
SrsPlayResPacket
:
public
SrsPacket
{
private
:
typedef
SrsPacket
super
;
protected
:
virtual
const
char
*
get_class_name
()
{
...
...
@@ -841,8 +816,6 @@ protected:
*/
class
SrsOnBWDonePacket
:
public
SrsPacket
{
private
:
typedef
SrsPacket
super
;
protected
:
virtual
const
char
*
get_class_name
()
{
...
...
@@ -870,8 +843,6 @@ protected:
*/
class
SrsOnStatusCallPacket
:
public
SrsPacket
{
private
:
typedef
SrsPacket
super
;
protected
:
virtual
const
char
*
get_class_name
()
{
...
...
@@ -903,7 +874,6 @@ protected:
class
SrsBandwidthPacket
:
public
SrsPacket
{
private
:
typedef
SrsPacket
super
;
disable_default_copy
(
SrsBandwidthPacket
);
protected
:
virtual
const
char
*
get_class_name
()
...
...
@@ -949,8 +919,6 @@ private:
*/
class
SrsOnStatusDataPacket
:
public
SrsPacket
{
private
:
typedef
SrsPacket
super
;
protected
:
virtual
const
char
*
get_class_name
()
{
...
...
@@ -977,8 +945,6 @@ protected:
*/
class
SrsSampleAccessPacket
:
public
SrsPacket
{
private
:
typedef
SrsPacket
super
;
protected
:
virtual
const
char
*
get_class_name
()
{
...
...
@@ -1007,8 +973,6 @@ protected:
*/
class
SrsOnMetaDataPacket
:
public
SrsPacket
{
private
:
typedef
SrsPacket
super
;
protected
:
virtual
const
char
*
get_class_name
()
{
...
...
@@ -1038,8 +1002,6 @@ protected:
*/
class
SrsSetWindowAckSizePacket
:
public
SrsPacket
{
private
:
typedef
SrsPacket
super
;
protected
:
virtual
const
char
*
get_class_name
()
{
...
...
@@ -1068,8 +1030,6 @@ protected:
*/
class
SrsAcknowledgementPacket
:
public
SrsPacket
{
private
:
typedef
SrsPacket
super
;
protected
:
virtual
const
char
*
get_class_name
()
{
...
...
@@ -1096,8 +1056,6 @@ protected:
*/
class
SrsSetChunkSizePacket
:
public
SrsPacket
{
private
:
typedef
SrsPacket
super
;
protected
:
virtual
const
char
*
get_class_name
()
{
...
...
@@ -1126,8 +1084,6 @@ protected:
*/
class
SrsSetPeerBandwidthPacket
:
public
SrsPacket
{
private
:
typedef
SrsPacket
super
;
protected
:
virtual
const
char
*
get_class_name
()
{
...
...
@@ -1179,8 +1135,6 @@ enum SrcPCUCEventType
*/
class
SrsUserControlPacket
:
public
SrsPacket
{
private
:
typedef
SrsPacket
super
;
protected
:
virtual
const
char
*
get_class_name
()
{
...
...
请
注册
或
登录
后发表评论