Function: avSdpCreate()
avSdpCreate(
contexts):string|null
Defined in: src/lib/utilities.ts:1281
Create SDP from format contexts.
Creates an SDP (Session Description Protocol) string from format contexts. Used for RTP/RTSP streaming.
Direct mapping to av_sdp_create().
Parameters
contexts
Array of format contexts
Returns
string | null
SDP string, or null on error
Example
typescript
const sdp = avSdpCreate([outputContext]);
if (sdp) {
console.log('SDP:\n' + sdp);
}See
av_sdp_create - FFmpeg Doxygen
