[Live-devel] Setting KLV codec

Weber, Patrick Patrick.Weber at iecinfrared.com
Thu Mar 10 06:01:22 PST 2022


Good morning!

I'm creating a KLV metadata stream using SimpleRTPSink:

	RTPSink* MetadataSubsession::createNewRTPSink (Groupsock* rtpGroupsock,
		unsigned char rtpPayloadTypeIfDynamic, FramedSource* inputSource)
	{
		return SimpleRTPSink::createNew (
			envir (), 
			rtpGroupsock, 
			rtpPayloadTypeIfDynamic,
			90000, 
			"application", 
			"smpte336m", 
			1,
			false,
			true);
	}

(MetadataSubsession is a subclass of OnDemandServerMediaSubsession)

I would like to set the codec ID to 100356 (for a customer request); is there a way to accomplish this?

Patrick Weber
IEC Infrared
http://www.iecinfrared.com







More information about the live-devel mailing list