Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Former-commit-id: 4dcdd5845c90c1e3e14a1805e5c6ff308c4a2d0c [formerly 950068f0fc0c8edeb553a8f098a928130128923c] [formerly e34a515d3046f9f09c367a3b583ed747e541ba3f [formerly 0f6f971]]
Former-commit-id: 5c12307704b0343793b1bf15055a3401e978c0a0 [formerly 7c1de422562428c024542084ca2d94baa5dc74d9]
Former-commit-id: 079189ffab852b4ef4c397961b757fa4c8bf03c4
  • Loading branch information
notedit committed Jun 24, 2019
1 parent 3acd2b2 commit 6d66818
Show file tree
Hide file tree
Showing 3 changed files with 1,463 additions and 1,461 deletions.
3 changes: 2 additions & 1 deletion wrapper/mediaserver.i
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ public:
GetIncomingSourceGroup()->Start();
}
virtual ~RTPSessionFacade() = default;

virtual int Enqueue(const RTPPacket::shared& packet) { return SendPacket(packet); }
virtual int Enqueue(const RTPPacket::shared& packet,std::function<RTPPacket::shared(const RTPPacket::shared&)> modifier) { return SendPacket(modifier(packet)); }
virtual int SendPLI(DWORD ssrc) { return RequestFPU();}
Expand Down Expand Up @@ -415,7 +416,7 @@ public:
auto packet = std::make_shared<RTPPacket>(mediatype,codec,header,extension);

//Set the payload
packet->SetPayload(data+ini,size-ini);
//packet->SetPayload(data+ini,size-ini);

//Get sec number
WORD seq = packet->GetSeqNum();
Expand Down
Loading

0 comments on commit 6d66818

Please sign in to comment.