question

Upvotes
Accepted
1 0 1 3

RSSL STATE Message and How do we handle RSSL_STREAM_UNSPECIFIED?

When we receive a UPA RsslStatusMsg (rsslStatusMsg.h) and check if the RsslStatusFlags has RSSL_STMF_HAS_STATE, How do we handle RSSL_STREAM_UNSPECIFIED (eg is this CLOSED or OPEN... will we eventually get an image with updates or just an image saying this is it or we get nothing, etc)?

Also, if the RSSL_STMF_HAS_STATE flag is not present How should we handle this condition?

Using

CentOS Linux release 7.2.1511 (Core) with UPA 7.6.1.L1

elektronelektron-sdkrrteta-apielektron-transport-apirsslstream-state
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Hello @CRJ,

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query? If yes please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,

-AHS

@CRJ

Hi,

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,

AHS

1 Answer

· Write an Answer
Upvotes
Accepted
32.2k 40 11 20

Hello @CRJ,

RSSL_STREAM_UNSPECIFIED does not require processing.

It is issued during structure initialization, and is a transient state.

It can be followed by valid Image and updates, but there can be other scenarios,

such as RSSL_STREAM_CLOSED, those will need to be processed by a consumer app.

A good read on the states to process is the doc group__RsslStateType.html, found

with UPA SDK.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.