Donal Rafferty
Donal Rafferty

Reputation: 19826

Convert SDP data from byte[] into Object?

I am currently sending and receiving SIP messages across a network.

When I want to add SDP data to a SIP message I use the SessionDescription object in jrtp.

This object is then added to the SIP message.

But when I get a SIP message from the server its SDP is in a byte[] array.

So I'm wondering is there anyway to convert the byte[] back into a SessionDescription object so I can use the SessionDescription object's methods to parse the data?

Upvotes: 1

Views: 563

Answers (1)

giri
giri

Reputation: 27229

I think you can use Byte[] wrapper class of byte.

Upvotes: 1

Related Questions