CMSampleBufferRef for audio-video for RTMP streaming

I am using iOS libRTMP

to connect to RTMP server. Now my problem is, how can I send audio and video to an RTMP server? I've seen what is CMSampleBufferRef

used to process and send to the server. The data is processed using some flash video, such as metadata.

I tried VideoCore but it fails with the server I am using (Evostream) but works with other servers. Medialibs works, but I need an open source option.

How do we convert CMSampleBufferRef

to a format that RTMP understands?

+3


source to share





All Articles