I apologize for beeing so unprecise...
Our logicEngine (at the moment only integrated part of Vistool) can connect (multiple) EmberProvider. It is using the libember_slim
I ran into the problem that some of the providers offer SDP-files (see RTSP) for RAVENNA Streams that MAY exceed 1k. (And YES it is a normal EmberParameter with a value of type "utf-8") (normally they are about 512 byte, by the way)
Unfortunately I encountered an abnormal Program Termination caused by libember_slim (throwError(303, "BerMemoryOutput capacity exceeded");)
see (ember.c line 170ff) : void ember_writeString(BerOutput *pOut, const BerTag *pTag, pcstr pValue)
and (berio.c line 64ff.) : static void berMemoryOutput_writeBytes(BerOutput *pBase, const byte *pBytes, int count)
Second: In the current implementation the caller has to know how big the packages will be (AFTER S101 encoding); for there is no chance to change the FIRST_PACKAGE/LAST_PACKAGE bits in the Ember-Header. You have to know that in advance.
My post was more an information than a request.
I will now start to remove the integrated S101 encoding;for it is not useful.
In order to build conform packages (that will not exceed 1024 byte of unpacked S101 data) it is important to have the buffer in raw-form and add the Ember-header when you finally encode it using S101
And yes. when you build a provider, libember_slim is a good choice. You know exactl what you are sending and how big the stuff is.
But as a consumer you do not have a clue of incoming data.