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.
精彩评论