开发者

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 t开发者_如何学Pythonhe 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?


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜