medooze / media-server

WebRTC Media Server
GNU General Public License v2.0
1.36k stars 295 forks source link

Add shared buffer payload on RTMPMediaFrames #278

Closed murillo128 closed 7 months ago

murillo128 commented 7 months ago

This PR replaces the internal buffer of the RTMPMediaFrame by a Buffer::shared so we can avoid mem copies when doing RTMPMediaFrame::Clone()